Page 1 of 1

Media ignored, logs 'codec DUMMY is not supported'

PostPosted: Tue Jan 12, 2021 10:39 am
by kenjohanson
I've noticed that Resolve silently ignores certain input media (mts) when importing into the media page. They just don't show up as thumbnails, and if I try and try them from explorer into the timelines, they also are ignored, shown as the circle-with-line through it. This is on Win10, Studio 17 beta.

When I dug deeper, I noticed these were being logged in ResolveDebug.txt with one common message substring: "codec DUMMY is not supported". The files play just in various other tools, and ffmpeg can read them...

I *believe* what all these file share in common is that I at one points used ffmpeg to trim them many years ago... I do have a workaround which is to just remux them into another container such as mp4, i.e.:
ffmpeg -i 20160602-101024.m2ts -c copy 20160602-101024.mp4

...but this is somewhat cumbersome because there are hundreds, and one has to rely on auditing Resolve logs to find the bad ones..

So TWO requests:

1) BMD team, can you provide some signal in the Resolve UI that media is being ignored? And a way to list them, maybe by opening a log viewer window? Or just show the thumbnail but 'media offline'.

2) Can the media reader be adjusted perhaps to read these? I can provide sample files, if this isn't already a known issue.

Here's detail from ResolveDebug.txt:
Code: Select all
[0x000030ec] | IO                   | ERROR | 2021-01-12 03:55:29,765 | Failed to open video file <S:\xx\Video\2016\20160602-101024.m2ts> for decoding, error: <File does not exist, or file format is not recognizable.>

[0x000030ec] | IO                   | ERROR | 2021-01-12 03:55:29,765 | Failed to read video track information from file <20160602-101024.m2ts> in S:\xx\Video\2016, track 0: codec DUMMY is not supported


Here what ffmpeg thinks:
Code: Select all
C:\Users\Ken>ffmpeg -i 20160602-101024.m2ts
ffmpeg version N-90065-g8a8d0b319a Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
... (removed configure line)
Input #0, mpegts, from '20160602-101024.m2ts':
  Duration: 00:05:00.03, start: 1.400000, bitrate: 29334 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s


Thanks! -Ken

Re: Media ignored, logs 'codec DUMMY is not supported'

PostPosted: Tue Jan 12, 2021 1:56 pm
by Jim Simon
kenjohanson wrote:TWO requests:


There is a separate forum for Feature Requests.

viewforum.php?f=33

Best practice is to search first, to see if someone already asked. If not, post one idea per thread with a very brief description of the idea in the thread's title.