[MPlayer-users] [Solved] convert an mp3 into a mpg2 transport stream with null video

David Timms dtimms at iinet.net.au
Mon Jan 26 22:49:37 CET 2009


Nico Sabbi wrote:
> On Monday 26 January 2009 15:50:05 David Timms wrote:
> 
>> As Mr Burns might utter: "Exsssellent !" ;-)
>>
>> Actually, two more Q:
>> 1. is there a way to make the video pure black, or of a single png
> 
> -rawvideo fomat=RGBA
> 
>> ? 2. is vbitrate in bit or kbit (1000 bit man doesn't indicate
>> which) ?
>>
> 
> kbit/sec

Thanks again Nico for those answers, making black video using that 
method does work.

When I did my test, I ctrl-c the 1 hour mp3 file, before the command 
completed, and then tested the resulting file.

Doing it for real, it seems that because the input video stream 
continues forever, that the output ts writing never completes - sits 
there working away. Any tricks to make mencoder stop writing into the 
stream once one of it's input files has no more content, or to use the 
length of the audio stream as the length of the output ?

Cheers, DaveT.



More information about the MPlayer-users mailing list