vidmerger icon indicating copy to clipboard operation
vidmerger copied to clipboard

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

Open helmutcarter opened this issue 4 years ago • 7 comments

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: "" })

helmutcarter avatar Feb 16 '21 16:02 helmutcarter

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

tgotwig avatar Mar 26 '21 13:03 tgotwig

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

Tyler-H avatar Apr 28 '21 18:04 Tyler-H

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 🤠

tgotwig avatar May 02 '21 20:05 tgotwig

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

eriktelepovsky avatar Jan 12 '22 06:01 eriktelepovsky

same issue.

zen010101 avatar Aug 18 '23 12:08 zen010101

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

Best Regards Stefano

wes1993 avatar Jan 18 '24 23:01 wes1993

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

tgotwig avatar Jan 22 '24 09:01 tgotwig