[MPlayer-users] mencoder under linux to avi and play under windowswmplayer not work

Jerry Geis geisj at pagestation.com
Tue Apr 25 22:15:23 CEST 2006


RC

>On Mon, 24 Apr 2006 21:39:39 -0400
>Jerry Geis <geisj at pagestation.com <http://mplayerhq.hu/mailman/listinfo/mplayer-users>> wrote:

>>/ I thought or was hoping .avi was a cross system video type
/>>/ that I could encode under linux and playyyy with wmplayer.
/>
>It's a standard container, that most every video player will support,
>but NOT with every audio/video codec.
>
>As you've discovered, most players want WMV/WMA only in an ASF
>container.
>
>Since you don't seem to want to re-encode the video or audio, why not
>just use "mplayer -dumpstream" ?  Alternatively, you can try -of lavf
>(see docs) to make an asf file, or you can re-encode the video/audio to
>a more standard format that can be played in an AVI file.

RC,

I have tried a couple different options and have not been successful in getting 
wmplayer to play anything that mencoder (under linux) has output.

Can you suggest something that perhaps I have not tried? THanks,

mencoder -o ../jerry.mpg -oac lavc -ovc lavc -of lavf -endpos 60 http://192.168.1.171/img/video.asf

I get this when I added the "-of lavf".
--------------------------------------
[root at devcentos64 src]# mencoder -o ../jerry.mpg -oac lavc -ovc lavc -of lavf -endpos 60 http://192.168.1.171/img/video.asf
MEncoder 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

File not found: 'frameno.avi'
Failed to open frameno.avi
Resolving 192.168.1.171 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.171
Connecting to server 192.168.1.171[192.168.1.171]:80 ...
Cache size set to 320 KBytes
Connected to server: 192.168.1.171
success: format: 0  data: 0x0 - 0x0
ASF file format detected.
VIDEO:  [MP4S]  640x480  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x5334504D  size:640x480  fps:1000.00  ftime:=0.0010
==========================================================================
Requested audio codec family [g726] (afm=acm) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 8000 Hz, 1 ch, s16le, 16.0 kbit/12.50% (ratio: 2000->16000)
Selected audio codec: [ffg726] afm:ffmpeg (Sharp G.726 Audio)
==========================================================================
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
VIDEO CODEC ID: 12
[mp2 @ 0x9e22b0]Sampling rate 8000 is not allowed in mp2
Couldn't open codec mp2, br=224
-----------------------------------------

Again, my goal is to encode (using linux) an ASF stream into something that wmplayer can play.
It can be either mpeg or avi.

Jerry





More information about the MPlayer-users mailing list