Losslessness(?)

me_again wrote on 9/23/2024, 4:46 AM

Greetings,

I'm sure I know the answer to this but here goes anyway.

Is there any way, for example adding a line to a Magix cfg or ini file, to force MS2025 to use a codec such as H.264 or HEVC or AV1 to use Lossless encoding?

I know Avidemux, Xmedia Recode, and OBS have lossless settings for these codecs. The results with these are excellent and rapid utilising hardware encoding.

I know that MS can save as an AVI using Huff or Lags for example, but it would be useful to be able to save losslessly(?) with some HW acceleration. I've experimented with AV1 and HEVC in MS2025, winding up the settings to maximum and the results of that look better (on my screen) than when I use Lagarith for example, and the speed increase in comparatively phenominal, BUT I'm sure that those files are not encoded losslessly(?) - there must be a better word!

I started to read an article on 'tinternet about there being two types of lossless encoders but I got confused just after reading the title.

AndyW

"Just when I think I've learned the workrounds of MEP/MS the bounders go and update it"

Aorus Z690 Elite DDR4 Motherboard

12th Gen Intel(R) Core(TM) i7-12700K, 3600 Mhz, 12 Core(s) 20 Logical Processor(s)

64gb (4x16gb sticks) DDR4 3200Mhz

Intel(R) UHD Graphics 770

Gigabyte GeForce RTX 4060 Eagle OC 8Gb DDR6 DLSS3 Windforce

Corsair RM750 PSU, be quiet! Pure Rock 2 cooling

System drive 500Gb 4.0NVMe M,2 SSD, dedicated video/audio drive 2Tb Gen 4 NVMe SSD, 2x 500Gb Local Fixed Disks (Music etc), USB3 expansion drive 5Tb and 2Tb

Audio Onboard ALC1220 Amp-Up, Windows 11 Home updated as and when

Movie Studio 2025 Suite, Photo Manager Deluxe 13

Norton 360

All Drivers updated as they become available.

Comments

johnebaker wrote on 9/23/2024, 8:53 AM

@me_again

Hi Andy

The simple answer is no this is not possible, however ......

You can create a custom export preset as shown below.

For true lossless compression you need to use AVI or if you require a MP4 file format change the setting shown in the above clip to I frames only - the downside is this will give massive file sizes.

HTH

John EB

 

Last changed by johnebaker on 9/23/2024, 8:56 AM, changed a total of 2 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

CubeAce wrote on 9/23/2024, 3:54 PM

@me_again @johnebaker

Hi Andy, John.

I have been exporting my MP4 videos as I frame only for about three and a half years now. The files don't necessarily have to be huge depending on the use case. For just playing back on a PC or TV the export can be set up to roughly whatever the bit rates the original recordings were. After all if the files are in an editor you are probably changing them already by sharpening, or changing the luma or chroma or something else entirely.

For that scenario I have found making the minimum bit rate equal to the original files maximum bit rate and then adding a reasonable percentage to the maximum bit rate and increasing the CPB slightly plays back pretty much the same as the original file. At least I can't tell the difference even pulling the same frame from each to pixel peep inspect.

I get that result with the following changes.

The export in that case was slightly longer than the original file shown, hence the slight discrepancy in file size.

However, If I am uploading to YouTube, the file will get compressed but by how much depends on the file size I upload. Then that file doesn't do.

My YouTube upload settings for an I frame export is much larger. The resulting video is as Good as I can get it to upload and pretty much indiscernible allowing for variations in the accuracy of different web browser's playback abilities.

The TV and YouTube file size differences.

And the settings I use to get that result.

Your case needs may be different to mine as I'm not sure why you want to do this in the first place. YouTube does accept AV1 as an upload file but AV1 on my machine is painfully slow so haven't experimented. HEVC never seems to give me the desired results. No idea why.

Note when using I frames only and the settings are good there are no lower and higher bit rates recorded so no longer a variable bit rate file format as far as I can work out.

Ray.

 

 

Last changed by CubeAce on 9/23/2024, 3:57 PM, changed a total of 2 times.

 

Windows 10 Enterprise. Version 22H2 OS build 19045.5011

Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version Graphics Driver 31.0.101.2130 for 7th-10th Gen Intel® with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. 1X WD BLACK 1TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 2x WD RED 2TB drives for latest footage storage. Total 21TB of 8 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 560.81 - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MMS 2024 Suite v 23.0.1.182 (UDP3) and VPX 14 - v20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MMS 2024 Suite, Vegas Studio 16, Vegas Pro 18, Cubase 4. CS6, NX Studio, Mixcraft 9 Recording Studio. Mixcraft Pro 10 Studio.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

me_again wrote on 9/24/2024, 9:27 AM

@johnebaker @CubeAce

Greetings and apologies for not replying sooner but MrsW found a few jobs for me to do.

I'd not thought about i frames, in fact the whole GOP side of things I've never really thought about. Just like chroma sampling i class it as a dark art and, like a cheap wine, is only for laying down and avoiding.

I've briefly tried the "i frames only" encoding and I agree Ray that the size is not necessarily huge, in fact from the small samples I've done while they are larger than an auto/default GOP encode they are at least 50% less than a Lagarith file.

I feel there is some mileage in this; more playing is required.

AndyW

"Just when I think I've learned the workrounds of MEP/MS the bounders go and update it"

Aorus Z690 Elite DDR4 Motherboard

12th Gen Intel(R) Core(TM) i7-12700K, 3600 Mhz, 12 Core(s) 20 Logical Processor(s)

64gb (4x16gb sticks) DDR4 3200Mhz

Intel(R) UHD Graphics 770

Gigabyte GeForce RTX 4060 Eagle OC 8Gb DDR6 DLSS3 Windforce

Corsair RM750 PSU, be quiet! Pure Rock 2 cooling

System drive 500Gb 4.0NVMe M,2 SSD, dedicated video/audio drive 2Tb Gen 4 NVMe SSD, 2x 500Gb Local Fixed Disks (Music etc), USB3 expansion drive 5Tb and 2Tb

Audio Onboard ALC1220 Amp-Up, Windows 11 Home updated as and when

Movie Studio 2025 Suite, Photo Manager Deluxe 13

Norton 360

All Drivers updated as they become available.