tgotwig / vidmerger

📼 Merge video & audio files via CLI
https://tgotwig.github.io/vidmerger
113 stars 10 forks source link

🐞 Could not find tag for codec pcm_alaw in stream #1 #17

Open helmutcarter opened 3 years ago

helmutcarter commented 3 years ago

I get this error:

[mp4 @ 0x7fe854012400] Could not find tag for codec pcm_alaw in stream #1, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (copy) Last message repeated 1 times Ok(Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "" })

tgotwig commented 3 years ago

Hello @helmutcarter 🙋 What does media-info print out for both files?

Tyler-H commented 3 years ago

ffmpeg's binary updated at some point and now they don't support pcm_alaw. You need to pick a different audio codec like AAC or FLAC or something.

I had an old version of ffmpeg (not sure which one, unfortunately), and updated to the latest build yesterday. A test video I was converting from .avi to .mp4 (-copy c:v -copy a:v) worked before, and throws the same error as you now with the new version. Other content online seems to corroborate this https://stackoverflow.com/questions/47495713/could-not-find-tag-for-codec-pcm-alaw-in-stream-1-codec-not-currently-supporte

tgotwig commented 3 years ago

Hey @Tyler-H 👋 Thank you very much for your post! Very interesting 😊 Will take a closer look into this, would be cool if this could be reproduced with youtube-dl somehow 🤠

eriktelepovsky commented 2 years ago

Hello. I have the same issue. Is there a way how to easily solve it please?

zen010101 commented 10 months ago

same issue.

wes1993 commented 5 months ago

Same issue... Could we record using different container? MKV for example?

Best Regards Stefano

tgotwig commented 5 months ago

Heyy all 🙋 Please share small video snippets so I can reproduce 🙏😇