[FFmpeg-devel] (no subject)

Stephen Hutchinson qyot27 at gmail.com
Fri Jun 7 11:44:53 CEST 2013


On Fri, Jun 7, 2013 at 4:52 AM, Paul B Mahol <onemda at gmail.com> wrote:

> On 6/7/13, Stephen Hutchinson <qyot27 at gmail.com> wrote:
> > Ut Video version 13.0.1 introduced two new variants, ULH0 and ULH2,
> > which are analogous to the existing ULY0 and ULY2, except that they're
> > explicitly meant for BT.709. I've added some of the necessary bits to
> > the libutvideo decoding wrapper so that it can detect and decode these
> > if FFmpeg has been built against libutvideo v13 (satellite issue:
> > GNUmakefile has been removed from the official Ut Video source zip due
> > to the author considering it a separate project and seemingly because
> > an issue with compiling on Linux cropped up in 12.2.1*; I still update
> > my buildsystem branch of libutvideo on Github**, and both Linux
> > compilation is fixed and v13 has been integrated).
> >
> > *in the comments for the 12.2.1 release here:
> > http://umezawa.dyndns.info/wordpress/?p=3933
> >
> > **address:
> > https://github.com/qyot27/libutvideo
> >
> > Problems concerning the new formats in v13 and FFmpeg:
> > There is a collision between the native decoder and libutvideo decoder:
> > if both are enabled, the  native decoder prevents libutvideo from
> > decoding video, even if the user tries to force libutvideo to be the
> > decoder.
>
> Really?
>
> About the decoder conflict?  This is the output under a normal running
instance:

By default, with both native and libutvideo decoders enabled:
$ ffmpeg/ffmpeg -vcodec libutvideo -i ulh0.avi -vcodec libutvideo test.avi
ffmpeg version N-53831-gd9bbdc6 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jun  6 2013 19:03:22 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --prefix=/home/qyot27/ffut_test --enable-gpl
--enable-version3 --enable-avisynth --enable-libutvideo --enable-debug
--disable-stripping
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 15.100 / 55. 15.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[utvideo @ 0xa942540] Unknown Ut Video FOURCC provided (30484C55)
    Last message repeated 1 times
Input #0, avi, from 'ulh0.avi':
  Duration: 00:00:02.09, start: 0.000000, bitrate: 30665 kb/s
    Stream #0:0: Video: utvideo (ULH0 / 0x30484C55), 848x480, 23.98 tbr,
23.98 tbn, 23.98 tbc
File 'test.avi' already exists. Overwrite ? [y/N] y
[buffer @ 0xa9449c0] Unable to parse option value "-1" as pixel format
    Last message repeated 1 times
[buffer @ 0xa9449c0] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0xa935ea0] Error applying options to the
filter.
Error opening filters!


With native decoder disabled (via forcing it off in config.mak/allcodecs.c)
and libutvideo decoder enabled:
$ ffmpeg/ffmpeg -vcodec libutvideo -i ulh0.avi -vcodec libutvideo test.avi
ffmpeg version N-53831-gd9bbdc6 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jun  6 2013 19:03:22 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --prefix=/home/qyot27/ffut_test --enable-gpl
--enable-version3 --enable-avisynth --enable-libutvideo --enable-debug
--disable-stripping
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 15.100 / 55. 15.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'ulh0.avi':
  Duration: 00:00:02.09, start: 0.000000, bitrate: 30665 kb/s
    Stream #0:0: Video: utvideo (ULH0 / 0x30484C55), yuv420p, 848x480,
23.98 tbr, 23.98 tbn, 23.98 tbc
Output #0, avi, to 'test.avi':
  Metadata:
    ISFT            : Lavf55.8.102
    Stream #0:0: Video: utvideo (libutvideo) (ULY0 / 0x30594C55), yuv420p,
848x480, q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (libutvideo -> libutvideo)
Press [q] to stop, [?] for help
frame=    5 fps=0.0 q=0.0 size=     370kB time=00:00:00.20
bitrate=14515.6kbits/
...
frame=   50 fps=5.4 q=0.0 Lsize=    6794kB time=00:00:02.08
bitrate=26687.3kbits/s
video:6787kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.099023%


More information about the ffmpeg-devel mailing list