Opened 2 weeks ago

Closed 2 weeks ago

Last modified 13 days ago

#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)

test.h265 (1.8 MB ) - added by bitworld58 2 weeks ago.
test.h265.txt (21.2 KB ) - added by MasterQuestionable 13 days ago.
͏    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)

Download all attachments as: .zip

Change History (8)

by bitworld58, 2 weeks ago

Attachment: test.h265 added

comment:1 by mkver, 2 weeks ago

Resolution: invalid
Status: newclosed

It is intended and not a bug that remapping non-existing streams errors out.

comment:2 by bitworld58, 2 weeks ago

It turns out that the format is not supported? Audio is available in players

comment:3 by mkver, 2 weeks 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 bitworld58, 2 weeks 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

Last edited 13 days ago by bitworld58 (previous) (diff)

comment:5 by bitworld58, 2 weeks ago

Summary: Stream map '0:a' matches no streamsffmpeg doesn't see the audio stream that definitely exists

by MasterQuestionable, 13 days 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 MasterQuestionable, 13 days ago

Cc: MasterQuestionable added
Note: See TracTickets for help on using tickets.