here is ffprobe's output on a file: Input #0, matroska,webm, from…
- User
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
here is ffprobe's output on a file:
Input #0, matroska,webm, from '.\Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265.mkv': Metadata: title : GalaxyRG265 - Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265 COMMENT : GalaxyRG265 - Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265 ENCODER : Lavf60.5.100 Duration: 01:26:45.67, start: -0.005000, bitrate: 4608 kb/s Chapters: Chapter #0:0: start 0.000000, end 462.170000 Metadata: title : 00:00:00.000 Chapter #0:1: start 462.170000, end 1059.433000 Metadata: title : 00:07:42.170 Chapter #0:2: start 1059.433000, end 1315.064000 Metadata: title : 00:17:39.433 Chapter #0:3: start 1315.064000, end 1804.803000 Metadata: title : 00:21:55.064 Chapter #0:4: start 1804.803000, end 2118.533000 Metadata: title : 00:30:04.803 Chapter #0:5: start 2118.533000, end 2415.163000 Metadata: title : 00:35:18.533 Chapter #0:6: start 2415.163000, end 3155.527000 Metadata: title : 00:40:15.163 Chapter #0:7: start 3155.527000, end 3755.335000 Metadata: title : 00:52:35.527 Chapter #0:8: start 3755.335000, end 4498.577000 Metadata: title : 01:02:35.335 Chapter #0:9: start 4498.577000, end 4770.099000 Metadata: title : 01:14:58.577 Chapter #0:10: start 4770.099000, end 5205.667000 Metadata: title : 01:19:30.099 Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: title : GalaxyRG265 - Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265 BPS : 9312723 BPS-eng : 9312723 DURATION-eng : 01:26:45.667000000 NUMBER_OF_FRAMES: 124811 NUMBER_OF_FRAMES-eng: 124811 NUMBER_OF_BYTES : 6059867174 NUMBER_OF_BYTES-eng: 6059867174 _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_DATE_UTC: 2015-10-14 19:37:36 _STATISTICS_WRITING_DATE_UTC-eng: 2015-10-14 19:37:36 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES ENCODER : Lavc60.14.101 libx265 DURATION : 01:26:45.667000000 Stream #0:1(ger): Audio: eac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: title : GalaxyRG265 - Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265 BPS : 1509000 BPS-eng : 1509000 DURATION-eng : 01:26:45.664000000 NUMBER_OF_FRAMES: 488031 NUMBER_OF_FRAMES-eng: 488031 NUMBER_OF_BYTES : 981918372 NUMBER_OF_BYTES-eng: 981918372 _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_DATE_UTC: 2015-10-14 19:37:36 _STATISTICS_WRITING_DATE_UTC-eng: 2015-10-14 19:37:36 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES ENCODER : Lavc60.14.101 eac3 DURATION : 01:26:45.663000000 Stream #0:2(eng): Subtitle: subrip (srt) (default) Metadata: title : GalaxyRG256 - Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265 BPS : 23 BPS-eng : 23 DURATION-eng : 01:23:43.227000000 NUMBER_OF_FRAMES: 417 NUMBER_OF_FRAMES-eng: 417 NUMBER_OF_BYTES : 14992 NUMBER_OF_BYTES-eng: 14992 _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_DATE_UTC: 2015-10-14 19:37:36 _STATISTICS_WRITING_DATE_UTC-eng: 2015-10-14 19:37:36 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES DURATION : 01:25:14.902000000
I want to edit it in davinci resolve, but when imported it doesn't seem to recognise the audio track. please write an ffmpeg command to transfer this file into a format that resolve will be able to fully handle, with as little damage as possible
DaVinci Resolve can sometimes have issues with certain MKV containers or audio codecs like E-AC3 (Dolby Digital Plus). To create a Resolve-friendly version of your file while preserving quality, I'll recommend an FFmpeg command that:
Here's the command:
ffmpeg -i "Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265.mkv" \
-map 0:v:0 -c:v copy \
-map 0:a:0 -c:a pcm_s24le \
-map 0:s:0 -c:s mov_text \
-metadata:s:a:0 language=ger \
-metadata:s:s:0 language=eng \
"Angst.1983.ResolveReady.mov"
Key details:
-map 0:v:0 -c:v copy - Copies the HEVC video stream without re-encoding-map 0:a:0 -c:a pcm_s24le - Converts audio to 24-bit PCM (lossless)-map 0:s:0 -c:s mov_text - Converts subtitles to MOV-compatible formatAlternative if you prefer MP4 container (may have subtitle limitations):
ffmpeg -i input.mkv -map 0 -c:v copy -c:a aac -b:a 384k -c:s mov_text output.mp4
Note: The MOV version will be significantly larger due to uncompressed audio. If storage is a concern, you could use FLAC (-c:a flac) instead of PCM for lossless compression.
I should be clearer here; when I say "as little damage as possible" I don't mean "completely avoid damage at all costs including time and hard drive space". mild re-encoding to keep the audio reasonably sized is fine. I just don't want you to gratuitously reencode the video if it's possible to just repack the container without modifying the bytes
Got it! Since you want minimal quality loss but reasonable file sizes, we'll:
ffmpeg -i "Angst.1983.GERMAN.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265.mkv" \
-map 0:v:0 -c:v copy \
-map 0:a:0 -c:a aac -b:a 448k \
-map 0:s:0 -c:s mov_text \
-metadata:s:a:0 language=ger \
-metadata:s:s:0 language=eng \
"Angst.1983.ResolveReady.mp4"
If you prefer MOV (better for professional workflows, but slightly larger):
ffmpeg -i input.mkv \
-map 0:v:0 -c:v copy \
-map 0:a:0 -c:a pcm_s24le \ # Lossless but large
-map 0:s:0 -c:s mov_text \
-metadata:s:a:0 language=ger \
-metadata:s:s:0 language=eng \
"output.mov"
Let me know if you'd prefer a different balance (e.g., FLAC audio for lossless compression).