utvideo options file
Hello! just trying various codecs ... mov utvideo pix_fmt=yuv444p threads=2 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: http://ffmpeg.org/pipermail/ffmpeg-devel/2019-October/251788.html [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? https://wiki.multimedia.cx/index.php/V210 "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 ?
Andrew: interesting testing. We will add the 3 opts files of utvideo.qt, r210.qt, and v210.qt -- you never know who might want them. As far as pixel formats go, you would not believe how "smart" the correlation between CinGG and ffmpeg is. In the Video wrench for qt menu, there is Pixels textbox field with a down arrow. When you click on that down arrow to the right, it is so smart that it shows you the legal pixel formats. just trying various codecs ...
mov utvideo pix_fmt=yuv444p threads=2 ... Also, I think strange codec called
v210 is still missing,
... also there is r210 Uncompressed RGB 10-bit ... 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 ?
Legal pixformats for utvideo are: gbrp, gbrap, yuv422p, yuv420p, yuv444p Legal pixformats for v210 are: yuv422p10le, yuv422p Legal pixformats for r210 are: gbrp10le
Interesting that you want to allow CinGG to use the UT Video codec suite. I have a capture card in a Windows machine that I use occasionally to digitize old video sequences from different analog VCRs. When I do, I use VirtualDub to capture and then bring the files back under Linux and CinGG for editing. I wanted to try to add the UT Video codec to VirtualDub to try to get lossless files, which are smaller than with HuffYUV or Lagarith. If CinGG now accepts the UT Video codec, I would be even more tempted to try this way. Pierre On 19-10-27 12 h 50, Phyllis Smith wrote:
Andrew: interesting testing. We will add the 3 opts files of utvideo.qt, r210.qt, and v210.qt -- you never know who might want them. As far as pixel formats go, you would not believe how "smart" the correlation between CinGG and ffmpeg is. In the Video wrench for qt menu, there is Pixels textbox field with a down arrow. When you click on that down arrow to the right, it is so smart that it shows you the legal pixel formats.
just trying various codecs ...
mov utvideo pix_fmt=yuv444p threads=2 ... Also, I think strange codec called
v210 is still missing, ... also there is r210 Uncompressed RGB 10-bit ... 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 ?
Legal pixformats for utvideo are: gbrp, gbrap, yuv422p, yuv420p, yuv444p Legal pixformats for v210 are: yuv422p10le, yuv422p Legal pixformats for r210 are: gbrp10le
В сообщении от Sunday 27 October 2019 19:50:47 Phyllis Smith написал(а):
Andrew: interesting testing. We will add the 3 opts files of utvideo.qt, r210.qt, and v210.qt -- you never know who might want them. As far as pixel formats go, you would not believe how "smart" the correlation between CinGG and ffmpeg is. In the Video wrench for qt menu, there is Pixels textbox field with a down arrow. When you click on that down arrow to the right, it is so smart that it shows you the legal pixel formats.
Yes, but first format there usually codec default, not something from opt file? So, If codec enumerates them starting from yuv411 (as dv codec does) and I said yuv420 in opt file - I can still pick up right format, but it will be one more manual step? Try to leave default choise and see with that pix format file will be encoded? Sorry for additional testing load :/ may be pix_fmt is not working anymore in opt files?
just trying various codecs ...
mov utvideo pix_fmt=yuv444p threads=2 ... Also, I think strange codec called
v210 is still missing,
... also there is r210 Uncompressed RGB 10-bit ... 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 ?
Legal pixformats for utvideo are: gbrp, gbrap, yuv422p, yuv420p, yuv444p Legal pixformats for v210 are: yuv422p10le, yuv422p Legal pixformats for r210 are: gbrp10le
participants (3)
-
Andrew Randrianasulu -
Phyllis Smith -
Pierre autourduglobe