[MPlayer-users] convert an mp3 into a mpg2 transport stream with null video
Nico Sabbi
Nicola.Sabbi at poste.it
Mon Jan 26 14:40:30 CET 2009
On Monday 26 January 2009 14:22:48 David Timms wrote:
> Nico Sabbi wrote:
> >> 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 ....
>
> Thanks for the tip Nico, though I'm not sure of the complete
> command; tried a few variants of:
>
> mencoder -of lavf -lavfopts format=mpegts -o outputfile.ts
> input_audio.mp3 MEncoder dev-SVN-r27514-4.3.2 (C) 2000-2008 MPlayer
more something like:
mencoder -of lavf -lavfopts format=mpegts -o outputfile.ts -audiofile
input_audio.mp3 -rawvideo w=320:h=240:fps=25 -ovc frameno
-demuxer rawvideo /dev/zero
eventually changing -ovc frameno with -ovc lavc -lavcopts
vcodec=mpeg1video:br=200
More information about the MPlayer-users
mailing list