I am facing an issue where the imported x264 videos in Premiere Pro are flicking. The frames seem to be all over the place. Some frames from the previous few seconds would appear briefly in the later frames. The glitch is evident in the preview screen and exported files. The raw videos however, are fine when watched with VLC or WMP.
Seems isolated to Premiere Pro only? I tried test exporting with Hitfilm Express 4 and the video came out fine. The previous Feb 2015 x264vfw version faced no such issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dunno. I don't have Premiere Pro here so can't test it myself. But it sounds like Premiere bug so probably should be reported to there user support. Also I not fully understand if it the problem with encoding or decoding? IIRC it doesn't use x264vfw for decoding of H.264 but use internal decoder. Is it correct? You probably can test this by uninstalling x264vfw and importing that problematic x264 video and look if it opens. If it is than may be problem is in this internal decoder.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you upload this encoded file on some file hosting instead (not youtube because it re-encode anything you upload). Also can you try to use Output Mode = File instead of VFW for export to check if may be it is problem with Premiere's file writting with VFW.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, but this file look like total mess in any player (VLC or MPC+LAVFilters) or decoder (JM or ffmpeg) I tried. So I don't understand what you mean by "it plays fine in VLC/WMP". Also this file doesn't look like encoded with x264vfw so I totally lost how it connected to it. Can you explain by steps what are you doing (what is source, what is output, what you use for conversion) and it which step it become this mess.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So problem is decoding of this x264vfw file by Premiere Pro (i.e. even before exporting?) and not exporting from Premiere Pro (btw. to what format do you export)? And you say that previous version of x264vfw was fine (have you tried to install old version and try with this file)? Also I will need this source x264vfw file if it is decoding problem not exported one.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is the video freshly recorded off x264vfw codec (2 may 2016 update) without importing into Premiere https://drive.google.com/open?id=0B2LQ-Nmt4bJteDZzVkRybTgtRE0 (zipped up to prevent google from screwing up with it's re-encoding for browser-viewing). It should run completely fine on VLC or WMP.
The problem lies when I put this file into Premiere pro, and it looks messed up in the preview pane. It looks equally messed up when I export the file into h.264 mp4 format for Youtube upload.
The previous x264vfw codec (feb 2 2015 update) was fine in Premiere pro. That was what I was using for my uploads all these while before this new update.
I just reinstalled the old codec and I can comfirm any new recordings are working fine in Premiere pro. Looks like I'll still be using the previous version as of now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And what about this exact recorder file when you try to import to Premiere Pro while having old version of x264vfw installed? Do it still mess up or not?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anyway I tried to decode your sample in VirtualDub with x264vfw's decoder and it was OK. That mean that decoder is OK by itself and that is some bug with Premiere so nothing I can fix. Dunno why previous version work in it and new doesn't that should be the question to the Premiere support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you try with this build: x264vfw_full_43_2694bm_43159_fix.exe?
If it works than now I am at least know what is causing thing bug in Premiere (but IMHO there is still bug in it) and why it worked in previous version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good. That means that Premiere have problems with decoding streams which needed frame buffering (decoder frame lag) like with B-frames. I would guess it can be trying to use some type of GOP-based multithreading for decoding (or something similar) which seek a lot during decoding (and that is VERY BAD idea for codecs with frame lag). As for why old version worked with your stream and new not is because your stream doesn't really needed decoder frame lag as it was intra-only (i.e. --keyint 1) but new ffmpeg/libav had bug/limitation that it used frame lag of around 4 frames for it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your work on the latest update.
I am facing an issue where the imported x264 videos in Premiere Pro are flicking. The frames seem to be all over the place. Some frames from the previous few seconds would appear briefly in the later frames. The glitch is evident in the preview screen and exported files. The raw videos however, are fine when watched with VLC or WMP.
Seems isolated to Premiere Pro only? I tried test exporting with Hitfilm Express 4 and the video came out fine. The previous Feb 2015 x264vfw version faced no such issue.
Dunno. I don't have Premiere Pro here so can't test it myself. But it sounds like Premiere bug so probably should be reported to there user support. Also I not fully understand if it the problem with encoding or decoding? IIRC it doesn't use x264vfw for decoding of H.264 but use internal decoder. Is it correct? You probably can test this by uninstalling x264vfw and importing that problematic x264 video and look if it opens. If it is than may be problem is in this internal decoder.
Sample exported video https://youtu.be/0LJ5v89DUG8
I uninstalled x264vfw and tried re-importing the video into Premiere Pro but it says unsupported format or damaged file.
Can you upload this encoded file on some file hosting instead (not youtube because it re-encode anything you upload). Also can you try to use Output Mode = File instead of VFW for export to check if may be it is problem with Premiere's file writting with VFW.
https://r.kyaa.sg/sxcbed.mp4
I managed to mux the video output and audio with FFMPEG and it plays fine in VLC/WMP, but it's a total mess when imported into Premiere.
Sorry, but this file look like total mess in any player (VLC or MPC+LAVFilters) or decoder (JM or ffmpeg) I tried. So I don't understand what you mean by "it plays fine in VLC/WMP". Also this file doesn't look like encoded with x264vfw so I totally lost how it connected to it. Can you explain by steps what are you doing (what is source, what is output, what you use for conversion) and it which step it become this mess.
I'm sorry I didn't explain it properly. The video included above in the link is a sample exported from Premiere Pro (which was meant for Youtube).
The raw file (x264vfw file) before it was imported Premiere Pro was completely fine in any player.
So problem is decoding of this x264vfw file by Premiere Pro (i.e. even before exporting?) and not exporting from Premiere Pro (btw. to what format do you export)? And you say that previous version of x264vfw was fine (have you tried to install old version and try with this file)? Also I will need this source x264vfw file if it is decoding problem not exported one.
This is the video freshly recorded off x264vfw codec (2 may 2016 update) without importing into Premiere https://drive.google.com/open?id=0B2LQ-Nmt4bJteDZzVkRybTgtRE0 (zipped up to prevent google from screwing up with it's re-encoding for browser-viewing). It should run completely fine on VLC or WMP.
The problem lies when I put this file into Premiere pro, and it looks messed up in the preview pane. It looks equally messed up when I export the file into h.264 mp4 format for Youtube upload.
The previous x264vfw codec (feb 2 2015 update) was fine in Premiere pro. That was what I was using for my uploads all these while before this new update.
I just reinstalled the old codec and I can comfirm any new recordings are working fine in Premiere pro. Looks like I'll still be using the previous version as of now.
And what about this exact recorder file when you try to import to Premiere Pro while having old version of x264vfw installed? Do it still mess up or not?
Nope. No issue with the old x264vfw version. It ran fine and exported fine.
Anyway I tried to decode your sample in VirtualDub with x264vfw's decoder and it was OK. That mean that decoder is OK by itself and that is some bug with Premiere so nothing I can fix. Dunno why previous version work in it and new doesn't that should be the question to the Premiere support.
Alright, thanks for your help.
Can you try with this build: x264vfw_full_43_2694bm_43159_fix.exe?
If it works than now I am at least know what is causing thing bug in Premiere (but IMHO there is still bug in it) and why it worked in previous version.
This new build worked perfectly. No rendering glitches in Premiere.
Fantastic work, as always.
Good. That means that Premiere have problems with decoding streams which needed frame buffering (decoder frame lag) like with B-frames. I would guess it can be trying to use some type of GOP-based multithreading for decoding (or something similar) which seek a lot during decoding (and that is VERY BAD idea for codecs with frame lag). As for why old version worked with your stream and new not is because your stream doesn't really needed decoder frame lag as it was intra-only (i.e. --keyint 1) but new ffmpeg/libav had bug/limitation that it used frame lag of around 4 frames for it.