Jump to content

Proper lossless mp4 editing


fredgolightly

Recommended Posts

Hi,

Years ago I was asking about proper lossless mp4 and m2ts support for export in original formats.

Now I see it supports lossless export in other formats, but still I am unable to simply edit together/cut two mp4 files from a Pixel 3 phone and save/export them losslessly without re-encoding, which isnt lossless.

 

Will true lossless support ever happen?

Link to comment
Share on other sites

You have seen this no doubt...

NCH Video Output Options - Lossless Export Settings

Lossless export provides the highest quality video. It does this by re-encoding your video file only when required. Some editing functions require your video to be re-encoded on export. These include adding transitions, adding effects or exporting to a different file type than the original file.

The following criteria must be met by the input/output videos for lossless export to be used:

  • We currently support H.264 and MPEG4 encoder video sources.
  • The output format must match the input format.
  • Supported formats are .avi, .mkv, .mov, .mp4
  • The output and input must have the same dimensions, encoder profile, levels and extradata.
  • Visual effects are not supported. Any segments of your video that include visual effects will be re-encoded.
  • At least 10% of your sequence must meet the criteria for lossless editing. If less than 10% of the sequence meets the criteria, the entire sequence will be re-encoded during export.
Link to comment
Share on other sites

  • 2 weeks later...

Yes I have. However, I'm still getting a whole lot of re-encoding happening. For example, I take two 10 second clips on my pixel 3 at 1080p 30fps, drop them into VideoPad, put them on the timeline next to each other, and export as lossless - the whole clip is now transcoded.

 

What exactly am I supposed to do to get it working losslessly?

Link to comment
Share on other sites

On 3/14/2019 at 3:47 PM, borate said:

Tested several other 30fps files, of varying resolutions and bit rates.

They succeeded as lossless exports, so other factors are apparently in play here.

Someone with better insight may chip in.

Here's a sample clip from my Pixel 3 shooting 1080p 30.06fps (sorry it's in portrait only one I have to hand) https://drive.google.com/open?id=1Clid5gk6tmZuWvqwwih7ZBdcLJSejfEs

I've tried joining this with itself say 3 times or editing out one second of video and I still can't get lossless export, it always transcodes despite trying every setting I can think of, uninstalling, resetting, etc. What am I doing wrong?

Link to comment
Share on other sites

1 hour ago, borate said:

You are doing nothing wrong.  I'll wager that your file - apparently using the hvc1 codec - is not supported for lossless editing.  Someone may drop in here to confirm.

That's a good point. I've only turned hvc1 on recently but none of my old files work either, nor do my sisters nexus 5x mp4s which are avc I'd assume

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...