[FFmpeg-trac] #4696(ffmpeg:new): Duration with -t before -i is actually value of -t plus value of -ss
FFmpeg
trac at avcodec.org
Sat Jul 4 19:48:03 CEST 2015
#4696: Duration with -t before -i is actually value of -t plus value of -ss
---------------------------------+----------------------------------
Reporter: Piscium | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: 2.4.10 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+----------------------------------
Comment (by Piscium):
OK, I managed to build the git head of ffmpeg. It was easy. I used build
configuration options as close as I possible to the version where I found
the bug.
How do I run the git version that I built without installing it. Is there
a way?
Anyway, I just called ffmpeg from the directory where I built the git head
and got the same results, i. e., the bug is still there. However I am not
sure I picked up the freshly built libraries, I may have picked up the old
libraries that are installed in /usr/lib64.
-------------------------------------------------
$ ./ffmpeg -y -ss 10 -t 20 -i in.m4a -acodec copy -flags global_header
out.m4a
./ffmpeg: /usr/lib64/nvidia-304xx/libOpenCL.so.1: no version information
available (required by ./ffmpeg)
./ffmpeg: /usr/lib64/nvidia-304xx/libOpenCL.so.1: no version information
available (required by /lib64/libavfilter.so.5)
./ffmpeg: /usr/lib64/nvidia-304xx/libOpenCL.so.1: no version information
available (required by /lib64/libavutil.so.54)
ffmpeg version N-73411-g5233f25 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC) 20150212 (Red Hat 4.9.2-6)
configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-
avresample --enable-postproc --enable-pthreads --disable-static --enable-
shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib64 --enable-runtime-cpudetect
WARNING: library configuration mismatch
avutil configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
avcodec configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
avformat configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
avdevice configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
avfilter configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
avresample configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
swscale configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
swresample configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
postproc configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
--enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-
libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl
--enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-
avfilter --enable-avresample --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug --disable-
stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 28.100 / 54. 7.100
libavcodec 56. 46.101 / 56. 1.100
libavformat 56. 40.100 / 56. 4.101
libavdevice 56. 4.100 / 56. 0.100
libavfilter 5. 20.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 0.100
libswresample 1. 2.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.m4a':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6mp41
creation_time : 2014-01-25 16:58:44
Duration: 00:02:40.08, start: 0.000000, bitrate: 255 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 253 kb/s (default)
Metadata:
creation_time : 2014-01-25 16:58:44
handler_name : SoundHandler
Output #0, ipod, to 'out.m4a':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6mp41
encoder : Lavf56.4.101
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
253 kb/s (default)
Metadata:
creation_time : 2014-01-25 16:58:44
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 935kB time=00:00:30.00 bitrate= 255.3kbits/s
video:0kB audio:929kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.620911%
[tojai at tornado ffmpeg]$
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4696#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list