Opened 12 years ago
Closed 8 years ago
#2584 closed enhancement (fixed)
Allow video loop on file protocol @ ffmpeg
Reported by: | Bernardo | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | ffmpeg |
Version: | git-master | Keywords: | loop |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
On ffmpeg, the "-loop" input option currently only works for image2 format and not for videos using the file protocol.
This is somewhat surprising once ffplay can loop over a video file with the "-loop" option. Also, the "concat" demuxer should allow this behavior without much work.
The expected usage should be the same as ffplay (the amount of loops, being 0 == infinite) and not like image2 (true/false).
$ ffmpeg -loop 10 -i input.avi ... output
The "movie" filter could also take advantage of that feature.
Change History (2)
comment:1 by , 12 years ago
Component: | FFmpeg → avformat |
---|
comment:2 by , 8 years ago
Component: | avformat → ffmpeg |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Option
-stream_loop
forffmpeg
exists since dbb03b8e, implemented by Alexandra Hájková.