[libav-tools] avconv - converting VOB to MPG strips audio

Tim Nicholson tim.nicholson at bbc.co.uk
Mon Jan 21 08:33:53 CET 2013


On 20/01/13 14:01, James Gibbon wrote:
> On Sun, 20 Jan 2013 11:50:31 +0000
> James Gibbon <jg at jamesgibbon.com> wrote:
>
>>
>> Hi,
>>
>> I'm trying to convert VOBs losslessly to MPEG files - like this:
>>
>>    $ avconv -i INPUT.vob -acodec copy -vcodec copy OUTPUT.mpg
>>
>> - but I end up with an mpeg video with no audio.
>>
>
> OK, apologies - I tried playing with Totem, and there IS audio in
> there. Both smplayer and avidemux complain that the OUTPUT.mpg
> as derived above has no audio track. But Totem says, under 'Audio'
> in Properties:
>
> Codec: Dolby Digital (AC-3)
> Channels: Stereo
> Sample rate: 48000 Hz
> Bitrate: 192 kbps
>
> That's exactly what it says for the output video generated by
> avidemux, yet smplayer will play the audio for that one (and
> more importantly, so will my network media player).
>
> How can I get avconv to do the same thing, without re-encoding
> the audio? I'm trying to keep things lossless.
>

Try adding -target pal-dvd (or whatever standard the vob is)

> Thanks,
> James
>[..]

-- 
Tim Nicholson
Digital Media Services
BBC Studios and Post Production
+44 (0) 208 576 1229 or +44 (0) 7092 223819
Room 2517, Television Centre, Wood Lane, London, W12 7RJ
Intranet http://resources.gateway.bbc.co.uk/post_solutions/


-----------------------------
http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and 
may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in 
error, please delete it from your system.
Do not use, copy or disclose the 
information in any way nor act in reliance on it and notify the sender 
immediately.
Please note that the BBC monitors e-mails 
sent or received.
Further communication will signify your consent to 
this.
-----------------------------


More information about the libav-tools mailing list