[MPlayer-users] play only first 30 seconds of a song

rwk at americom.com rwk at americom.com
Sun Apr 4 11:15:55 CEST 2004


> > $ mplayer song.mp3 -endpos 30 -really-quiet -oac pcm -vc null -vo null
> > Unknown option on the command line: endpos
> 
> '-endpos' is not a mplayer option, but a mencoder option.
> 
> > P.S.  I am actually trying to get the first 30 seconds of the .mp3 back
> >       into .mp3 format.  If there is a better way to do this I would
> >       appreciate any suggestions.
> 
> I only know how to extract the whole audio stream:
> 
> mplayer -dumpaudio -dumpfile outfile.mp3 -vo null infile.avi

This is the wrong direction...  I want to convert the first 30 seconds
of a VBR .mp3 file to .wav.  Is this possible with mplayer or mencoder?

Dick




More information about the MPlayer-users mailing list