Opened 10 years ago

Closed 10 years ago

#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


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 (1)

comment:1 by Carl Eugen Hoyos, 10 years ago

Resolution: invalid
Status: newclosed

This is not a support forum (but a bug tracker), please see 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).

Note: See TracTickets for help on using tickets.