[FFmpeg-trac] #5212(ffmpeg:open): Can't seek while using -re and -ss at the same time

FFmpeg trac at avcodec.org
Sun Feb 7 00:47:19 CET 2016


#5212: Can't seek while using -re and -ss at the same time
------------------------------------+----------------------------------
             Reporter:  groove      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by groove):

 Have you tried with the ''-copyts'' argument also?

 {{{
 $ time ffmpeg -re -ss 10 -i test.mkv -c:v copy -c:a copy -copyts new.mkv
 ffmpeg version N-78257-gdd57b31 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.9.2 (Debian 4.9.2-10)
   configuration: --prefix=/opt/ffmpeg --enable-libx264 --enable-libvorbis
 --enable-libssh --enable-libfdk-aac --enable-libmp3lame --enable-libxvid
 --enable-libvpx --enable-openssl --enable-gpl --enable-nonfree
   libavutil      55. 17.100 / 55. 17.100
   libavcodec     57. 24.101 / 57. 24.101
   libavformat    57. 24.100 / 57. 24.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 28.100 /  6. 28.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, matroska,webm, from 'test.mkv':
   Metadata:
     ENCODER         : Lavf57.24.100
   Duration: 00:00:15.10, start: 0.000000, bitrate: 11552 kb/s
     Chapter #0:0: start 0.000000, end 5.463000
     Chapter #0:1: start 5.463000, end 15.000000
     Stream #0:0: Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5,
 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Metadata:
       DURATION        : 00:00:15.098000000
     Stream #0:1: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
 (default)
     Metadata:
       DURATION        : 00:00:15.006000000
 Output #0, matroska, to 'new.mkv':
   Metadata:
     encoder         : Lavf57.24.100
     Chapter #0:0: start 0.000000, end 5.463000
     Chapter #0:1: start 5.463000, end 15.000000
     Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x800 [SAR
 1:1 DAR 12:5], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       DURATION        : 00:00:15.098000000
     Stream #0:1: Audio: dts (DTS) ([1] [0][0] / 0x2001), 48000 Hz,
 5.1(side), 1536 kb/s (default)
     Metadata:
       DURATION        : 00:00:15.006000000
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame=  148 fps=9.9 q=-1.0 Lsize=    8895kB time=00:00:14.99
 bitrate=4859.1kbits/s speed=   1x
 video:7755kB audio:1134kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: 0.069336%

 real    0m15.053s
 user    0m0.072s
 sys     0m0.036s
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5212#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list