[FFmpeg-devel] Unplayable "JVT NAL" sequence (H264)

Roberto Ragusa mail
Fri Jun 20 20:48:17 CEST 2008


Roberto Ragusa wrote:
> Roberto Ragusa wrote:
>>    ftp://upload.mplayerhq.hu/MPlayer/incoming/maybeH264_dumpstream
>>    ftp://upload.mplayerhq.hu/MPlayer/incoming/maybeH264_dumpvideo
>>
>> Is this stuff supported?
> 
> Anyone interested in looking at this?
> The stream is playable on Windows (Media Player Classic Home Cinema).

Just discovered that after a conversion with

   ffmpeg -vcodec h264 -i maybeH264_dumpstream -vcodec copy -acodec copy out.ts

mplayer actually shows one frame or two (intra only?) and prints a lot of
errors.

Output pasted here:


$ ffmpeg -vcodec h264 -i maybeH264_dumpstream -vcodec copy -acodec copy out.ts
FFmpeg version SVN-r12135, Copyright (c) 2000-2008 Fabrice Bellard, et al.
   configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-x11grab --enable-liba52 --enable-liba52bin --disable-avisynth --disable-libamr-nb --disable-libamr-wb --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables --disable-strip
   libavutil version: 49.6.0
   libavcodec version: 51.50.1
   libavformat version: 52.7.0
   libavdevice version: 52.0.0
   built on May 10 2008 23:03:08, gcc: 4.3.0 20080428 (Red Hat 4.3.0-8)
[h264 @ 0x4820430]B picture before any references, skipping
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
[h264 @ 0x4820430]B picture before any references, skipping
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
[h264 @ 0x4820430]B picture before any references, skipping
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
[h264 @ 0x4820430]non existing PPS referenced
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
[h264 @ 0x4820430]B picture before any references, skipping
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
[h264 @ 0x4820430]B picture before any references, skipping
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
[h264 @ 0x4820430]B picture before any references, skipping
[h264 @ 0x4820430]decode_slice_header error
[h264 @ 0x4820430]no frame!
Input #0, mpegts, from 'maybeH264_dumpstream':
   Duration: 00:00:34.6, start: 72525.486644, bitrate: 14096 kb/s
     Stream #0.0[0x203]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25.00 tb(r)
     Stream #0.1[0x28d]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mpegts, to 'out.ts':
     Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 0:1 DAR 0:1], q=2-31, 25.00 tb(c)
     Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  840 fps=  0 q=-1.0 Lsize=   75123kB time=33.6 bitrate=18315.7kbits/s
video:57452kB audio:788kB global headers:0kB muxing overhead 28.990167%




$ mplayer out.ts
MPlayer 1.0rc2-4.3.0 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing out.ts.
TS file format detected.
VIDEO H264(pid=256) AUDIO MPA(pid=257) NO SUBS (yet)!  PROGRAM N. 1
FPS seems to be: 25.000000
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
[h264 @ 0x89f3070]warning: first frame is no keyframe??% ??,?% 1 0
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]warning: first frame is no keyframe
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[h264 @ 0x89f3070]internal_buffer_count overflow (missing release_buffer?)
[h264 @ 0x89f3070]get_buffer() failed (-1 0 0 (nil))
[h264 @ 0x89f3070]decode_slice_header error
[h264 @ 0x89f3070]no frame!
Error while decoding frame!
[...]

-- 
    Roberto Ragusa    mail at robertoragusa.it




More information about the ffmpeg-devel mailing list