Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mux failed: Nothing was written into output file #572

Open
ssnangua opened this issue Dec 26, 2024 · 1 comment
Open

Mux failed: Nothing was written into output file #572

ssnangua opened this issue Dec 26, 2024 · 1 comment

Comments

@ssnangua
Copy link

ssnangua commented Dec 26, 2024

Versions:

[Link] N_m3u8DL-RE_actions-12355487453_win-x64_20241216
[Link] ffmpeg-2024-12-26-git-fe04b93afa-full_build

Command:

N_m3u8DL-RE.exe https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p.mpd --save-name out -M mkv -sv best -sa all -ss all --key 9eb4050de44b4802932e27d75083e266:166634c675823c235a4a9446fad52e4d --decryption-engine FFMPEG

Log:

20:21:44.513 INFO : 二进制合并中...
20:21:44.525 WARN : out.und.mp4
20:21:44.526 WARN : out.en.m4a
20:21:44.526 WARN : out.en-AU.m4a
20:21:44.526 WARN : out.et-ET.m4a
20:21:44.527 WARN : out.ru.srt
20:21:44.527 WARN : out.es.srt
20:21:44.527 WARN : out.zh-Hant-CN.srt
20:21:44.527 WARN : out.nl.srt
20:21:44.528 WARN : out.en.srt
20:21:44.528 WARN : out.ru.copy.srt
20:21:44.528 WARN : out.es.copy.srt
20:21:44.529 WARN : out.zh-Hant-CN.copy.srt
20:21:44.529 WARN : out.nl.copy.srt
20:21:44.529 WARN : out.en.copy.srt
20:21:44.529 WARN : Muxing to out.MUX.mkv
20:21:44.571 WARN : [matroska @ 000001e7dd55b580] Only audio, video, and subtitles are supported for Matroska.
20:21:44.572 WARN : [out#0/matroska @ 000001e7dd5a91c0] Could not write header (incorrect codec parameters ?): Invalid
argument
20:21:44.574 WARN : [sost#0:11/srt @ 000001e7ddaa9200] Task finished with error code: -22 (Invalid argument)
20:21:44.575 WARN : [sost#0:11/srt @ 000001e7ddaa9200] Terminating thread with return code -22 (Invalid argument)
20:21:44.575 WARN : [out#0/matroska @ 000001e7dd5a91c0] Nothing was written into output file, because at least one of
its streams received no packets.
20:21:44.578 ERROR: Mux failed
20:21:44.578 ERROR: Failed

Mux by FFmpeg is Ok:

ffmpeg.exe -i out.und.mp4 -i out.en.m4a -i out.en-AU.m4a -i out.et-ET.m4a -i out.ru.srt -i out.es.srt -i out.zh-Hant-CN.srt -i out.nl.srt -i out.en.srt -i out.ru.copy.srt -i out.es.copy.srt -i out.zh-Hant-CN.copy.srt -i out.nl.copy.srt -i out.en.copy.srt -map 0:v -map 1:a -map 2:a -map 3:a -map 4 -map 5 -map 6 -map 7 -map 8 -map 9 -map 10 -map 11 -map 12 -map 13 -c:v copy -c:a copy -c:s copy out.mkv
[out#0/matroska @ 000001df123195c0] video:243744KiB audio:17206KiB subtitle:21KiB other streams:0KiB global headers:0KiB muxing overhead: 0.198771%
frame=17616 fps=0.0 q=-1.0 Lsize=  261489KiB time=00:09:27.00 bitrate=3778.0kbits/s speed=1.46e+03x
@ssnangua
Copy link
Author

It seems to be an issue with the mkv format, -M mkv -> -M mp4, everything is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant