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

David Timms dtimms at iinet.net.au
Mon Jan 26 07:31:16 CET 2009


Hi,

I wanted to mux an input mp3 (copy) and some basic 'null' video stream 
into an output mpg2 transport stream. After reading many posts, and 
trying a heap of commands I'm up to:

ffmpeg -i audio.001.mp3 -i /home/davidt/Desktop/mypicture.png -f mpegts 
-acodec copy audiovideo.001.mpg

I thought this was going to work - but after checking it later, it never 
got past writing the first frame. Perhaps it is waiting for the next 
copy of mypicture.png (ie where you would use sequentially numbered 
images to build with %d back into a video). It seemed to be using 100%, 
but the file size had never ticked over.

Is it possible to create with mencoder or ffmpeg such a ts (ie just a 
single frame plays for the whole video, while the input audio is muxed 
in with no conversion) ?

DaveT.



More information about the MPlayer-users mailing list