Jump to content

Convert Utility: Add an option to repack the file


vdatanet

Recommended Posts

vdatanet

It would be nice to have an option to repack a file (leaving video stream intact) and convert audio if needed. For example, repack MKV to MP4. Now, If you select keep original quality, video is still reencoded. 

 

This has the advantage of being faster and if the source video is HEVC HDR, HDR is not lost.

  • Like 1
Link to comment
Share on other sites

vdatanet

One may think that video stream will be copied, but video is reencoded, but it take so long and HDR is lost.
 
5e14643f9d6ca_Anotacin20200107115600.jpg
 

@@softworkz Can you have a look at this? Thanks!

 

Here is the command, I'm not an ffmpeg expert, but in fact it seems that video is copied, but HDR is lost.

2020-01-07 11:56:12.669 Info VideoEncoder: ProcessRun 'Encoding 2e4e9f' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -copyts -start_at_zero -f matroska,webm -re -c:v:0 hevc -i "/media/4k/......." -map 0:0 -map 0:1 -map 0:2 -map 0:3 -sn -c:v:0 copy -c:a:0 aac -ab:a:0 384000 -ac:a:0 6 -metadata:s:a:0 language=spa -disposition:a:0 default -c:a:1 aac -ab:a:1 384000 -ac:a:1 6 -metadata:s:a:1 language=eng -disposition:a:1 0 -c:a:2 aac -ab:a:2 384000 -ac:a:2 6 -metadata:s:a:2 language=eng -disposition:a:2 0 -map_metadata -1 -map_chapters -1 "/var/lib/emby/sync/5/13/2e4e9fca-998e-4f64-b4b5-752b2c1ab0f8.mp4"
Edited by vdatanet
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...