VXctor Paesa wrote: Hola,
I am trying to convert a VOB stream (Pixar's Bug's Life) into a .mp4 stream, but:
The VOB files have got six streams (five for audio and one for the video).
This is the mapping:
0x80 - Audio - AC3 / 6ch / 48kHz / DRC / English / LBA: 29 / PTS: 00:00:00.280 / Delay: 0ms
0x81 - Audio - AC3 / 6ch / 48kHz / DRC / Deutsch / LBA: 30 / PTS: 00:00:00.280 / Delay: 0ms
0x82 - Audio - AC3 / 6ch / 48kHz / DRC / Espa?ol / LBA: 31 / PTS: 00:00:00.280 / Delay: 0ms
0x83 - Audio - AC3 / 2ch / 48kHz / DRC / Norsk / LBA: 32 / PTS: 00:00:00.280 / Delay: 0ms
0x84 - Audio - AC3 / 2ch / 48kHz / DRC / Dansk / LBA: 33 / PTS: 00:00:00.280 / Delay: 0ms
0xE0 - Video - MPEG-2 / 720x576 (PAL) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.280 / Delay: 0ms
The output could be smoothly playable in mplayer, VLC or the like...any free mediaplayer.
I would like to extract 0x82 (spanish) in order to create a .mp4 with audio in spanish.
The question is: How do I tell ffmpeg to decode that one (and *only* that one)?
If nothing is told, ffmpeg creates a .mp4 file with audio in english which comprises only the
first .vob (around the first twenty minutes of film).
Which leads to another question relating to video:
Since I have got vts_01_x.vob files numbered from 1 to 6...How do I join them in order to
create a single .mp4 clip for the whole movie?
I tried ffmpeg -i vts_01_1.vob vts_01_2.vob vts_01_3.vob vts_01_4.vob...up until vts_01_6.vob,
but when ffmpeg finishes encoding the fist .vob, it terminates. No more vobs are added.
A) Para tu primera pregunta:
1) Descubre el n?mero del "stream", este comando te dar? la lista:
ffmpeg -i nombre_de_tu_fichero.VOB
2) Supongamos que es el Stream 0.3, lo podr?s seleccionar con la opci?n "-map", tal que as?:
ffmpeg -i nombre_de_tu_fichero.VOB -map 0.3 salida.mp4
B) Para la segunda, lo m?s f?cil es que apliques DVDShrink a esos VOB, y le digas que no cree
los VOB con l?mite de 1 GB, as? tendr?s un ?nico VOB grandote.
Saludos,
V?ctor
When typing the command ffmpeg -i vts_01_1.vob -map0.3 -ab 128 -ar 44100 -s 608x256 /home/juanja/bugs.mp4 the error "Number of stream maps must match number of output streams" appears. No encoding is done at all. Sorry for my question: ?Is it supposed I must specify as many output streams as there are in the original .vob? That seems a little absurd....but I think the documentation is not clear enough at this point, in my opinion. Here I paste what the documentation web says: "`-map input stream id[:input stream id]' Set stream mapping from input streams to output streams. Just enumerate the input streams in the order you want them in the output. [input stream id] sets the (input) stream to sync against." ?Any idea? I trued typing "-map 0.3 0.2 0.4 0.5"...and it obviously became a nonsense for the program. V?ctor: En relaci?n a lo que comentas del ?nico VOB grandote con el DVDShrink, lo probar?. Es que uso Linux, y ahora estoy bajando cosas con el aMule, y por no reiniciar....;-P Greetings, Juan Javier.
On Fri, 2006-09-29 at 18:50 +0200, Juanjavier wrote:
When typing the command
ffmpeg -i vts_01_1.vob -map0.3 -ab 128 -ar 44100 -s 608x256 /home/juanja/bugs.mp4
the error "Number of stream maps must match number of output streams" appears.
No encoding is done at all.
You have to give *all* mappings explicitly if you specify any mappings at all. In your case, suppose that input video stream has an index of 0.1 you should do: $ ffmpeg -i vts_01_1.vob -map 0.1 -map 0.3 -ab 128 -ar 44100 -s \ 608x256 /home/juanja/bugs.mp4 And remember -- the order of -map is important too. Thanks, Roman.
On Sep 29, 2006, at 11:50 AM, Juanjavier wrote:
VXctor Paesa wrote: Hola,
I am trying to convert a VOB stream (Pixar's Bug's Life) into a .mp4 stream, but: The VOB files have got six streams (five for audio and one for the video). This is the mapping: 0x80 - Audio - AC3 / 6ch / 48kHz / DRC / English / LBA: 29 / PTS: 00:00:00.280 / Delay: 0ms 0x81 - Audio - AC3 / 6ch / 48kHz / DRC / Deutsch / LBA: 30 / PTS: 00:00:00.280 / Delay: 0ms 0x82 - Audio - AC3 / 6ch / 48kHz / DRC / Espa?ol / LBA: 31 / PTS: 00:00:00.280 / Delay: 0ms 0x83 - Audio - AC3 / 2ch / 48kHz / DRC / Norsk / LBA: 32 / PTS: 00:00:00.280 / Delay: 0ms 0x84 - Audio - AC3 / 2ch / 48kHz / DRC / Dansk / LBA: 33 / PTS: 00:00:00.280 / Delay: 0ms 0xE0 - Video - MPEG-2 / 720x576 (PAL) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.280 / Delay: 0ms The output could be smoothly playable in mplayer, VLC or the like...any free mediaplayer. I would like to extract 0x82 (spanish) in order to create a .mp4 with audio in spanish. The question is: How do I tell ffmpeg to decode that one (and *only* that one)? If nothing is told, ffmpeg creates a .mp4 file with audio in english which comprises only the first .vob (around the first twenty minutes of film). Which leads to another question relating to video: Since I have got vts_01_x.vob files numbered from 1 to 6...How do I join them in order to create a single .mp4 clip for the whole movie? I tried ffmpeg -i vts_01_1.vob vts_01_2.vob vts_01_3.vob vts_01_4.vob...up until vts_01_6.vob, but when ffmpeg finishes encoding the fist .vob, it terminates. No more vobs are added.
A) Para tu primera pregunta: 1) Descubre el n?mero del "stream", este comando te dar? la lista:
ffmpeg -i nombre_de_tu_fichero.VOB
2) Supongamos que es el Stream 0.3, lo podr?s seleccionar con la opci?n "-map", tal que as?:
ffmpeg -i nombre_de_tu_fichero.VOB -map 0.3 salida.mp4
B) Para la segunda, lo m?s f?cil es que apliques DVDShrink a esos VOB, y le digas que no cree los VOB con l?mite de 1 GB, as? tendr?s un ?nico VOB grandote.
Saludos, V?ctor
When typing the command
ffmpeg -i vts_01_1.vob -map0.3 -ab 128 -ar 44100 -s 608x256 /home/ juanja/bugs.mp4
the error "Number of stream maps must match number of output streams" appears.
No encoding is done at all.
Sorry for my question: ?Is it supposed I must specify as many output streams as there are in the original .vob? That seems a little absurd....but I think the documentation is not clear enough at this point, in my opinion.
Here I paste what the documentation web says:
"`-map input stream id[:input stream id]'
Set stream mapping from input streams to output streams. Just enumerate the input streams in the order you want them in the output. [input stream id] sets the (input) stream to sync against."
?Any idea? I trued typing "-map 0.3 0.2 0.4 0.5"...and it obviously became a nonsense for the program.
V?ctor: En relaci?n a lo que comentas del ?nico VOB grandote con el DVDShrink, lo probar?. Es que uso Linux, y ahora estoy bajando cosas con el aMule, y por no reiniciar....;-P
Greetings, Juan Javier.
Try this: ffmpeg -i vts_01_1.vob -map 0.0:0.0 -map 0.3:0.1 -ab 128 -ar 44100 -s 608x256 /home/juanja/bugs.mp4 Jon ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com
participants (3)
-
ffmpeg@juanjaviermartinez.com -
jonmartin77@concavity.org -
rvs@sun.com