6/12/2023 0 Comments Ffmpeg copy video reencode audioWhat should the ffmpeg parameters be, if I want to encode the video file to H. So when I have a movie file (mkv) with the following streams: 0: video Also most times the info what language the streams are in gets lost. I need help with the map option for multiple streams. ![]() This is the command I use: ffmpeg -i '01.mkv' -c:v copy -c:a ac3 -c:s copy 'test.mkv' However it only gets the first audio and first subtitle string. ![]() In most cases there is only one audio stream after encoding, when there were two before, and sometimes the subtitle streams are lost, too. It is a dual audio fileit’s an anime with Japanese and English audioand it has several subtitle streams inside as well. I already tried various combinations of -map 0 or -map a:0 -map s:0, but in all combinations I tried, either nothing is encoded at all, or not all other streams are copied to the new file. These examples generate an M3U8 output file from the audio and video streams, which is a UTF-8 encoded multimedia playlist. I'm looking for a way to re-encode the video stream of a movie only and keep all other streams as they are using ffmpeg or more specific streamio/streamio-ffmpeg ( Github - StreamIO-FFMPEG).
0 Comments
Leave a Reply. |