[Cin] utvideo options file

Andrew Randrianasulu randrianasulu at gmail.com
Sun Oct 20 11:24:14 CEST 2019


just trying various codecs ...

mov utvideo

this one works, if you add few more things into mplayer's codecs.conf (search for utvideo)

videocodec ffutvideo
  info "FFmpeg Ut Video"
  status working
  fourcc ULRA,ULRG,ULY2,ULY0
  fourcc ULH2,ULH0,UQY2
  fourcc ULY4
  driver ffmpeg
  dll utvideo
  out YV12,422P,444P,RGB24,RGB32

note, mplayer is picky about spaces, if I put 44P with space apart from 422P - it was complaing,
try mplayer -codecs

 mplayer /dev/shm/utvideo.ff -vo x11
MPlayer SVN-r38152-5.5.0 (C) 2000-2019 MPlayer Team
224 audio & 466 video codecs

Playing /dev/shm/utvideo.ff.
libavformat version 58.33.100 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x575bf9e0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (utvideo), -vid 0
[lavf] stream 1: audio (pcm_s16le), -aid 0, -alang rus
VIDEO:  [ULY4]  1440x900  24bpp  30.000 fps  184919.3 kbps (22573.2 kbyte/s)
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.59.102 (internal)
Selected video codec: [ffutvideo] vfm: ffmpeg (FFmpeg Ut Video)
Clip info:
 major_brand: qt
 minor_version: 512
 compatible_brands: qt
 encoder: Lavf58.29.100
Load subtitles in /dev/shm/
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x57853140]bicubic scaler, from yuv444p to bgra using MMXEXT
VO: [x11] 1440x900 => 1440x900 BGRA
[VD_FFMPEG] DRI failure.
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 1440x900 => 1440x900 BGRA
A:   0.2 V:   0.0 A-V:  0.171 ct:  0.000   0/  0 ??% ??% ??,?% 3 0
[VD_FFMPEG] DRI failure.
A:   2.0 V:   0.4 A-V:  1.556 ct:  0.011   0/  0 ??% ??% ??,?% 15 0

Too many video packets in the buffer: (44 in 33926236 bytes).
Maybe badly- or non-interleaved stream/file or the codec failed?
Fix the file or try the -ni option (can cause high memory usage).
A:   3.8 V:   2.3 A-V:  1.457 ct:  0.131   0/  0 31% 250% 22.6% 24 0

somewhat slow at decoding if I set my machine to 4 x 1.4Ghz speed.

Also, I think strange  codec called v210 is still missing, I saw some speedups about it on ffmpeg-devel:

[FFmpeg-devel] [PATCH v7] avcodec/v210dec: add the frame and slice threading support

I see v410 and v308 in option files, probably v210 must be there as well?

"The v210 format is a packed YUV 4:2:2 format with 10 bits per component."

v308            Uncompressed packed 4:4:4 - from https://help.ubuntu.com/community/FFmpeg
also there is
r210            Uncompressed RGB 10-bit

I just cp'ed v308 and edited resulting files:

cp v308.qt v210.qt
cp v308.qt r210.qt

cat v210.qt
mov v210

cat r210.qt
mov r210

but I haven't added pixel formats info ....

r210 seems to demand gbrp10le

and v210 accept yuv422p10le or yuv422p, so I think v210 should use  yuv422p10le ?

-------------- next part --------------
mov utvideo

More information about the Cin mailing list