Opened 10 years ago

Closed 8 years ago

#1578 closed defect (fixed)

YUV4MPEG2 files with 4:4:4 pixel format fail to play.

Reported by: adam.buchbinder@… Owned by: reimar
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Playback of Y4M files with pixel formats 420mpeg2 and 420jpeg appear to work properly; however, the presence of the pixel format tag 'C444', meaning 4:4:4 pixel format, causes the video to display a single corrupted frame and then exit. The attached video can be tested with ffmpeg, which displays it properly.

This is confirmed as of SVN r29748. I selected the 'demuxer' component because the "Unknown stream tag encountered" message is in libmpdemux/yuv4mpeg.c, but this may well be incorrect.

Attachments (1)

queens-444.y4m.bz2 (355.4 KB) - added by adam.buchbinder@… 10 years ago.
A YUV4MPEG2 video, with pixel format 4:4:4.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by adam.buchbinder@…

A YUV4MPEG2 video, with pixel format 4:4:4.

comment:1 Changed 10 years ago by adam.buchbinder@…

The attached video was output from "ppmtoy4m -S 444"; the input was a series of PPM images.

comment:2 Changed 10 years ago by adam.buchbinder@…

System information:

Distribution: Ubuntu Jaunty (9.04)
Kernel version: 2.6.28-15-generic

libc: $ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1331404 2009-08-31 14:46 /lib/libc-2.9.so
lrwxrwxrwx 1 root root 11 2009-09-16 10:07 /lib/libc.so.6 -> libc-2.9.so

gcc: $ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

ld: $ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.19.1

binutils: $ as --version
GNU assembler (GNU Binutils for Ubuntu) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i486-linux-gnu'.

Please let me know if any other information would be helpful; this should be trivial to reproduce on any system running mplayer, but if it's not, I'll be more than happy to attach whatever logs would be helpful.

comment:3 Changed 8 years ago by compn

  • Owner changed from r_togni@… to reimar

comment:4 Changed 8 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Implemented in SVN r32698 by making the libavformat demuxer the default handler for yuv4mpeg.

Note: See TracTickets for help on using tickets.