Skip to main content
Participant
January 24, 2023
Question

h264 NAS

  • January 24, 2023
  • 42 replies
  • 1949 views
Bug report: After upgrading to Premiere v15, exporting an H264 file from either Premiere or Media Encoder to my NAS creates a file which the program claims exported successfully, but actually creates a glitched file. At some point in the file, the audio will drop out, and the video will freeze on a single frame, which will remain on screen for the rest of the duration.

Exporting a quicktime file to my NAS doesn't cause this problem, and exporting an H264 file to my internal harddrive doesn't cause this problem, so there's only an issue with the combination of encoding to the H264 export setting to a NAS location that is causing a problem.

This is hugely disruptive to my workflow, and I really need it fixed...
This topic has been closed for replies.

42 replies

Kevin-Monahan
Community Manager
Community Manager
April 2, 2024

Hello @williams58505389,

Thanks for the message. It’s been a long time since you filed this bug. I apologize for the lack of a response. Are you still having this issue? If so, the team will need more info from you to reproduce the bug. Can you provide the information required here? How do I write a bug report?

 

I'll move your post to the Discussions board while we await your information.

 

Thanks,


Kevin

Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio
Participant
April 2, 2024

Appreciate the follow-up Kevin, but Adobe lready knew/knows about this bug.
https://piunikaweb.com/2021/12/21/audio-video-glitch-when-exporting-h264-files-from-premiere-pro-to-nas-ack/

(article from 12/2021)
"...Premiere Pro users are now reporting an issue where exporting H264 files from the app to a NAS device makes the video stuck at the end of the file.

What’s interesting is that the app shows no errors during the export process. Moreover, other formats work just fine...Apparently, the issue surfaced with Premiere Pro v15 with the export function working just fine in 14.9 or earlier versions. Users say they have to export H264 files to a local drive then send them over the network..."


Seems odd Adobe would've needed additional info to "reproduce it"?

That said, somewhere in the past year+ of updates, the issue seems to be resolved (at least from my end).

MattVA
Participating Frequently
January 24, 2023
You should check, if any of your folders is accidentally write protected.
Known Participant
January 24, 2023
Could anyone test with Influx importer, suffixing the file with .influx ? This way we'll know if the issue comes from the NAS or from Adobe importer, it could help solve the problem and maybe find a workaround
Participant
January 24, 2023
Just to keep the conversation alive here: still the same exact issue using v23 (2023) of Premiere Pro and Media Encoder, no improvement.

Export to NAS (Synology in our case) and the last few seconds of the file are corrupted, picture freezes and the audio stops. Can confirm that the file size is smaller than it's supposed to be and that even though the metadata indicates a full file, the frames at the end of the stream are missing, causing a decoding error.

For example, processing a file just now that reports 2698 frames in the metadata, decoding through ffmpeg stalls out at frame 2511 in this particular render:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] Packet corrupt (stream = 0, dts = 2513511).
[NULL @ 0x7f899e70aa40] Invalid NAL unit size (34318 > 7428).
[NULL @ 0x7f899e70aa40] missing picture in access unit with size 7432
renderbugtest.mp4: corrupt input packet in stream 0
[h264 @ 0x7f899e4d5ac0] Invalid NAL unit size (34318 > 7428).
[h264 @ 0x7f899e4d5ac0] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 0, offset 0xbac890a: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 0, offset 0xbae87d2: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 0, offset 0xbaf7c4e: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb05a22: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb05d6e: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb06058: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb063cc: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb06714: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb06df3: partial file
Error while decoding stream #0:0: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f899e709cc0] stream 1, offset 0xbb0711a: partial file
frame= 2511 fps=899 q=-0.0 Lsize=N/A time=00:00:41.89 bitrate=N/A speed= 15x

It seems like a pretty fair indication that the file is truncated.

Interestingly, the point at which it's truncated seems to vary from render to render of the exact same material. Normally we connect to our NAS over 10GbE with ping latency well below 1ms. We also saw truncation over WiFi with 2-3ms latency, although over the course of a couple of dozen tests, it seemed to get closer to the end of the file over WiFi: the files on average were less heavily truncated.

Hard to declare that as definitely significant without more testing, but sharing the observation anyway, since closing a file out without all the data written may have a faint smell of some kind of race condition.
Participant
January 24, 2023
(EDIT: after a few days, H264 exports stopped working again, it was just temporary luck)

I don't know if this is pure luck but I got it working somehow.
In DSM, under File Services > SMB Advanced Settings, I changed the Minimum SMB protocol from SMB2 to SMB 1 (Max is set to SMB3) and checked the "Enable SMB2 Lease"

I then connected again to the NAS in SMB:// and now it is working. Not sure if this is a long term solution.
Known Participant
January 24, 2023
Riccardo maybe it's not about CBR vs. VBR but about 1 pass and 2 pass ? In general I would suggest testing others exporters, or moving to the NAS after export
Participant
January 24, 2023
Having the same problem, and our workaround (*so far* seems to be solid for us) is to spec VBR 2-pass in the export options under video>bitrate settings>bitrate encoding (instead of the default 1-pass VBR the H264 preset normally has).

Exporting with 2-pass spec'd to our network locations, again *so far*, seems to create non-corrupted files, and is a bit faster than the pro res to H264 option (we had been using).

Also worth noting apparently Adobe knows about the bug:
https://piunikaweb.com/2021/12/21/audio-video-glitch-when-exporting-h264-files-from-premiere-pro-to-nas-ack/
Participant
January 24, 2023
We're having the same issue. Have there been any solves?
Participant
January 24, 2023
Same issue: corrupted mp4 when export in h264 on a Nas via Ethernet. works fine when exporting with the same specs on my desktop. My colleague works with the same Nas, same cables, same version of the premiere but he exports correctly. the switch between VBR/CBR doesn't work for me: no fixes? thanks!
Participating Frequently
January 24, 2023
Why hasn't this been fixed yet!!
It's been close to a year and this bug is still there. The only work around is to export as CBR instead of VBR.