Media management trim corrupts files with extension .264

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

ogriff79

  • Posts: 18
  • Joined: Mon Mar 25, 2024 5:22 pm
  • Real Name: Owen Griffiths

Media management trim corrupts files with extension .264

PostThu May 29, 2025 9:00 am

We've encountered corrupt trimmed files from sources with the file extension ".264"

These have been supplied by law enforcement as archive for a crime series, and all the problematic files are in the format:

"filename_H.264"

There is always a "H" character followed by ".264"

Media management frequently produces corrupt new trimmed source clips (displaying media offline on timeline monitor, however sources appear to present).

Other H264 archive clips wrapped as .mov or .mp4 don't seem to be affected.

I've searched for known bugs and limitations but haven't found anything. We've had to revert to the original master source clips.

Windows 10 pro
Resolve 19.1.4
Offline

Mads Johansen

  • Posts: 1408
  • Joined: Mon Dec 19, 2016 10:51 am

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 10:09 am

H.264 is the raw codec in most cases. I'm suspecting that whatever process is used only writes the raw bitstream not in a container.
To verify, mediainfo https://mediaarea.net/en/MediaInfo will say something like
Code: Select all
Format                                   : AVC
Format/Info                              : Advanced Video Codec

If I'm right, any ffmpeg frontend can copy the video into a .mov or .mp4 container.

If I'm wrong, I'd reeeealy like the complete uncut mediainfo text.
Davinci Resolve Studio 20 build 49, Windows 11, Ultra 7 265k, Nvidia 5070 TI, 576.80 Studio
Offline

ogriff79

  • Posts: 18
  • Joined: Mon Mar 25, 2024 5:22 pm
  • Real Name: Owen Griffiths

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 10:23 am

Hi, thanks for the reply.

Mediainfo would imply they are actually .mp4

Perhaps they may have been wrangled badly, and the file extension has been lost?
I'd be very frustrated if someone had added a "." in a file name before the actual file extension.

Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 416 MiB
Duration : 59 min 57 s
Overall bit rate mode : Variable
Overall bit rate : 971 kb/s
Encoded date : UTC 2025-02-14 16:04:29
Tagged date : UTC 2025-02-14 16:04:29
Writing application : Lavf60.9.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 59 min 53 s
Bit rate : 816 kb/s
Width : 704 pixels
Height : 480 pixels
Display aspect ratio : 3:2
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 349 MiB (84%)
Writing library : x264 core 164 r3107 a8b68eb
Offline

Mads Johansen

  • Posts: 1408
  • Joined: Mon Dec 19, 2016 10:51 am

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 11:45 am

Yep, sounds exactly like someone mistyped. I would bet that renaming to .mp4 will solve all your problems :)
Davinci Resolve Studio 20 build 49, Windows 11, Ultra 7 265k, Nvidia 5070 TI, 576.80 Studio
Offline

ogriff79

  • Posts: 18
  • Joined: Mon Mar 25, 2024 5:22 pm
  • Real Name: Owen Griffiths

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 12:25 pm

There's also a "'#" symbol in each file name. Every instinct tells me this might be problematic too.
Offline

ogriff79

  • Posts: 18
  • Joined: Mon Mar 25, 2024 5:22 pm
  • Real Name: Owen Griffiths

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 12:28 pm

I've managed a closer look. Very odd but each new trimmed file is present in the media pool however they appear offline because they have been trimmed before the required TC, so they're all too short to supply the required media.

Is this a known H264 issue or should I just add it to the bad luck with this archive?
Online
User avatar

Uli Plank

  • Posts: 25458
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 12:58 pm

MP4 is not very reliable regarding TC. I'd try to re-wrap into MOV before trimming.
My disaster protection: export a .drp file to a physically separated storage regularly.
www.digitalproduction.com

Studio 19.1.3
MacOS 13.7.4, 2017 iMac, 32 GB, Radeon Pro 580 + eGPU
MacBook M1 Pro, 16 GPU cores, 32 GB RAM, MacOS 14.7.2
SE, USM G3
Offline

ogriff79

  • Posts: 18
  • Joined: Mon Mar 25, 2024 5:22 pm
  • Real Name: Owen Griffiths

Re: Media management trim corrupts files with extension .264

PostThu May 29, 2025 3:51 pm

Hi Uli,

Prior to v19 I'd have definitely agreed with that, but since 19 we've had a lot of success. In this instance it's actually easier to revert back to the master clips.

The problem with these shows is the huge ratio of archive supplied to archive used - but I take the point.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 219 guests