[Cin] Source=ProRes; render=low quality

Andrew Randrianasulu randrianasulu at gmail.com
Wed Jun 17 23:34:32 CEST 2020


В сообщении от Wednesday 17 June 2020 22:43:45 Andrea paz написал(а):
> Thanks, Andrew.
> I remember a post by Phyllis where she indicated that "scaling
> equation" only works for playback on the timeline and only for X11,
> not OpenGL.
> Anyway I tried to use it (X11 and OpenGL), as well as RGBA-FLOAT, 8
> and 10bit, increase bit rate, etc. But nothing works. Scaling always
> leads to bad results.
> 
> I have a QHD screen, if I use OBS or SimpleScreenRecorder and tell
> them to go out with FullHD, the results are not good, everything is
> blurred. But they're not as bad as the resize inside of CinGG.
> I'm sure I'm wrong, because I'm ignoring something that's fundamental.

Also, two more things:
try to check YUV Color Space in settings/peferences/appearance ..
It was set to BT.601 for me, but I switched it  for BT.709 for prores encoding testing ...

Also, mplayer with vdpau (and xv?) output converts things slightly differently ...

Compare:

uest at slax:/dev/shm$ mplayer test.prores
MPlayer SVN-r38192-5.5.0 (C) 2000-2020 MPlayer Team
226 audio & 470 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing test.prores.
libavformat version 58.46.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x57658aa0]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 (prores), -vid 0
VIDEO:  [apcn]  1280x720  24bpp  29.970 fps  48253.2 kbps (5890.3 kbyte/s)
==========================================================================
Opening video decoder: [qtvideo] Quicktime Video decoder
sh->ImageDesc not set, try -demuxer mov if this fails.
Win32 LoadLibrary failed to load: /usr/lib/codecs/QuickTime.qts
unable to load QuickTime.qts
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.92.100 (internal)
Selected video codec: [ffprores] vfm: ffmpeg (FFmpeg Apple ProRes)
==========================================================================
Clip info:
 major_brand: qt
 minor_version: 512
 compatible_brands: qt
 encoder: Lavf58.46.101
Load subtitles in ./
Audio: no sound
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x578f2460]bicubic scaler, from yuv422p10le to yuv420p using MMXEXT
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
[VD_FFMPEG] DRI failure.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12 <------
V:   0.0   0/  0 ??% ??% ??,?% 0 0
[VD_FFMPEG] DRI failure.
V:  17.0   0/  0  3% 38%  0.0% 0 0
V:  29.7   0/  0  2% 39%  0.0% 0 0

vs 

guest at slax:/dev/shm$ mplayer test.prores -vo gl
MPlayer SVN-r38192-5.5.0 (C) 2000-2020 MPlayer Team
226 audio & 470 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing test.prores.
libavformat version 58.46.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x57691aa0]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 (prores), -vid 0
VIDEO:  [apcn]  1280x720  24bpp  29.970 fps  48253.2 kbps (5890.3 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [qtvideo] Quicktime Video decoder
sh->ImageDesc not set, try -demuxer mov if this fails.
Win32 LoadLibrary failed to load: /usr/lib/codecs/QuickTime.qts
unable to load QuickTime.qts
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.92.100 (internal)
Selected video codec: [ffprores] vfm: ffmpeg (FFmpeg Apple ProRes)
==========================================================================
Clip info:
 major_brand: qt
 minor_version: 512
 compatible_brands: qt
 encoder: Lavf58.46.101
Load subtitles in ./
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [gl] 1280x720 => 1280x720 Planar 422P 10-bit little-endian
Mesa: User error: GL_INVALID_ENUM in glTexParameter(pname=GL_TEXTURE_STORAGE_HINT_APPLE)
[VD_FFMPEG] DRI failure.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [gl] 1280x720 => 1280x720 Planar 422P 10-bit little-endian <----
V:   0.0   0/  0 ??% ??% ??,?% 0 0
[VD_FFMPEG] DRI failure.
V:  29.7   0/  0  2% 50%  0.0% 0 0


Also, now exactly you resized your sources? I only used 'auto scale' plugin, on 1080p h264 file, while setting
project size to 720p/rgba float/lanczos scaling ..

of course it is blurred .... But not sure if it supposed to be *that* blurry.

https://yadi.sk/i/uHnAhq2WNzox_w - prores encode, 170 Mb for 30 seconds ....

Source file for  this one (I cut 30 sec starting from 1 min 03 sec, up to 1 m 33 sec, roughly):
https://yadi.sk/i/DGYzIbF_HdLDBA





More information about the Cin mailing list