[FFmpeg-trac] #2746(undetermined:new): Incorrect -to arg working
FFmpeg
trac at avcodec.org
Wed Jul 3 17:04:32 CEST 2013
#2746: Incorrect -to arg working
-------------------------------------+-------------------------------------
Reporter: aivus | Type: defect
Status: new | Priority: important
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I don't know, it bug in -to argument or in documentation.
But if follow documentation, -to should stop writing on position, but it
work as duration.
For example:
I want cut fragment from 10 to 20 sec.
{{{
ffmpeg -report -ss 10 -i "video\\orig_51d32ada7179a5.91859583.avi" -to 20
test.gif
}}}
cutting from 10 to 30 sec
{{{
‘-to position (output)’
Stop writing the output at position. position may be a number in seconds,
or in hh:mm:ss[.xxx] form.
}}}
{{{
ffmpeg -version
ffmpeg version N-54362-ge0be3cb
built on Jul 2 2013 22:15:59 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avis
ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable
-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
libfreetype
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enabl
e-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-lib
opus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-
libspee
x --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
libvo-am
rwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
libxavs --en
able-libxvid --enable-zlib
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.100 / 55. 18.100
libavformat 55. 11.100 / 55. 11.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2746>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list