H265 Samsung HDR 10+ Media Import

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

apperson

  • Posts: 10
  • Joined: Mon Oct 05, 2020 2:26 am
  • Real Name: Bryan Apperson

H265 Samsung HDR 10+ Media Import

PostMon Oct 05, 2020 1:46 pm

I have a Samsung Galaxy Note S20 Ultra, which produces 4k Samsung HDR 10+ in MP4 using the H265 codec for video, and the AAC codec for audio. I am using resolve studio on Linux. I'm wondering how folks are working with the H265 format to get the HDR data into resolve, as well as the audio. When I import H265, the AAC audio is gone. I've tried using ffmpeg to transcode:

Code: Select all
ffmpeg -i Clips/20201004_142801.mp4 -c:v dnxhd -profile:v dnxhr_hqx -c:a pcm_s24le encoded_clips/dest.mov


However, that produces huge output, and strips HDR.
Offline

bstaley

  • Posts: 83
  • Joined: Tue Jan 15, 2019 1:26 pm
  • Real Name: Bill Staley

Re: H265 Samsung HDR 10+ Media Import

PostMon Oct 05, 2020 5:36 pm

If I'm not mistaken, Resolve in Linux cannot read AAC audio due to licensing. You'd need to convert the AAC to WAV format. The good news is, you should be able to leave the video stream as is.
Windows 10
AMD Threadripper 5950x
32GB RAM
nVidia GTX 1080
All SSD
Resolve Studio 17
Offline

apperson

  • Posts: 10
  • Joined: Mon Oct 05, 2020 2:26 am
  • Real Name: Bryan Apperson

Re: H265 Samsung HDR 10+ Media Import

PostMon Oct 05, 2020 7:15 pm

Yeah, I see that there are no MP4 codecs available for import or export. I'm a bit surprised as this is the studio edition and not the free edition. Is this a known issue?

The best workaround I have come up with seems to be:

Code: Select all
ffmpeg -i 20201004_160148.mp4 -codec:a pcm_s24le 20201004_160148.wav


Then import the video and audio, delete the original blank audio channels, do edits and whatever else. Then export the video back to H265 (again with no sound), export audio to wav.

Code: Select all
ffmpeg -i edited.wav edited.aac
ffmpeg -i edited.mp4 -i edited.aac -c copy -map 0:v:0 -map 1:a:0 manualaudio.mp4


This will work, but it means lining up the audio for each extra clip, etc.
Offline

apperson

  • Posts: 10
  • Joined: Mon Oct 05, 2020 2:26 am
  • Real Name: Bryan Apperson

Re: H265 Samsung HDR 10+ Media Import

PostMon Oct 05, 2020 8:35 pm

I worked on this a bit more:

Code: Select all
for clip in $(ls | grep mp4 | sed 's/\..*$//'); do ffmpeg -i ${clip}.mp4 -c:a pcm_s24le -c:v copy ../encoded_clips/${clip}.mov; done


This preserves the video encoding and does a batch convert to a Quicktime container with 24 bit wave audio. Much easier to work with when imported.

Return to Post Production

Who is online

Users browsing this forum: No registered users and 26 guests