Opened 8 years ago

Last modified 3 years ago

#5413 open defect

Image size, pixel format cannot be detected ( 0x0,-1 ) for short h264 video

Reported by: Denis Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mpegts h264
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Cannot convert video which plays fine with Windows Media Player.

ffmpeg parameters ( splitted by comma)
-probesize,100M,-analyzeduration,100M,-i,00443.MTS,-an,-y,-c:v,mjpeg,-q:v,8,frame%d.jpg

ffmpeg output:
[mpegts @ 0x7ffcd9808800] Could not find codec parameters for stream 0 (Video: h264 (HDMV / 0x564D4448), none): unspecified size

Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '/Users/saden/Documents/asimon/simplevideoed/test/folder8/00443.MTS':
Duration: 00:00:00.51, start: 1.033367, bitrate: 9216 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (HDMV / 0x564D4448), none, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
[buffer @ 0x7ffcd96013c0] Unable to parse option value "0x0" as image size
[buffer @ 0x7ffcd96013c0] Unable to parse option value "-1" as pixel format
[buffer @ 0x7ffcd96013c0] Unable to parse option value "0x0" as image size
[buffer @ 0x7ffcd96013c0] Error setting option video_size to value 0x0.
[graph 0 input from stream 0:0 @ 0x7ffcd9601500] Error applying options to the filter.

This problem is easily reproducible with the latest version of ffmpeg on both OSX and windows systems.

At the same time exiftool returns correct values for size.

Attachments (3)

00443.MTS (576.0 KB ) - added by Denis 8 years ago.
Short file with 0x0 size bug
Screenshot 2016-04-07 15.49.21.png (128.6 KB ) - added by Denis 8 years ago.
script call shot 1
Screenshot 2016-04-07 15.49.28.png (126.6 KB ) - added by Denis 8 years ago.
script call shot 2

Download all attachments as: .zip

Change History (11)

by Denis, 8 years ago

Attachment: 00443.MTS added

Short file with 0x0 size bug

comment:1 by Carl Eugen Hoyos, 8 years ago

Component: ffmpegundetermined
Keywords: image size 0x0 removed

Please provide both command line and complete, uncut console output to make this a valid ticket.

comment:2 by Denis, 8 years ago

input line ( OSX ) ./ffmpeg -probesize 100M -analyzeduration 100M -i 00443.MTS -an -y test.wma

console output:
fmpeg version N-79453-g5256250-tessus Copyright (c) 2000-2016 the FFmpeg developers

built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 55. 20.100 / 55. 20.100
libavcodec 57. 33.100 / 57. 33.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[h264 @ 0x7fcd3182c800] no frame!
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] sps_id 0 out of range
[h264 @ 0x7fcd3182c800] non-existing PPS 0 referenced
[h264 @ 0x7fcd3182c800] decode_slice_header error
[mpegts @ 0x7fcd32000000] decoding for stream 0 failed
[mpegts @ 0x7fcd32000000] Could not find codec parameters for stream 0 (Video: h264 (HDMV / 0x564D4448), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '00443.MTS':

Duration: 00:00:00.51, start: 1.033367, bitrate: 9216 kb/s
Program 1

Stream #0:0[0x1011]: Video: h264 (HDMV / 0x564D4448), none, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080

[buffer @ 0x7fcd316014a0] Unable to parse option value "0x0" as image size
[buffer @ 0x7fcd316014a0] Unable to parse option value "-1" as pixel format
[buffer @ 0x7fcd316014a0] Unable to parse option value "0x0" as image size
[buffer @ 0x7fcd316014a0] Error setting option video_size to value 0x0.
[graph 0 input from stream 0:0 @ 0x7fcd316015e0] Error applying options to the filter.
Error opening filters!

in reply to:  2 comment:3 by Carl Eugen Hoyos, 8 years ago

Keywords: mpegts h264 added
Status: newopen
Version: unspecifiedgit-master

Replying to sadensmol:

./ffmpeg -probesize 100M -analyzeduration 100M -i 00443.MTS -an -y test.wma

Does this command line really allow to reproduce the issue?

Much more important: Do longer files from the same camera play with FFmpeg or do they show the same symptoms?

by Denis, 8 years ago

script call shot 1

by Denis, 8 years ago

script call shot 2

comment:4 by Denis, 8 years ago

Please find attached screenshots from my bash console. This problem is reproducible on every call ( even on windows machine ).
I will try to get a longer file from the same camera for you but looks like longer files play just fine ( I had no complains about longer files ).

comment:5 by Denis, 8 years ago

It works fine with bigger file.
Here is a console output:

./ffmpeg -probesize 100M -analyzeduration 100M -i 00447.MTS -an -y test.wma
ffmpeg version N-79453-g5256250-tessus Copyright (c) 2000-2016 the FFmpeg developers

built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 55. 20.100 / 55. 20.100
libavcodec 57. 33.100 / 57. 33.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] sps_id 0 out of range
[h264 @ 0x7fb4f8825a00] non-existing PPS 0 referenced
[h264 @ 0x7fb4f8825a00] decode_slice_header error
[h264 @ 0x7fb4f8825a00] no frame!
Input #0, mpegts, from '00447.MTS':

Duration: 00:00:03.52, start: 1.033367, bitrate: 11841 kb/s
Program 1

Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 30 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080

Output #0, asf, to 'test.wma':

Metadata:

WM/EncodingSettings: Lavf57.29.101
Stream #0:0: Video: msmpeg4v3 (msmpeg4) (MP43 / 0x3334504D), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
Metadata:

encoder : Lavc57.33.100 msmpeg4

Side data:

cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> msmpeg4v3 (msmpeg4))

Press [q] to stop, ? for help
[h264 @ 0x7fb4f9000000] Missing reference picture, default is 2147483647

Last message repeated 1 times

[h264 @ 0x7fb4f9000600] Missing reference picture, default is 2147483647

Last message repeated 1 times

[h264 @ 0x7fb4f9018e00] Missing reference picture, default is 2147483647

Last message repeated 1 times

[h264 @ 0x7fb4f9019400] Missing reference picture, default is 2147483647

Last message repeated 1 times

[h264 @ 0x7fb4f904d000] Missing reference picture, default is 2147483647
[h264 @ 0x7fb4f904dc00] reference picture missing during reorder
[h264 @ 0x7fb4f904dc00] Missing reference picture, default is 2147483647
frame= 105 fps= 58 q=31.0 Lsize= 644kB time=00:00:03.50 bitrate=1506.7kbits/s dup=17 drop=0 speed=1.94x
video:635kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.528585%

Please find file at this link: https://www.dropbox.com/s/yd77k8ekmqqolsz/00447.MTS?dl=0

Last edited 8 years ago by Denis (previous) (diff)

comment:6 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat

The mpegts demuxer eats the first (IDR) frame, both reproducible with the small and the larger sample (that includes additional I frames).

comment:7 by Carl Eugen Hoyos, 4 years ago

Work-around is to use -skip_initial_bytes 776

comment:8 by Balling, 3 years ago

MX player can play it, ha.

Note: See TracTickets for help on using tickets.