Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

rtmpdump restart loop

(http://stream-recorder.com/forum/showthread.php?t=17086)

filippo.rosa 03-03-2014 03:54 AM

rtmpdump restart loop


 
rtmpdump always starts downloading again from scratch after some time.
Is there a way to get an autoresume on rtmpdump to prevent the restart loop?
or at the most to ensure that the program will stop instead of start again downloading.

filippo.rosa 03-03-2014 04:26 AM

Re: rtmpdump restart loop


 
with live option once rtmpdump had finished, the file did not come properly: there are frequent still images. While the audio goes, the video remain locked at the same frame every X time. :(

filippo.rosa 03-03-2014 04:42 AM

Re: rtmpdump restart loop


 
I have tried with the movie in this page:
http://cinema.popcorntv.it/video/?cid=11169
with this command:
Code:

rtmpdump -r "rtmp://wos.cr1.streamzilla.xlcdn.com/vod/_definst_/" -W "http://home.popcorntv.it/swf/flowplayer.commercial.swf" -p "http://home.popcorntv.it" -y "sz/deltapictures/cinema/FHelvira/FHelvira_800.mp4?token=8fhfiefbwi2c35aa3300336875d361c4d7&time=53de5f9" -o helvira

filippo.rosa 03-03-2014 05:32 AM

Re: rtmpdump restart loop


 
mmmmh....
probably times out.
must refresh smil parameters:
Code:

url: escape("http://rrr.sz.xlcdn.com/?account=deltapictures&file=cinema/FHelvira/FHelvira_800.mp4&type=streaming&service=wowza&output=smil")
but I got same behavior with all videos...

birillo 03-04-2014 02:58 PM

Re: rtmpdump restart loop


 
Code:

rtmpdump -r "rtmp://wos.cr1.streamzilla.xlcdn.com/vod/_definst_/" -W "http://home.popcorntv.it/swf/flowplayer.commercial.swf" -p "http://cinema.popcorntv.it/video/?cid=11169" -y "sz/deltapictures/cinema/FHelvira/FHelvira_800.mp4?token=33e92076930911f657e81cc55e7c95d1&time=531666eb" -o helvira.mp4
working for me :D

ciao

ps: che brutto film

filippo.rosa 03-05-2014 08:11 AM

Re: rtmpdump restart loop


 
no way.
wrong for me. Rtmpdump jumps backwards.
also with realtime option I have video issue.

ps: talmente brutto che anche il programma si rifiuta di farmelo vedere ;)

filippo.rosa 03-11-2014 04:24 AM

my solution


 
I don't know why Hasomaso has deleted his posts, does not matter.
The issue I had is well known:
http://stream-recorder.com/forum/rtm...ng-t11148.html
but with -live option my video freezes:
http://stream-recorder.com/forum/pic...za-t16265.html
Unfortunately after adding -R the result is the same. Probably due to my slow connection.
So the problem is the RTMP_LF_BUFX hack. To solve this issue I downloaded rtmpdump version 2.1 that comes without hack.
Now I can download video with a low timeout:
http://stream-recorder.com/forum/rtm...aks-t7112.html
Code:

/rtmpdump-2.1 $ ./rtmpdump -m 15 -r "rtmp://wos.cr1.streamzilla.xlcdn.com/vod/_definst_/" -y "sz/deltapictures/cinema/FHelvira/FHelvira_800.mp4?token=33e92076930911f657e81cc55e7c95d1&time=531666eb" -o helvira.mp4
In this way, however, the video "jumps backwards" every now and then:
http://lists.mplayerhq.hu/pipermail/...il/001936.html
http://lists.mplayerhq.hu/pipermail/...ay/001947.html
So the last step I had to do was to fix the video.
In my case I used avconv:
Code:

/rtmpdump-2.1 $ avconv -i helvira.mp4 -qscale 1 -copyts -async 1 -r 25 helvira_fix.mp4
That's all.

hasomaso 03-11-2014 05:19 PM

Re: rtmpdump restart loop


 
hi mate,

i have not deleted my post!!! i think that was a Mod.
i dont know why?

or you can try with

Code:

--tcUrl "rtmp://wos.cr1.streamzilla.xlcdn.com/vod/_definst_/" -R --buffer 2000

filippo.rosa 03-12-2014 07:25 AM

Re: rtmpdump restart loop


 
ah, ok.
So sorry for what I said.
Unfortunately, even with '--tcUrl' and '-R --buffer 2000' the final video is out of sync and freezes.

filippo.rosa 03-16-2014 05:04 AM

Re: rtmpdump restart loop


 
@birillo:
what operating system do you use?


All times are GMT -6. The time now is 03:46 AM.