Encoding Premiere E...
 
Notifications
Clear all

Encoding Premiere Export  

  RSS

Helly
(@helly)
Eminent Member
Joined: 7 months ago
Posts: 22
08/09/2020 1:29 pm  

So, i had to do a little editing recently with one of my recordings. Its a 2160p30 10bit file. Editing was easy but the problems start after the export. The exported file came out as 2160p30 10bit fine, it plays fine in a mediaplayer (MPC-HC).

But when i encode it to x265 (or x264) it comes out very choppy and basically unwatchable. This only happens when i export it with premiere. The original before edited file encoded to x265 comes out fine without the choppy playback. Encoding to x265 is done with MeGUI.

So now i don't really know where the problem comes from. But i'm thinking is most probably the premiere export, i just don't know how to fix it. Any thoughts on this?


Quote
Balázs
(@ignus)
MagicYUV Author Admin
Joined: 4 years ago
Posts: 217
22/09/2020 12:45 am  

Hi,

Sorry for the very late reply. Could you figure out what the problem was in the meantime?

I'd have to see a sample exhibiting the problem, with all the files, ie. the original, the export and the encode.

It might be possible that MeGUI misreads some AVI headers perhaps or something similar, but I really have no idea.


ReplyQuote
Helly
(@helly)
Eminent Member
Joined: 7 months ago
Posts: 22
23/09/2020 12:53 pm  

Hi,

I have just managed to actually encode the file correctly and so "fix" the problem. But the problem seems to be with MeGUI in this case. I tried to encode the same file with handbrake and it worked without problems. So misreading the headers could be it. Weird though that exports with virtualdub are read correctly. I edited a small part of a longer video with premiere and when muxing it together i got some warnings about the codecs private data not matching but the file plays correctly.

If you want to try to find out what the problem is i can send you the files (or parts of them), just let me know where/how to send it and how much you need.


ReplyQuote
Balázs
(@ignus)
MagicYUV Author Admin
Joined: 4 years ago
Posts: 217
23/09/2020 12:57 pm  

Yeah, I can take a look. Any part/length is fine which exhibits the problematic behavior. Can you upload to google drive for example?

Regarding the "codecs private data not matching", what is that warning exactly? Where does it come from, etc?


ReplyQuote
Helly
(@helly)
Eminent Member
Joined: 7 months ago
Posts: 22
25/09/2020 2:42 pm  

I put them on a dropbox.

Here's the original

Here's the Premiere Output

Here's the MeGUI encode

Honestly the warning is probably not that important. The bit i edited in premiere is a tiny part of the whole video. I encoded the rest with MeGUI and i put it all together later with MKVToolNix. That's what's giving the error.

"The codec's private data does not match. Both have the same length (128) but different content. Please make sure that the resulting file plays correctly the whole time."

I did check the resulting file and its all good. I assume it's because the files come from different encoders. (Premiere with HEVC and x265)


ReplyQuote
Balázs
(@ignus)
MagicYUV Author Admin
Joined: 4 years ago
Posts: 217
26/09/2020 1:23 pm  

@Helly I don't see anything wrong with the Premiere export, the AVI headers seem to be fine.

The only oddity is with the original, where the AVI headers contain the framerate as 10000000/333333 which used to cause issues with the MagicYUV Adobe import plugin (it should be 30/1), namely the import length could end up being incorrect, this was fixed in 2.3.0. Is it a vMix recording btw?

So really, I have no idea why MeGUI would encode choppy.

EDIT: Regarding the private data mismatch, it's a fair warning, since it can cause serious problems, but if the file plays fine, then it's OK.

Out of curiosity, how did you obtain the 10-bit recording? What HW/SW are you using? I myself have never done recording like this, so would like to know 🙂

This post was modified 2 months ago by Balázs

ReplyQuote
Helly
(@helly)
Eminent Member
Joined: 7 months ago
Posts: 22
27/09/2020 1:38 pm  
Posted by: @ignus

Out of curiosity, how did you obtain the 10-bit recording? What HW/SW are you using? I myself have never done recording like this, so would like to know 🙂

I recorded it from my ps4 pro using a Magewell Pro Capture 4k HDMI +LT with virtualdub2. It was recorded in 10bit 4:2:2 as you may have noticed which my PC could just handle in 30fps.

So not vMix and i guess the oddity comes from virtualdub2 then. Just strange all around, i guess if i can't figure it out ill just encode the premiere exports with handbrake. Quality of the end result looks the same so i guess it doesn't really matter.


ReplyQuote