[MPlayer-users] HM12 and decode failure when < 720x480
Jimmy Brown
jbrown at care-view.com
Thu Dec 20 00:29:33 CET 2007
Greetings,
When using mplayer to decode hm12 rawvideo, Hauppauge Macroblock/NV12/NV21
Decoder, from an ivtv capture/encoder card, you are limited to only using
720x480 resolutions. If you configure the capture card for other
resolution sizes, such as 360x240, 384x256, or other smaller but same ntsc
aspect ratios, mplayer will fail to decode properly or will crash. This
behavior seems to be dependent on the width being 720.
To reproduce:
Note: height of 256 seems to work well for widths above 388 when telling
mplayer the width=720
Set up the capture card then run mplayer -
v4l2-ctl -v width=360,height=240
mplayer -noconsolecontrols -nocache -demuxer 26 -nosound -rawvideo
hm12:w=360:h=240:fps=29.997 /dev/video32
Interestingly,
if you run mplayer the same way but set the rawvideo width to w=720,
interestingly, the picture is clear on the left side of the rendered frame
and the right side contains garbage. It seems like the luminance channel
when read is always 720 wide and setting it to anything else causes
problems.
Does anyone have any settings suggestions? Will compile with debug and look
from there.
--
Jimmy
More information about the MPlayer-users
mailing list