What bitrate and format for editing old video footage

I am importing and upscaling old HI8 camcorder footage, using Topaz Video AI to upscale. I will then edit in Final Cut Pro. I am confused by all the output options in the Topaz app. Given the less than ideal quality of Hi8 video, even upscaled to HD, should I output ProRes or ProRes LT or H.265? What bitrate is suitable to retain quality?


Want the best quality for the material, but not overkill such that the file size is enormous for no noticeable reason, so some guidance would be appreciated. Most info I can find online pertains to streaming, which is not what I am doing with the file. Thanks.

Mac Studio (2022)

Posted on Apr 22, 2023 12:03 PM

Reply
19 replies

Apr 24, 2023 3:38 AM in response to Ian R. Brown

> so an hour of DV would be around 30 hours


Ouch.


A few years ago I encoded my (archived from iMovie 1.0.2-6.0.3) 25 fps interlaced PAL rectangular pixel 720x576 .dv files to bob-deinterlaced 50 fps progressive H.265 square pixel 768x576 .mp4 with ffmpeg (installed via MacPorts). IMHO the quality is very good and I could not get as good quality output from Compressor although I did not thoroughly test all its options.


That ffmpeg process in macOS 13.3.1 Ventura now takes about 3 minutes per 1 minute of .dv with the settings below.


I did some tests with my poorest quality input (i.e. poorly-lighted moving detailed input) and decided to use -crf 18 -preset slow and let it run all day and night on my Mac mini 2018 in ffmpeg .dv-to-.mp4 batches (let me know if you need corresponding batch settings).


ffmpeg defaults are '-crf 28 -preset medium'. Setting them up to '-crf 51 -preset ultrafast' (8 seconds for 1 minute of .dv) and skipping all that deinterlacing and scaling is MUCH faster but I preferred to do this with the best quality without spending unnecessarily time.


ffmpeg -i input.dv -vf bwdif=1,scale=788:576,crop=768:576:10:0,setsar=sar=1/1 -c:v libx265 -crf 18 -preset slow -timecode 00:00:00:00 -tag:v hvc1 -c:a aac -b:a 128k output.mp4



Apr 23, 2023 1:42 PM in response to Cartoonguy

I am a firm believer in testing things for myself and have frequently found that doing everything by the book for maximum theoretical quality does not necessarily produce that quality.


Forget the theory and do a test for yourself.


It won't take long.


I have converted DV footage at 13GB per hour to H.264 540p at 2500kbps which gives files around 10% of the size and under extreme magnification in FCP X have never been able to spot any difference.


Of course, I could be wrong but you can test it for yourself. Maybe you will spot a difference or maybe not.


There is no point in converting to a higher resolution . . . it will just produce much larger files with little, if any improvement. Anyway, test a sample to see what works for you.

Apr 22, 2023 3:41 PM in response to Tom Wolsky

Thanks. So would you say for HEVC (H.265) anything like 20 MBPS or 40 MBPS is way overkill? The ProRes does create a much bigger file size. Is it worth it compared to HEVC when we are dealing with what was originally PAL SD video? That is, will anyone be able to see the difference once it is edited and output again? Is Final Cut just as happy working with either?


Thank you, Tom!

Apr 23, 2023 1:18 PM in response to Ian R. Brown

