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

Nico Sabbi Nicola.Sabbi at poste.it
Mon Jan 26 09:45:53 CET 2009


On Monday 26 January 2009 07:31:16 David Timms wrote:
> 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.

mencoder -of lavf -o file.mpegts ....



More information about the MPlayer-users mailing list