[FFmpeg-user] how to turn off loop?

Spencer Graves spencer.graves at prodsyse.com
Wed Mar 12 22:22:24 CET 2014


Hello:


       How can I stop an ffmpeg output file from looping?


       With help from this list, I produced a 1-second video from the 
attached mp2 and png files using "ffmpeg -y -r 1 -i tst.mp2 -r 2 -i 
tst%d.png -b 300k tst.mp4".  Unfortunately, the output restarts each 
time after it finishes.  "http://ffmpeg.org/ffmpeg.html" suggests that 
"-loop_output 1" should tell it to loop the output only once. However, 
when I try that, I get "Unrecognized option 'loop_output'. Error 
splitting the argument list: Option not found".  See below.


       Suggestions?


       Thanks,
       Spencer


p.s.  This is running Windows 7 Home Edition (x64) on a Fujitsu Lifebok 
AH531 notebook with an Intel i5-2410M CPU @ 2.30 GHz, 8 GB RAM, and 280 
GB free space on the hard drive.


 >ffmpeg -y -r 1 -i tst.mp2 -r 2 -i tst%d.png -b 300k -loop_output 1 tst.mp4
ffmpeg version N-61163-gd1122b7 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Mar  7 2014 22:01:29 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca 
--enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug 
--enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr 
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx 
--enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid 
--enable
-zlib
   libavutil      52. 66.101 / 52. 66.101
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 33.101 / 55. 33.101
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
Unrecognized option 'loop_output'.
Error splitting the argument list: Option not found

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst.mp2
Type: audio/mpeg
Size: 18416 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140312/c99353eb/attachment.mp2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst1.png
Type: image/png
Size: 2056 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140312/c99353eb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst2.png
Type: image/png
Size: 3133 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140312/c99353eb/attachment-0001.png>


More information about the ffmpeg-user mailing list