Guillaume POIRIER wrote:
I'm forwarding this msg at it was full of strange HTML thingies which mailman rejected as invalid content
Guillaume ---------- Forwarded message ---------- From: Johann Amin <jaymin@gmx.net> To: "MPlayer usage questions, feature requests, bug reports" <mplayer-users@mplayerhq.hu> Date: Wed, 01 Nov 2006 22:03:13 +0800 Subject: YUV header corrupted
The YUV file generated by mplayer is corrupt. I dumped a video with the command: mplayer vcd://1 -vo yuv4mpeg -ao pcm. When I try to read the file with other utilities such as yuvscaler or mpeg2enc, they tell me that: **ERROR: [yuvcorrect] Couldn't read yuv4mpeg header! or **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!. Even mplayer itself barfs with the error: Playing stream.yuv. YUV4MPEG2 file format detected. error parsing YUV4MPEG header: parameter out of range
I've tried with both the rc1 tarball and svn version. I also tried with binaries for FC6, but I get unknown frame-rate error with mpeg2enc. _______________________________________________ MPlayer-users mailing list MPlayer-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users Just out of curiosity, I dumped the the first line of the YUV file created by mplayer and compared that to a dump from ffmpeg.
mplayer YUV header YUV4MPEG2 W352 H240 F23975999:1000000 Ip A4294967297:0 ffmpeg YUV header YUV4MPEG2 W352 H240 F2997:125 Ip A1:1 Using a hex editor, changing A4294967297:0 to A1:1 allows mpeg2enc to process the file.