The file format I import, using a Canopus ADVC 100 firewire card, results in a DVC file, which is a compressed file, albeit I assume a higher quality compressed file as the file size is pretty big. So when I convert to 1440 x 1080 using Topaz, do you think there is any point in going for the Pro Res quality to use for editing in FCP? Tom feels that Pro Res will be happier in FCP, but I am using a Mac Studio, so maybe it can handle the H.265 just fine anyway (assume that's superior to H.264). There is no DVC output option in the Topaz video app.

Apr 23, 2023 2:45 PM in response to Ian R. Brown

I will test, but the information you share about what you do is a great starting point, so thank you for that. My 15GB DVC footage is just under an hour, so similar to your 13GB per hour. I am upscaling using Topaz because it uses AI to significantly improve the image quality. It's not just about increasing the pixel dimensions, but de-interlacing, de-noising and improving clarity. See sample below. Upscaled is on the right.


For upscaled 1440x1080, Tom suggested 10 MB/s would be adequate. I was using 40 before, so clearly that is overkill. Wondering why you refer to H.264 and not H.265. Isn't H.265 a newer, more efficient codec?


Many thanks for your help, both Ian and Tom. 👍

Apr 24, 2023 12:49 AM in response to Cartoonguy

That is similar to the AI that I achieved with HitPaw.


There is a big temptation to upscale the video but in my brief tests there was no noticeable improvement over using the original resolution plus the downside was that the encoding took much longer and the file sizes were considerably larger.


So test an original resolution with an upscaled one to see if there is any tangible advantage.



Apr 24, 2023 1:32 AM in response to Cartoonguy

I was sceptic about upscaling and bob-deinterlacing rectangular pixel .dv footage to some odd square pixel non-integer resolution (i.e. PAL 720x576 to some other vertical square pixel resolution other than 768x576 or 788x576 or vertical resolution 576, 1152 etc) with double frame rate.


But that looks very good. Unless there are some AI-generated artifacts?


But how long does it take to encode 60 minutes of .dv to H.265/H.264 with that on some newish Mac?

Apr 24, 2023 2:46 AM in response to Matti Haveri

I have a 2017 iMac.


On a test I did a few weeks ago my 4m 38s DV video would have taken an estimated 2h 33m so an hour of DV would be around 30 hours which I consider to be ridiculously long.


If the M1/M2 computers are as fast as the benchmarks suggest, the time would be down to 10 hours.


Upscaling to 1080p or 4K would take proportionately longer and in my tests there were no discernible qualitative improvements.


You have to ask yourself whether it is worth the time and effort. Most of us naturally want the highest possible quality but the sad truth is that most of our relatives and friends, like Rhett Butler, "couldn't give a ****".

Apr 24, 2023 9:32 AM in response to Ian R. Brown

I have a Mac Studio. The base model with 32gb RAM. To upscale and clean up the Hi8 video footage, as I described above, takes about 3 hours for a 1 hour video. I guess the M1 Max is just that much faster than an older iMac. I can do the encode last thing at night, but I also find that if I do it while working otherwise, I don't notice any slowdown of my Mac, so no problem running it in the background.


Having said that, I am interested in your idea of trying a test to compare the AI clean up without upscaling. I will report back...

Apr 28, 2023 10:29 AM in response to Cartoonguy

Are there any rivals for TopazVideoAI?


...


I did TopazVideoAI 3.2.3 tests with my oldish Mac mini 2018 which seems to use some ffmpeg CPU and almost 100% GPU for this:


1 minute PAL 720x576 .dv (216 MB) to bob deinterlaced 50 fps H.265 768x576 .mov (135 MB) 47 minutes.


1 minute PAL 720x576 .dv to bob deinterlaced 50 fps H.265 1920X1080 .mov (625 MB) 68 minutes.


...


My previous 1 minute PAL 720x576 .dv to bob deinterlaced 50 fps H.265 768x576 .mp4 with the slowish '-crf 18 -preset slow' ffmpeg options with that Mac mini 2018 is 3 minutes.


...


AFAIR my old 1 minute PAL 720x576 .dv to 25 fps H.264 768x576 .mp4 with the default MPEG Streamclip "iTunes preset" option with Mac mini late 2009 OS X 10.11 El Capitan with the same .dv input was somewhat worse quality with about 1:3 speed.


...


So maybe I try this after a few years in a new Mac with AI. Especially when the current Topaz $300 is somewhat too pricey for me.


...


p.s. In my work I have used some newish iterative reconstruction algorithms and finally decided to put their settings "to eleven" because despite the warnings that "the output might then be too plastic". IMHO it was better than the medium quality setting with more grain in noisy input.


...


Below are screen captures from a good-light but moving interlaced PAL .dv input to 1. ffmpeg SD, 2. Topaz SD and Topaz HD H.265 output (SD 576 scaled to 1080 with GraphicConverter in these images. Topaz uses slightly different rectangular pixel aspect ratio than I, my setup is to horizontally scale PAL 720 to 788 and then crop to 768).


With this well-lit input Topaz is slightly better than ffmpeg but Topaz HD is not much better than SD when viewed at 100 %.


With grainy input Topaz is clearly better with no introduced artifacts in my quick tests.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What bitrate and format for editing old video footage

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.