PDA

View Full Version : hd frame encoding errors...whats causing this?


morph166955
24th April 2006, 17:54
I recently went out and bought a Fusion5 HDTV USB with a Terk T5 antenna to capture some high def video and encode it. To use as a test i recorded greys anatomy from last night and i ran it through mencoder with:

mencoder Greys.tp -af volnorm=2:.40 -vf crop=1280:704:0:8 -oac mp3lame -lameopts preset=standard -ovc x264 -x264encopts crf=22:psnr:b_pyramid:frameref=10:bframes=3:weight_b:8x8dct:4x4mv:subq=6:me=3:mixed_refs:nofast_pskip:brdo:bime -o Greys1.avi -endpos 300

This is being encoded on a freebsd 6.0 system running versions of mencoder, ffmpeg and x264 that i pulled from the cvs/svn last friday. The freebsd system has no x11 head to it but it doesnt complain when i run it on there. However when i run it on my laptop (win xp) using mplayer from 3/26/06 (it was one of the compiles thats avail up here i dont remember which one i grabbed) i get a swarm of "Error while decoding frame!". Whats causing this? Im including a copy/paste below from both the server and the laptop. I find it weird that it doesnt do it on the bsd box but that could simply be because its not actually displaying an image anywhere. Any info on this would be much appreciated.




Windows XP Laptop:
"mplayer Greys.avi"

MPlayer dev-CVS-060326-23:31-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing C:\Documents and Settings\Ben\Desktop\Greys-180-crf22.avi.
AVI file format detected.
VIDEO: [h264] 1280x704 24bpp 59.940 fps 2586.0 kbps (315.7 kbyte/s)
Clip info:
Software: MEncoder dev-CVS-060419-16:58-3.4.4
File not found: 'C:/Program Files/mplayer/mplayer/default.sub'
Failed to open C:/Program Files/mplayer/mplayer/default.sub
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 704 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [directx] 1280x704 => 1280x704 Planar YV12
Error while decoding frame!
Error while decoding frame!
Error while decoding frame!
Error while decoding frame!
Error while decoding frame!
Error while decoding frame!
Error while decoding frame!



FreeBSD:
"mplayer Greys.avi -nosound -vo null"

MPlayer dev-CVS-060419-16:58-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon Nocona,Irwindale (Family: 15, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing Greys-180-crf22.avi.
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO: [h264] 1280x704 24bpp 59.940 fps 2586.0 kbps (315.7 kbyte/s)
Clip info:
Software: MEncoder dev-CVS-060419-16:58-3.4.4
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 1280 x 704 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [null] 1280x704 => 1280x704 Planar YV12
V: 2.3 139/139 155% 0% 0.0% 0 0

MPlayer interrupted by signal 2 in module: sleep_rtc

Pookie
25th April 2006, 03:42
I don't use Mplayer for h264 playback on XP, so I can't say for sure what the problem is. Have you tried playing the file back with VLC or CoreAVC DirectShow ?