Thursday, February 9, 2023

Re: [Avid-L2] AVI Conversion to Avid Friendly Codec on Mac?

no need to compile, there are binaries available for download.
And your line lacks quite some stuff about quality (-profile <int> -pix_fmt yuv422p10le, -c:a pcm_s24le etc…)

I'm sure a decent FFmpeg front end will take care of that.

Bouke



On 10 Feb 2023, at 05:50, Mark Spano <cutandcover@gmail.com> wrote:

ffmpeg is for sure the way to go on this. You can compile it easily with Homebrew. Go to the Homebrew site, copy the code they give you to install, and let that run. Once that's done, type "brew install ffmpeg" and let that run. Once that's done, you have ffmpeg compiled and ready to go.

The syntax is fairly easy for what you want.

ffmpeg -i <input file> -c:v prores -c:a pcm_s24le <output file>.mov

That will do a straight transcode if ffmpeg can read it, going to ProRes 422 (ffmpeg's flavor) with PCM audio. For the <input file> above, you can drag and drop the file into Terminal and it will auto-fill the path. Do the same for <output file> and just change the extension to .mov



On Thu, Feb 9, 2023 at 9:36 PM Dave Hogan via groups.io <mactvman=yahoo.com@groups.io> wrote:
There are settings in the video tab of Handbrake to switch to constant quality and use the RF slider.  An RF value of 0-2 is lossless.  Huge file.  Be sure to set the frame rate to same as source, or you can get a real mess on your hands.

However, I would suggest, if you have the latest version of Resolve around, see if it will load up your source file and transcode to DNX or ProRes.

Dave Hogan
Burbank, CA

On Feb 9, 2023, at 6:28 PM, John Moore <bigfish@pacbell.net> wrote:

[Edited Message Follows]

Well Handbrake really maxes out the cpu temp on my old 2013 iMac.  I made a few passes to test but they must still be really compressing the files.  Source file 160GB and converted file 5GB.  I realize codecs like H.264 are way more efficent than whatever the original file is but that seems to good to be true.  I'm playing around with the various settings in handbrake.  I've noticed the media info analysis of some files lists the codec and some don't.  I don't know if that is based on lack of meta data or what but I've seen that over the years.  

Here again is the Media Info just related to video:

<dummyfile.0.part>


As Previously suggested a bit of Googling and I found this:

To decode compressed 4:2:0 video, use one of the following uncompressed pixel formats.

Pixel FormatDescription
YUY2As described in 4:2:2 Video Pixel Formats, except that two lines of output Cb and Cr samples are produced for each actual line of 4:2:0 Cb and Cr samples. The second line of each pair of output lines is generally either a duplicate of the first line or is produced by averaging the samples in the first line of the pair with the samples of the first line of the next pair.



From this it seems to imply that the YUY2 is an uncompressed pixel format.  That sounds like something good.  Now to play around with the settings.

This Google thing seems pretty informative.  Over Xmas I used it to discover that the Bake a Bone company no longer exists to sell pre packaged Dog Treat Recipes and then Google provided me with a site with home made recipes for Dog Treats.  I'm not sure what Codec the treats were but they took Wheat Flower and according to the Pups they were definitely Broadcast Quality.  ;-)




No comments:

Post a Comment