[FFmpeg-trac] #5719(ffmpeg:new): Using -stream_loop is wrong duration output
FFmpeg
trac at avcodec.org
Sun Jul 24 15:34:51 EEST 2016
#5719: Using -stream_loop is wrong duration output
------------------------------------+----------------------------------
Reporter: nicol | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by nicol):
Replying to [comment:4 cehoyos]:
>> Yes, sample video is 25 frames, 1 second. Then use `-stream_loop 1`,
>> output video is 50 frames(with movie), 2 seconds.
> This is the intended behaviour, no?
Yes, this is the intended behaviour(1 + 1*1 = 2 seconds).
Replying to [comment:5 mulvya]:
> I just noticed, the jump is related to the video framerate. If the rate
is
> X fps, the timestamps jump is X seconds at the joints.
I confirmed. This is right. 1+1*1+60(fps) = 62 seconds
{{{
ffmpeg -f lavfi -i testsrc2=d=1:r=60 -f lavfi -i
anullsrc=r=48000:cl=stereo -shortest -vcodec libx264 -acodec aac
sample60.mkv -y`
ffmpeg.exe -v 9 -loglevel 99 -stream_loop 1 -i sample60.mkv -c copy
sample-c-copy60.mp4 -y
frame= 120 fps=0.0 q=-1.0 Lsize= 106kB time=00:01:02.02
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5719#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list