[FFmpeg-trac] #4096(ffmpeg:new): FFmpeg Unable to Restream to -f tee mux some streams

FFmpeg trac at avcodec.org
Sat Nov 8 23:43:06 CET 2014


#4096: FFmpeg Unable to Restream to -f tee mux some streams
------------------------------------+----------------------------------
             Reporter:  BlackDream  |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by BlackDream):

 {{{
 root at test:~/ffmpeg-git-20141108-64bit-static# ./ffmpeg -i
 "buggy_tee_mux.ts" -codec copy -f tee -map 0 "[f=mpegts]something.ts"
 ffmpeg version N-41954-g2b14593-   http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2014 the FFmpeg developers
   built on Nov  8 2014 01:22:18 with gcc 4.8 (Debian 4.8.3-13)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-
 libass --enable-gnutls --cc=gcc-4.8
   libavutil      54. 11.100 / 54. 11.100
   libavcodec     56. 12.100 / 56. 12.100
   libavformat    56. 12.103 / 56. 12.103
   libavdevice    56.  2.100 / 56.  2.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [h264 @ 0x3c76640] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x3c76640] decode_slice_header error
 [h264 @ 0x3c76640] no frame!
 [mpegts @ 0x3c72880] PES packet size mismatch
     Last message repeated 1 times
 Input #0, mpegts, from 'buggy_tee_mux.ts':
   Duration: 00:00:11.36, start: 83041.460678, bitrate: 1444 kb/s
   Program 1
     Stream #0:0[0x44]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p(tv), 720x576 [SAR 1:1 DAR 5:4], 30 tbr, 90k tbn, 60 tbc
     Stream #0:1[0x45]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz,
 stereo, fltp, 123 kb/s
 Output #0, tee, to '[f=mpegts]something.ts':
   Metadata:
     encoder         : Lavf56.12.103
     Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576
 [SAR 1:1 DAR 5:4], q=2-31, 30 tbn, 30 tbc
     Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo,
 123 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x3c59e00] pts (0) < dts (273000) in stream 0
 av_interleaved_write_frame(): Invalid argument
 frame=    3 fps=0.0 q=-1.0 Lsize=N/A time=00:00:03.08 bitrate=N/A
 video:49kB audio:49kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Conversion failed!

 }}}

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


More information about the FFmpeg-trac mailing list