LigH
5th October 2010, 10:04
During my tests with WebM vs. MP4-AVC I found that playback via ffdshow always resulted in TV-scale output, which got pretty obvious in dark scenes which go down to pitch black in the PNGs released by the Blender project. So I made a little test with a very simple video:
BlankClip(1000, 640, 360, "YV12", 25)
This I converted to MPEG4-AVC using x264 rev. 1723, to Xvid using VirtualDubMod and Xvid 1.3, and to MJPEG using VirtualDubMod and ffdshow's VfW MJPEG codec. For playback I used MPC-HC 1.4.2505.0 and ffdshow rev. 3550.
Here are my results so far:
*.avs in VirtualDubMod, screenshot as PNG: PC-Scale (0, 0, 0).
*.mp4 in MPC-HC via ffdshow: no matter which renderer in MPC-HC, wether or not level correction in ffdshow, automatic or forced PC scale output -- always TV scale (16, 16, 16)
*.264 via DGAVCDec and AviSynth in VirtualDubMod: PC scale
*.xvid.avi: decoded by Xvid in VirtualDubMod = PC scale; decoded by ffdshow in MPC-HC = TV-Scale (*)
*.mjpg.avi: decoded by ffdshow-VfW in VirtualDubMod = TV scale; decoded by ffdshow in MPC-HC = TV scale (*)
(*) If level correction is enabled in Post-processing: gradual from TV scale to PC scale while playback advances; the second time I play the video after stopping, it starts in PC scale.
No matter what I try, I can't enforce ffdshow to decode a video in PC scale output for the whole first time.
BlankClip(1000, 640, 360, "YV12", 25)
This I converted to MPEG4-AVC using x264 rev. 1723, to Xvid using VirtualDubMod and Xvid 1.3, and to MJPEG using VirtualDubMod and ffdshow's VfW MJPEG codec. For playback I used MPC-HC 1.4.2505.0 and ffdshow rev. 3550.
Here are my results so far:
*.avs in VirtualDubMod, screenshot as PNG: PC-Scale (0, 0, 0).
*.mp4 in MPC-HC via ffdshow: no matter which renderer in MPC-HC, wether or not level correction in ffdshow, automatic or forced PC scale output -- always TV scale (16, 16, 16)
*.264 via DGAVCDec and AviSynth in VirtualDubMod: PC scale
*.xvid.avi: decoded by Xvid in VirtualDubMod = PC scale; decoded by ffdshow in MPC-HC = TV-Scale (*)
*.mjpg.avi: decoded by ffdshow-VfW in VirtualDubMod = TV scale; decoded by ffdshow in MPC-HC = TV scale (*)
(*) If level correction is enabled in Post-processing: gradual from TV scale to PC scale while playback advances; the second time I play the video after stopping, it starts in PC scale.
No matter what I try, I can't enforce ffdshow to decode a video in PC scale output for the whole first time.