gacopl / dvmkv2mp4

Convert any Dolby Vision/HDR10+ MKV to DV MP4 that runs on many devices
197 stars 36 forks source link

Question: How better is this than pure ffmpeg command #43

Closed GuyKh closed 9 months ago

GuyKh commented 9 months ago

Today, I use the following command to transform DolbyVision MKV to MP4 files (for LG TV):

ffmpeg -i source.mkv -map 0 -c copy -strict unofficial -c:s mov_text target.mp4

Is your binary better? Also - does it copies subtitles?

gacopl commented 9 months ago

unless something changed ffmpeg was not able to properly copy dv metadata, so resulting mp4's were not working in DV mode, besides it does other things everything in readme

GuyKh commented 9 months ago

I gotta say that this way it works on my LG TV

gacopl commented 9 months ago

which model and what ffmpeg version, i am sure anything with dolby truehd will not work

GuyKh commented 9 months ago

Perhaps. But LG Oled doesn't pass TrueHD over ARC (screw them!), so I'm using it for DolbyVision only

gacopl commented 9 months ago

Still LG model and ffmpeg version I'm sure version 5 and below weren't able to convert. Especially anything that was dv profile 7

GuyKh commented 9 months ago

TV i'm using is LG CX - using JellyFin app. FFMpeg:

ffmpeg --version
ffmpeg version 6.0-6ubuntu1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
  configuration: --prefix=/usr --extra-version=6ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
gacopl commented 9 months ago

cool maybe ffpmeg 6 finally got it right, this was created before that and it also has some automation built in, i for instance don't even look at it just make sure to put file in certain folder and wait for the result no matter if it has only truehd audio or DTS or sth like that, output is always playable on LG best possible unless the source was bad

but thanks for the info i will check it out maybe it works better than what i have now