[FFmpeg-user] Does the fast and accurate seeking work on rtmps streams ( used for resuming download ) ?

Renato Santos renato.cron at gmail.com
Wed Mar 12 04:08:41 CET 2014


Can't you use segment output format and do a "never end" recoding process
that write a lot of precise duration files?

The only thing is,, if you output in (dot)ts you may lose some frames, but
if you re_encode in something again (and force Keyframes) You can split the
stream easy
On Mar 12, 2014 12:05 AM, "Han Jiang" <oglops at gmail.com> wrote:

> hi all i'm downloading some long videos from a rtmps url, it works
> perfectly but when network hiccups , download stopped before it finishes,
> basically i want to check the already downloaded unfinished .mp4 video
> length via ffprobe,  then pass -ss to the ffmpeg command line as the
> wiki<
> http://trac.ffmpeg.org/wiki/Seeking%20with%20FFmpeg#Fastandaccurateseeking
> >suggested.
> save another file, at last concatenate these files.
>
> the problem is the fast and accurate seeking seems not working . i used the
> latest windows static 64bit build from
> zeranoe<http://ffmpeg.zeranoe.com/builds/>
>
> fast seeking seems working : ( download starts immediately , seeking is
> indeed "fast")
>
> ffmpeg -ss 00:30:00 -i "rtmps://xxx option=xxx" out.mp4
>
>
> accurate seeking seems working too: ( download only start after 30min ,
> it's slow )
>
> ffmpeg -i "rtmps://xxx option=xxx" -ss 00:30:00 out.mp4
>
>
>
> but the hybrid fast and accurate seeking is not working
>
> ffmpeg -ss 00:29:00 -i "rtmps://xxx option=xxx" -ss 00:01:00 out.mp4
>
> This is suggested by the wiki page, but it seems has no effect
> (download still starts after 29min or 30min)
>
> am i missing something ?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list