Dear List!

I've copied an internet stream with mencoder to disk and now want to encode it to whatever is compatible with e.g. Windows Media Player. I'd prefer mpeg4, as it is just a short sequence which I would like to keep small in size.

# copy stream
mencoder mms://whatever -ovc copy -oac copy -of avi -o temp.avi

# tcprobe gives
tcprobe -i temp.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 1000.000 fps, codec=WMV3, frames=133001, width=320, height=240
[avilib] A: 48000 Hz, format=0x161, bits=16, channels=2, bitrate=64 kbps,
[avilib]    391 chunks, 1065480 bytes, CBR
[tcprobe] summary for temp.avi, (*) = not default, 0 = not detected
import frame size: -g 320x240 [720x576] (*)
       frame rate: -f 1000.000 [25.000] frc=0 (*)
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x161 [0x2000] (*)
                   bitrate=64 kbps
           length: 133001 frames, frame_time=0 msec, duration=0:02:13.001

# encoding
transcode -i sm.avi -x mplayer -y ffmpeg -F mpeg4 -b 32 -w 48 -R 1 -o fertig.mpg

Now, however, the file is still 15MB of size. With mencoder, I've already got 1.2MB.

But what is much more important for me: I cannot play the resulting file with Windows Media Player. I hear voice but no video is shown. Which codec do I need to take so that also WMP can play it? I've tried lots of, but none works.

Thanks for your help,
  greetz Ralph

Reply via email to