#10133 closed defect (wontfix)
Audio track in TS container not detected
Reported by: | kvasa | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
% ffmpeg -i sample.ts -vn -c:a copy out.aac ffmpeg 5.1.2
This results in an error:
Output file #0 does not contain any stream
This is because FFmpeg fails to recognize the audio stream in the file - e.g. MediaInfo recognizes the audio correctly.
I am not exactly sure where the issue is, I am attaching the file.
Attachments (1)
Change History (4)
by , 2 years ago
comment:1 by , 23 months ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
By default FFmpeg only analyzes the first 5 seconds of data, and that only contains video. This can be tuned with -analyzeduration if needed. So this works:
ffmpeg -analyzeduration 10000000 -i sample.ts -vn -c:a copy out.aac
It is also worth mentioning that the stream is not properly muxed and has no PAT/PMT. So I don't think anything need to be changed on the ffmpeg side.
Note:
See TracTickets
for help on using tickets.
Sample file to reproduce the issue with.