lisamelton / other_video_transcoding

Other tools to transcode videos.
MIT License
540 stars 24 forks source link

Input with dolby vision, HDR 10 compatibility not preserved #193

Closed zcutlip closed 10 months ago

zcutlip commented 10 months ago

I'm not sure if this is a problem with ffmpeg, other-transcode, or just a loose nut behind the keyboard, but here goes...

(also this HDR stuff is really confusing, so apologies if I'm not using the right terminology or maybe even having the wrong understanding of it all)

I have some UHD h.265 sources with Dolby Vision profiles and an HDR 10 compatibility layer (I think this is the right terminology). As I understand it the HDR 10 compatibility is important as a fallback for when DoVI (what I've seen dolby vision called?) isn't supported the video can still render properly

I need to re-encode the sources for size, and I think what I'm seeing is after transcoding with other-transcode, only the DoVI remains, but the HDR 10 compatibility wasn't preserved. This of course results in mostly unusable videos. If the viewing device doesn't support Dolby Vision, either: (1) Plex tries to transcode but fails, complaining about an incompatible color space, or (2) Plex allows the client to direct play, but the color is all out of whack

If I just load the source video into Plex, it plays & transcodes fine

Is there an option to either other-transcode or to ffmpeg to handle this correctly?

Happy to share samples if it helps

Also: thank you so much for this project. I've been using it and video_transcoding for years

lisamelton commented 10 months ago

@zcutlip My apologies for taking so long to respond to this.

Can you give me more information about the original input and then about the problematic output? Please attach MediaInfo output for both files to this issue. Also attaching the .log file generated during transcoding will help.

Thanks.

zcutlip commented 10 months ago

My apologies for taking so long to respond to this

No apologies necessary for responding to my question about your completely unpaid project ;-)

Sadly (or fortunately?), I can no longer reproduce. Before I thought to file an issue I'd already deleted and re-acquired the source, and now it seems to encode properly, preserving the HDR 10 compatibility layer.

I suppose I'll chalk this up to a bad source originally. If I come across another where Plex can handle the input but not the resulting output, I'll open another issue

zcutlip commented 10 months ago

p.s. I've been wanting to share a complimentary project with you and other users of other-transcode but didn't know the right forum. This isn't the right place either, but as long as I'm here...

I've been iterating for several years on a tool of my own to drive other-transcode as well as transcode-video for batch processing.

A few features:

Here's that project in case its useful to anyone: https://github.com/zcutlip/video-encoding

Anyway, thanks for your projects. They're super useful