[MPlayer-users] play only first 30 seconds of a song
The Wanderer
inverseparadox at comcast.net
Tue Apr 6 18:52:15 CEST 2004
rwk at americom.com wrote:
>>> 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?
>>
>> I don't think so, no. MEncoder is a video encoder, not an audio
>> encoder. About the best you can do is
>>
>> mencoder -oac pcm -novideo -endpos 30 filename.mp3 -o filename.avi
>>
>> and then
>>
>> mplayer -vo null -vc dummy -dumpaudio -dumpfile filename.wav filename.avi
>>
>> but that's clunky, by no means guaranteed to work, and you ought to
>> be able to do it more easily and perhaps better with a program
>> which is actually intended to do audio encoding, rather than one
>> which does it as a side thing to make video encoding work easier.
>
> Any suggestions for a definitive audio encoder?
Nope. I haven't found anything for Linux offhand, though now that I
think about it I seem to remember my brother's having used something
which while perhaps not definitive could certainly do this job... I'll
have to ask him about it when he gets off work.
--
The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
A government exists to serve its citizens, not to control them.
More information about the MPlayer-users
mailing list