Open upekshapriya opened 6 years ago
Copy the second video stream assuming it is an mjpeg stream masquerading as cover art.
Only do this for m4v and mp4 files, not mkv files.
Workaround for ffmpeg not remapping channels for libopus automatically
Sorry this is all a bit of a mess but it mimics what I've done in the compiled version on my Mac which works perfectly for the files I'm converting, which I've been using for the last six months.
I also didn't realise that I had closed it last time I added a change I made.
Attaching the file I edited on my computer that I used as the basis for the changes here, which I found at /usr/local/lib/node_modules/h265ize/h265ize but added .txt so it could be uploaded here.
h265ize.txt Sorry I'm not used to using Github
Add hvc1 tag to codec so HEVC is playable by Quicktime in mp4 and m4v containers on MacOS. See https://danconnor.com/posts/21d8bd7c22f6ae6b423c3c09/how_to_encode_h_265_hevc_video_that_will_play_in_quicktime_on_macos_using_ffmpeg_