[MPlayer-users] Encoding from DVB-T mpeg-ts recordings

Nico Sabbi nsabbi at tiscali.it
Sun Oct 3 12:34:59 CEST 2004


Samson Lee wrote:

> I want to convert my DVB-T mpeg-ts recordings to mpeg4/divx video with 
> direct copy audio (mp3). The command I tried is this:


DVB contains almost always mp2, sometimes ac3

>
> mencoder -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi 
> input.ts
>
> When I play the output.avi file in Windows Media Player (yeh i know .. 
> it's for someone else!) or Zoomplayer, the video works but there is no 
> audio. The file plays properly with both video and audio in mplayer of 
> course. I also tried playing it with the DivX Player, which tells me, 
> "This file contains unknown audio data .. Tag 80".


80==0x50 is mp2. If you want to keep audio unmodified you should install 
the latest ffdshow
(available here: 
http://ffdshow.sourceforge.net/tikiwiki/tiki-view_articles.php) and 
configure
its audio decoder to handle mp2 (I suggest libmad as codec)

>
> If I use mencoder with "-oac mp3lame" to re-encode the original audio, 
> I am able to watch the file in WMP, ZP etc. This shows that I have a 
> mp3 audio filter registered ..
>
> Okay, so how do I convert my DVB-T mpeg-ts recordings to mpeg4/divx 
> video with direct copy audio into a file that is *portable* across as 
> many players as possible? If it's a problem with the source mpeg-ts 
> stream using "Tag 80" audio, is it possible to change it to another 
> "Tag"? Will it even work?
>
> Much appreciated ..





More information about the MPlayer-users mailing list