#10997 closed defect (invalid)
ffmpeg doesn't see the audio stream that definitely exists
Reported by: | bitworld58 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | MasterQuestionable | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
Stream map '0:a' matches no streams.
To ignore this, add a trailing '?' to the map.
Failed to set value '0:a' for option 'map': Invalid argument
Error parsing options for output file output.mp3.
Error opening output files: Invalid argument
ffmpeg version N-115067-gdf868bae23-20240504
How to reproduce:
ffmpeg -i test.h265 -map 0:a -c:a copy output.mp3
Attachments (2)
Change History (8)
by , 8 months ago
comment:1 by , 8 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 8 months ago
It turns out that the format is not supported? Audio is available in players
comment:3 by , 8 months ago
If you claim that this file is in reality mp3 and gets misdetected (if the mp3 demuxer is forced, it instead errors out with "Failed to read frame size: Could not seek to 7530."), you need to say so. You also need to say what other player can play this file.
comment:4 by , 8 months ago
File from an IP camera with video and sound, video can be extracted, but audio is not detected
This player plays with sound: https://www.polyvision.ru/upload/programs/sw/Player07112022_setup.exe
This program converts to mp4 with sound: http://www.youcam.pro/soft/VideoConver.zip
Also, any VMS plays with sound
comment:5 by , 8 months ago
Summary: | Stream map '0:a' matches no streams → ffmpeg doesn't see the audio stream that definitely exists |
---|
by , 8 months ago
Attachment: | test.h265.txt added |
---|
͏ The format appears atypical.
͏ My guess is that of sort of raw concatenation: which couldn't be possibly perfectly supported by FFmpeg.
͏ (given the ͏"test.h265" indeed contains the claimed audio stream)
comment:6 by , 8 months ago
Cc: | added |
---|
It is intended and not a bug that remapping non-existing streams errors out.