![]() So why would using "-map 0" cause it to fail when I used the exact same command to remux the original MKV into an MP4? And why does omitting "-map 0" allow it to work, but obviously doesn't copy both audio streams? Seems like a BUG to me because why does practically the exact same command work for going from MKV to MP4, but not from MP4 to MKV?įull Output ffmpeg version git-43a08d9 Copyright (c) 2000-2020 the FFmpeg developersĬonfiguration: -enable-gpl -enable-version3 -enable-sdl2 -enable-fontconfig -enable-gnutls -enable-iconv -enable-libass -enable-libdav1d -enable-libbluray -enable-libfreetype -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenjpeg -enable-libopus -enable-libshine -enable-libsnappy -enable-libsoxr -enable-libsrt -enable-libtheora -enable-libtwolame -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxml2 -enable-libzimg -enable-lzma -enable-zlib -enable-gmp -enable-libvidstab -enable-libvmaf -enable-libvorbis -enable-libvo-amrwbenc -enable-libmysofa -enable-libspeex -enable-libxvid -enable-libaom -enable-libgsm -disable-w32threads -enable-libmfx -enable-ffnvcodec -enable-cuda-llvm -enable-cuvid -enable-d3d11va -enable-nvenc -enable-nvdec -enable-dxva2 -enable-avisynth -enable-libopenmpt -enable-amf Output Error Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument > ffmpeg.exe -i input.mp4 -map 0 -c:v copy -c:a copy -c:s srt output.mkv > ffmpeg.exe -i input.mp4 -map 0 -c copy -c:s srt output.mkv When I try to use either of the two commands below using "-map 0" just like I did when I remuxed the original MKV into an MP4, the commands fail and both result in the "Full Output" shown at the bottom. > ffmpeg.exe -i input.mp4 -c:v copy -c:a copy -c:s srt output.mkv > ffmpeg.exe -i input.mp4 -c copy -c:s srt output.mkv ![]() These two commands work, however, the output MKV only contains ONE of the TWO audio streams. ![]() However, if I omit "-map 0" from the command, it works but only ONE of the audio streams get copied to the output MKV file. The resulting output MP4 contains all the streams from the original MKV.īut if I try to remux the output MP4 into an MKV using the same command, but with a different codec for the subtitles (srt) and different file extension (mkv), I get an error. > ffmpeg.exe -i input.mp4 -map 0 -c copy -c:s mov_text output.mkv ![]() I was able to remux the MKV into an MP4 using this command. I have an MKV file that contains 5 streams. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |