View Single Post
  #4  
Old 09-16-2012, 04:55 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Help getting greek channel to work with rtmpdump


Quote:
Originally Posted by KSV View Post
Though the trick posted by karlo (adding mp4: to playpath) works for the time being but it wasn't the actual reason of breakage. if you monitor it with wireshark you will see that it's still using the old playpath (without mp4:) but it has added two non-ASCII characters at the end (CRLF = \x0D\x0A = \r\n) which are newline characters. AFAIK it's not possible to pass on those characters as command line arguments because windows cmd shell treats everything separated by newline as separate command.
Like this

Code:
$ rtmpdump -r rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-sigma-h
sslive-25f-4x3-SDh$'\r' -o out.flv
RTMPDump v2.4-39-g0d1cfdd
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   audiocodecid          mp4a
INFO:   videocodecid          avc1
INFO:   width                 426.00
INFO:   height                320.00
INFO:   frameWidth            432.00
INFO:   frameHeight           320.00
INFO:   displayWidth          426.00
INFO:   displayHeight         320.00
INFO:   framerate             25.00
INFO: trackinfo:
INFO:   timescale             0.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype
INFO:   type                  audio
INFO:   config                1210
INFO:   description           {AACFrame: codec:AAC, channels:2, frequency:44100,
 samplesPerFrame:1024, objectType:LC}
INFO:   timescale             0.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype
INFO:   type                  video
INFO:   profile-level-id      42801f
INFO:   sprop-parameter-sets  Z0KAH5ZTg2FN/4AoACi1BQUFQAAAAwBAAAAMuAgAJJ8AAST5mc
8DtCxc8A==,aMmMNSA=
INFO:   description           {H264CodecConfigInfo: codec:H264, profile:Baseline
, level:3.1, frameSize:432x320, displaySize:426x320, frameRate:25.0, PAR:80:81}
INFO: rtpsessioninfo:
INFO:   connectiondata        IN IP4 226.45.20.66
INFO:   name                  WowzaMediaServer
INFO:   origin                - -500117104 -500117104 IN IP4 127.0.0.1
INFO:   timing                0 0
INFO:   protocolversion       0
INFO: attributes:
INFO:   range                 npt=now-
1040.726 kB / 13.19 sec
Reply With Quote