jussike <[email protected]> added the comment:

When I try to remux H.264/AC3 matroska to MPEGTS, I get following error. 
Without -ss switch it works fine.


$ ffmpeg -ss 10 -i test-remux.mkv -vbsf h264_mp4toannexb -acodec copy -
vcodec copy -f mpegts - >/dev/null

FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Feb 10 2011 14:39:59 with gcc 4.4.3
  configuration: --prefix=/usr --enable-avfilter --enable-vdpau --
enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex 
--enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --
disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-
postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-
shared --disable-static --enable-libmp3lame --enable-libvpx
  WARNING: library configuration mismatch
  postproc    configuration: --extra-version='4:0.6.1-5u1~ppa1' --
prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --
enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex 
--enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --
enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-
vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab -
-enable-libdc1394 --enable-shared --disable-static
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[matroska,webm @ 0x696510] Estimating duration from bitrate, this may be 
inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 59.94 
(60000/1001) -> 29.92 (359/12)
Input #0, matroska,webm, from 'test-remux.mkv':
  Duration: 00:43:30.40, start: 0.000000, bitrate: 384 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 
29.97 fps, 29.92 tbr, 1k tbn, 59.94 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
[mpegts @ 0x6abc80] muxrate VBR, pcr every 100 pkts, sdt every 200, 
pat/pmt every 40 pkts
Output #0, mpegts, to 'pipe:':
  Metadata:
    encoder         : Lavf52.93.0
    Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 1280x720 
[PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 1k tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, 384 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpegts @ 0x6abc80] pts < dts in stream 0
av_interleaved_write_frame(): Operation not permitted

----------
nosy: +jussike

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue807>
________________________________________________

Reply via email to