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

Nico Sabbi nicola.sabbi at poste.it
Wed Jan 28 00:22:52 CET 2009


Il giorno mar, 27/01/2009 alle 08.49 +1100, David Timms ha scritto:
> 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.


see -endpos




More information about the MPlayer-users mailing list