Ticket #1871 (closed task: invalid)
how to batch extract all ac3 streams from vob file?
| Reported by: | abducted | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
hi !
I have vob files with multiple audio inside.
I would like to extract all the audio streams from all the vob files automatically.
I have tried this :
for %%a in ("*.vob") do ffmpeg -i %%a -vn -acodec copy %%~na.ac3
but this will extract only one ac3 track from the vobs, not all of them.
So how to batch extract all ac3 streams from the vob files please?
Change History
Note: See
TracTickets for help on using
tickets.



This is not a support forum (but a bug tracker), please see http://ffmpeg.org/contact.html for the mailing lists, ffmpeg-user should be appropriate for your question.
You will have to parse the output of ffmpeg -i or ffprobe to find out how many ac3 streams you have to export (and to find out the correct -map parameters).