Previous topicNext topic

Codec

Questions, comments, feedback, etc.
Post Reply
damstraversaz
Posts: 176
Joined: Tue Aug 26, 2014 11:22 am

Codec

Post by damstraversaz »

I'm actually converting somes video for magicmusicvisuals (most in dxv format) and make some test with codecs. most of them are not usuable , but 2 of them works , at least on my system ( 3 computers, windows 7 64 bits, one with ati radeon hd, one with intel card, one with nvidia gforce)

1 the PICVideo MJPEG codec. by far the best results, very good fps, low cpu usage. But this is a payware codec. http://www.accusoft.com/pvmjpegdownload.htm
the resolume team recommand it too if you don't want to use the dxv format. here is the recommanded settings :
"For an optimum image quality and playback speed balance, use a quality setting of 17 or 18 with 1:1:1 subsampling. Playback speed will be slightly faster with a subsampling of 4:2:2. The best image quality is achieved by setting the quality to 20 and the Subsampling to 1:1:1 but at this setting the playback speed is compromised. Also make sure you deselect the "2 fields of more then 240 lines" option. When this is checked then interlacing will be applied if the image is higher then 240 pixels but this reduces image quality and is not required.
Decompression settings
Turn off "Advanced Deblocking" in the decompression settings! With the deblocking off you get a much better playback speed."


2 the apple PNG codec. It can give some good result for low resolutions ( 640X480, 800x600) low Cpu usage , good fps. But for HD settings , the fps are low, althought cpu use is still correct. It depends of your needs.

some links for free converters:
MPEG streamclip for windows or mac. http://www.squared5.com/svideo/mpeg-streamclip-win.html
based on quicktime so you need to have quicktime on your system. a very good converter, can export .mov or avi. it can convert dxv fils you have installed the dxv codec http://resolume.com/download/
Virtualdub http://www.virtualdub.org/download.html useful for converting avi files ( especially with the Picvideo MJPEG codec). Can't read.mov file, so you need to convert it first with MPEG streamclip.

the perfect solution:

the hap video codec, an open source gpu based video codec http://vdmx.vidvox.net/blog/hap-windows.
the results are amazing ( very good fps and no cpu usage, support alpha channel). devs can had hap support https://github.com/vidvox/hap . there is a quicktime based codec https://github.com/vidvox/hap-qt-codec/releases/
AND a directX codec :http://renderheads.com/portfolio/HapDirectShow/.
for now the FFmpeg does not support hap (I make a try , and hap does not appears on the list http://ffmpeg.org/general.html#File-Formats). maybe they can add hap support, or Eric could add direct native support for it ?
easy to use as it appears as a codec for virtualdub (directx version) and mpeg streamclip (quicktime codec)

I'm really not an expert for codec, but maybe this can help some people

damien
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Codec

Post by Magic »

Thanks Damien.

Also see this topic for a bit more information on codecs: http://magicmusicvisuals.com/forums/vie ... p?f=2&t=87

We're planning to add Hap support directly to Magic, but I'm not exactly sure what release it will be in.

Eric
damstraversaz
Posts: 176
Joined: Tue Aug 26, 2014 11:22 am

Re: Codec

Post by damstraversaz »

great ! this could be a nice addition, for cpu use, best quality and backwards fonction.
thanks for the quick answer !
Post Reply