Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#537 closed defect (fixed)

Starting with 0.8.5 I Can no more convert from ts to mkv

Reported by: EricV Owned by:
Priority: normal Component: undetermined
Version: 0.8.5 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Could not write header for output file #0 (incorrect codec parameters ?)

Attachments (1)

test3.ts (183.6 KB ) - added by EricV 13 years ago.
Input file

Download all attachments as: .zip

Change History (16)

by EricV, 13 years ago

Attachment: test3.ts added

Input file

comment:1 by EricV, 13 years ago

Command used

ffmpeg -map 0.0 -map 0.1 -i /tmp/test3.ts -vcodec copy -acodec copy -acodec copy -sn -f matroska /tmp/test3.mkv

Error:
Could not write header for output file #0 (incorrect codec parameters ?)

comment:2 by reimar, 13 years ago

That command-line causes errors in latest git. -map must come after -i, and also at some point it seems it was changed to be 0:0 instead of 0.0 etc.

comment:3 by EricV, 13 years ago

ffmpeg -i /tmp/test3.ts -map 0:0 -map 0:1 -vcodec copy -acodec copy -acodec copy -sn -f matroska /tmp/test3.mkv

Same error.

Could not write header for output file #0 (incorrect codec parameters ?)

comment:4 by EricV, 13 years ago

Note that I truncated the file a lot as the error still appens. With the complete ts recording I get with the real command:

ffmpeg -i /multimedia/Video/France-2-HD-Peuple-des-océans.2011-09-11.ts -map 0:0 -map 0:1 -map 0:2 -vcodec copy -acodec copy -sn -f matroska /tmp/test3.mkv -acodec copy -newaudio

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from '/multimedia/Video/France-2-HD-Peuple-des-océans.2011-09-11.ts':

Duration: 01:16:59.64, start: 91656.627522, bitrate: 7958 kb/s
Program 1

Stream #0.0[0xdc]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 31.53 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0xe6](fra): Audio: eac3, 48000 Hz, stereo, s16, 128 kb/s
Stream #0.2[0xe7](qaa): Audio: eac3, 48000 Hz, 5.1, s16, 256 kb/s
Stream #0.3[0xf0](fra): Subtitle: dvbsub

File '/tmp/test3.mkv' already exists. Overwrite ? [y/N] y
[matroska @ 0x65a5e0] Tag [6][0][0][0]/0x00000006 incompatible with output codec id '86059'
Output #0, matroska, to '/tmp/test3.mkv':

Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 25 tbc
Stream #0.1(fra): Audio: eac3, 48000 Hz, stereo, 128 kb/s
Stream #0.2(qaa): Audio: eac3, 48000 Hz, 5.1, 256 kb/s

Stream mapping:

Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #0.2 -> #0.2

Could not write header for output file #0 (incorrect codec parameters ?)

comment:5 by Carl Eugen Hoyos, 13 years ago

Resolution: duplicate
Status: newclosed
Version: unspecified0.8.4

Duplicate of ticket #8, now fixed in git head and the next releases.

comment:6 by EricV, 13 years ago

Version is not 0.8.4 but 0.8.5 as title says. And for bug 8, the initial bug I reported was indeed for EAC3 support but then when trying with the sample provided you already had been able to see it.

comment:7 by Carl Eugen Hoyos, 13 years ago

Version: 0.8.40.8.5

comment:8 by EricV, 13 years ago

Tried with git today (ffmpeg version N-33635-g91eb1b1): same error => not fixed

Last edited 13 years ago by EricV (previous) (diff)

comment:9 by EricV, 13 years ago

I'm confused. The sample provided does not work. I have other that work???
Do you want a working sample?

comment:10 by Carl Eugen Hoyos, 13 years ago

Please provide your command line and complete, uncut console output.

comment:11 by EricV, 13 years ago

Resolution: duplicate
Status: closedreopened

NB the bug attached sample is just the very beginning of the file...

ffmpeg -i /multimedia/Video/France-2-HD-Peuple-des-océans.2011-09-11.ts -map 0:0 -map 0:1 -vcodec copy -acodec copy -acodec copy -sn -f matroska /tmp/test3.mkv
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers

built on Oct 3 2011 07:31:51 with gcc 4.6.1
configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable-libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS referenced
[h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] non-existing PPS 0 referenced
[h264 @ 0x63b260] decode_slice_header error
[h264 @ 0x63b260] no frame!
[mpegts @ 0x635c20] max_analyze_duration 5000000 reached at 5024000

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from '/multimedia/Video/France-2-HD-Peuple-des-océans.2011-09-11.ts':

Duration: 01:16:59.64, start: 91656.627522, bitrate: 7958 kb/s
Program 1

Stream #0.0[0xdc]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 31.53 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0xe6](fra): Audio: eac3, 48000 Hz, stereo, s16, 128 kb/s
Stream #0.2[0xe7](qaa): Audio: eac3, 48000 Hz, 5.1, s16, 256 kb/s
Stream #0.3[0xf0](fra): Subtitle: dvbsub

File '/tmp/test3.mkv' already exists. Overwrite ? [y/N] y
[matroska @ 0x65a5e0] Tag [6][0][0][0]/0x00000006 incompatible with output codec id '86059'
Output #0, matroska, to '/tmp/test3.mkv':

Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 25 tbc
Stream #0.1(fra): Audio: eac3, 48000 Hz, stereo, 128 kb/s

Stream mapping:

Stream #0.0 -> #0.0
Stream #0.1 -> #0.1

Could not write header for output file #0 (incorrect codec parameters ?)
valette@tri-yann3:/multimedia/Video$

in reply to:  11 comment:12 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: reopenedclosed

Replying to EricV:

ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers

I had already tried to explain here that this is fixed in:

  • current git head (for several weeks)
  • the next future release(s)

It is neither fixed in 0.8.5 nor in 0.7.6.

Please reopen if you can reproduce the problem with current git head master or current branch oldabi or branches release/0.7 or release/0.8

comment:13 by EricV, 13 years ago

Look. I'm home now. I tried git today at work and got the exact same result while you said its fixed. I'm not going to recompile from git, mess with my actual binary packages just for the same result.

Is your git version working on the sample. Mine did not.

comment:14 by Carl Eugen Hoyos, 13 years ago

Please post command line and complete, uncut output.
(you don't have to mess with your installed version, just run from the build directory, I never install)

comment:15 by EricV, 13 years ago

After fighting with debian opencv installation missing links, adding LD_LIBRARY_PATH to get the right libraries (libswcale is missing and that's good to prevent using old libraries) I must admit you won.

Well almost: I though there was a flag to change behavior to accept non strictly increasing DTS for mkv. <http://avcodec.org/pipermail/ffmpeg-trac/2011-June/001260.html>

Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1419489 >= 1419489
av_interleaved_write_frame(): Invalid argument

Last edited 13 years ago by EricV (previous) (diff)
Note: See TracTickets for help on using tickets.