Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-13-2014, 08:06 AM
erhan_1498 erhan_1498 is offline
Junior Member
 
Join Date: May 2014
Posts: 2
erhan_1498 is on a distinguished road
Default

if url have special character ,I can't download video with rtmpdump


Hi ,

if url have special character , I can't download video on cmd.
for example if url have : ü ,ö ,ı .... I can't download


rtmpdump -r "rtmpe://videodersane.uzaktanegitim.gen.tr/vod/" -W "http://videodersane.uzaktanegitim.gen.tr/Content/swf/StrobeMediaPlayback.swf" -y "mp4:video_ders_2013/sorucözümü/gygk/türkce/01.mp4" -o "C:\Users\erhan\Desktop\sorucozum\1.mp4"


I am unsuccessful . I can't download video . How I can solve. thank you .
Reply With Quote
  #2  
Old 05-13-2014, 10:04 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: if url have special character ,I can't download video with rtmpdump


it's possible to pass such characters by url encoding them. try following command with this version of rtmpdump. in debug log you can see it's sending correct playpath. although there seems to be another problem with your command line may be missing page url or auth code etc.

Code:
rtmpdump -V -r "rtmpe://videodersane.uzaktanegitim.gen.tr/vod//mp4:video_ders_2013/soruc%F6z%FCm%FC/gygk/t%FCrkce/01.mp4" -W "http://videodersane.uzaktanegitim.gen.tr/Content/swf/StrobeMediaPlayback.swf" -o Test.flv
Code:
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:video_ders_2013/sorucözümü/gygk/türkce/01.mp4
DEBUG: Invoking play
Reply With Quote
  #3  
Old 05-13-2014, 11:09 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: if url have special character ,I can't download video with rtmpdump


Quote:
Originally Posted by KSV View Post
it's possible to pass such characters by url encoding them.
@KSV
Hi
This problem shows up with Windows "cmd", it's OK with Linux.
Please see this other post here ---> ___http://forum.videohelp.com/threads/364514-Can-someone-help-rtmpdump
Reply With Quote
  #4  
Old 05-13-2014, 11:53 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: if url have special character ,I can't download video with rtmpdump


@bat999

That seems weird. actually above command encodes palypath properly as can be seen in wireshark dump. can you share your dump after changing rtmpe to rtmp?
Reply With Quote
  #5  
Old 05-13-2014, 12:03 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: if url have special character ,I can't download video with rtmpdump


Quote:
Originally Posted by KSV View Post
...can you share your dump after changing rtmpe to rtmp?
Need more information.
What command to use with Linux?
Reply With Quote
  #6  
Old 05-13-2014, 12:04 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: if url have special character ,I can't download video with rtmpdump


Wireshark dump with same command you posted on other site.

Code:
rtmpdump -r "rtmp://videodersane.uzaktanegitim.gen.tr/vod/" -W "http://videodersane.uzaktanegitim.gen.tr/Content/swf/StrobeMediaPlayback.swf" -y "mp4:Video_Ders_2014/KPSS/gygk/3grup(Gündüz)/Vatandaslik/00.mp4" -o foo.flv
Reply With Quote
  #7  
Old 05-13-2014, 12:12 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: if url have special character ,I can't download video with rtmpdump


Quote:
Originally Posted by KSV View Post
Wireshark...
No, it's not installed on this machine.
Reply With Quote
  #8  
Old 05-23-2014, 10:30 AM
nullacht nullacht is offline
Senior Member
 
Join Date: Jan 2010
Posts: 230
nullacht will become famous soon enoughnullacht will become famous soon enough
Default

Re: if url have special character ,I can't download video with rtmpdump


Quote:
Originally Posted by KSV View Post

[...] in debug log you can see it's sending correct playpath [...]

Code:
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:video_ders_2013/sorucözümü/gygk/türkce/01.mp4
DEBUG: Invoking play
No. A correct command line would look like this:



There is also no need to use RTMP Encryption and SWF Verification to download these videos.

Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              7946.20
INFO:   moovPosition          36.00
INFO:   width                 1024.00
INFO:   height                768.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              31.00
INFO:   aacaot                2.00
INFO:   videoframerate        14.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                119377990.00
INFO:   timescale             15000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                351837422.00
INFO:   timescale             44100.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
237918.388 kB / 7946.17 sec (99.9%)
Download complete
Reply With Quote
  #9  
Old 05-23-2014, 12:08 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: if url have special character ,I can't download video with rtmpdump


Actually server was expecting UTF-8 encoded vales for those characters instead of ASCII values. OP didn't provided actual stream page url to test with. the following command will work correctly with properly encoded characters.

ASCII => UTF-8
FC => C3 BC
F6 => C3 B6

Code:
rtmpdump -r "rtmpe://videodersane.uzaktanegitim.gen.tr/vod//mp4:video_ders_2013/soruc%C3%B6z%C3%BCm%C3%BC/gygk/t%C3%BCrkce/01.mp4" -W "http://videodersane.uzaktanegitim.gen.tr/Content/swf/StrobeMediaPlayback.swf" -o Test.flv
Code:
RTMPDump v2.4 GIT-2014-03-02 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration                7946.20
INFO:   moovPosition            36.00
INFO:   width                   1024.00
INFO:   height                  768.00
INFO:   videocodecid            avc1
INFO:   audiocodecid            mp4a
INFO:   avcprofile              100.00
INFO:   avclevel                31.00
INFO:   aacaot                  2.00
INFO:   videoframerate          14.98
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           2.00
INFO: trackinfo:
INFO:   length                  119377990.00
INFO:   timescale               15000.00
INFO:   language                eng
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   length                  351837422.00
INFO:   timescale               44100.00
INFO:   language                eng
INFO: sampledescription:
INFO:   sampletype              mp4a
256.554 kB / 8.07 sec (0.1%)
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:48 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons