lisamelton / video_transcoding

Tools to transcode, inspect and convert videos.
MIT License
2.39k stars 160 forks source link

Pass-through video? #303

Closed vasuvasu closed 4 years ago

vasuvasu commented 4 years ago

Just spent twelve years encoding 40 files with x265 and realized I copied the original DTS track over instead of encoding down to 384kbit eac3 like I meant. Is there a way to run through a new batch again, but pass-through video and just re-do audio?

lisamelton commented 4 years ago

@vasuvasu Ouch. Well, I think we've all done something like that at one time or another.

So, there's no way to do this with transcode-video or even HandBrakeCLI but there's a fairly easy way to do this with ffmpeg. A command something like this could work:

ffmpeg -i input.mkv -c:v copy -c:a eac3 -b:a 384k output.mkv

Does that help?

vasuvasu commented 4 years ago

Yes, thank you so much!

lisamelton commented 4 years ago

@vasuvasu Great! Once you have that working, we can close this issue.