Re: [MPlayer-users] re: WMVA again - some progress (new codec)
thanks for help,
send 1-5mb of your file to ftp.mplayerhq.hu/incoming inside a folder with this codec, codec sample, and this part of codecs.conf :)
Hello,
done, it is in wmva folder in incoming. Have a fun and let me know about it.
thanks, Martin
you have all the info correct, i tested it on the win32 mplayer port (which usually works with the codecs a little better) and it works correctly, "slave girl of zor" is the title of the clip. you say you get an all black image? are there any errors? do mplayer -v file.wmv, heres what the relevent part of mine looks like you can try -vf format=yuy2 or so, but i'm not sure it will help. i'll pass this along to roberto tongi, who might have to hack up mplayer a bit to get it working correctly on linux. or at least add your info+codec to mplayer :) Opening video decoder: [dmo] DMO video codecs DMO dll supports VO Optimizations 0 1 DMO dll might use previous sample when requested GetOutput r=0x0 size:921600 align:1 StreamCount r=0x0 1 1 Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ☼ ► ↑ Decoder is capable of YUV output (flags 0x1b) VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659) VO: [directx] 640x480 => 640x480 Planar YV12 VO: Description: Directx DDraw YUV/RGB/BGR renderer VO: Author: Sascha Sommer <saschasommer@freenet.de> <vo_directx><INFO>using singlebuffer overlay INFO: Win32/DMO video codec init OK. Selected video codec: [wmvadmo] vfm:dmo (Windows Media Video Adv DMO)
done, it is in wmva folder in incoming. Have a fun and let me know about it.
thanks, Martin
you have all the info correct, i tested it on the win32 mplayer port (which usually works with the codecs a little better) and it works correctly, "slave girl of zor" is the title of the clip.
you say you get an all black image? are there any errors? do mplayer -v file.wmv, heres what the relevent part of mine looks like
I copied -v output below. I see no errors, only the screen is black. Also with -v the CPU load is 100% during playback. Audio is ok.
you can try -vf format=yuy2 or so, but i'm not sure it will help.
It errors on me .. MPlayer 1.0pre5-3.1 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Athlon Thunderbird 1200 MHz (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. Reading config file /usr/local/encap/MPlayer-1.0pre5/etc/mplayer/mplayer.conf: není souborem ani adresářem Reading config file /home/devik/.mplayer/config Reading /home/devik/.mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayer release! at line 6 Reading /usr/local/encap/MPlayer-1.0pre5/etc/mplayer/codecs.conf: 73 audio & 181 video codecs CommandLine: '-v' 'Slavegirl of Zor - 640 - BDSM - vhsrip.wmv' init_freetype get_path('font/font.desc') -> '/home/devik/.mplayer/font/font.desc' font: can't open file: /home/devik/.mplayer/font/font.desc font: can't open file: /usr/local/encap/MPlayer-1.0pre5/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Linux RTC init error in ioctl (rtc_irqp_set 1024): Přístup odmítnut Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Using usleep() timing get_path('input.conf') -> '/home/devik/.mplayer/input.conf' Parsing input config file /home/devik/.mplayer/input.conf Input config file /home/devik/.mplayer/input.conf parsed: 50 binds get_path('Slavegirl of Zor - 640 - BDSM - vhsrip.wmv.conf') -> '/home/devik/.mplayer/Slavegirl of Zor - 640 - BDSM - vhsrip.wmv.conf' Playing Slavegirl of Zor - 640 - BDSM - vhsrip.wmv. [file] File size is 11599872 bytes STREAM: [file] Slavegirl of Zor - 640 - BDSM - vhsrip.wmv STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 DEMUXER: freeing demuxer at 0x85e97b0 ASF file format detected. Title: Slavegirl of ZOR Author: Copyright: 2004 Comment: xxx bdsm story Rating: xxx bondage ASF: packets: 59471 flags: 2 max_packet_size: 8000 min_packet_size: 8000 max_bitrate: 1108832 preroll: 3000 stream type: guid_audio_stream stream concealment: guid_audio_conceal_interleave type: 28 bytes, stream: 8 bytes ID: 1 unk1: 0 unk2: 1300FC FILEPOS=0x14D7 ==> Found audio stream: 1 ======= WAVE Format ======= Format Tag: 353 (0x161) Channels: 2 Samplerate: 48000 avg byte/sec: 12000 Block align: 2048 bits/sample: 16 cbSize: 10 Unknown extra header dump: [0] [88] [0] [0] [f] [0] [0] [40] [0] [0] =========================== ASF: audio scrambling: 1 x 1 x 2048 stream type: guid_video_stream stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b type: 73 bytes, stream: 0 bytes ID: 2 unk1: 0 unk2: 0 FILEPOS=0x1549 ==> Found video stream: 2 ======= VIDEO Format ====== biSize 62 biWidth 640 biHeight 480 biPlanes 1 biBitCount 24 biCompression 1096174935='WMVA' biSizeImage 0 Unknown extra header dump: [27] [0] [0] [1] [f] [cb] [de] [13] [f0] [ef] [80] [80] [0] [0] [1] [e] [10] [44] [4f] [c3] [bc] [80] =========================== ============ ASF Stream group == START === object size = 38 stream count=[0x2][2] stream id=[0x1][1] max bitrate=[0x1808a][98442] stream id=[0x2][2] max bitrate=[0xf6ad6][1010390] ============ ASF Stream group == END === Found movie at 0x15EA - 0x1C5BBAAA ASF: 1 audio and 1 video streams found Auto-selected ASF video ID = 2 VIDEO: [WMVA] 640x480 24bpp ASF: Searching for audio stream (id:1). Auto-selected ASF audio ID = 1 [V] filefmt:6 fourcc:0x41564D57 size:640x480 fps:1000,00 ftime:=0,0010 Clip info: name: Slavegirl of ZOR author: copyright: 2004 comments: xxx bdsm story get_path('sub/') -> '/home/devik/.mplayer/sub/' get_path('default.sub') -> '/home/devik/.mplayer/default.sub' ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer. FFmpeg's libavcodec audio codec INFO: libavcodec init OK! AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96,0 kbit) Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg)) ========================================================================== X11 opening display: :0.0 vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F) vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display) [x11] Detected wm supports layers. [x11] Current fstype setting honours LAYER X atoms ========================================================================== Opening video decoder: [dmo] DMO video codecs External func OLEAUT32.dll:8 get_path('registry') -> '/home/devik/.mplayer/registry' DMO dll supports VO Optimizations 0 1 DMO dll might use previous sample when requested GetOutput r=0x0 size:921600 align:1 StreamCount r=0x0 1 1 Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU Decoder is capable of YUV output (flags 0x1b) VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2) Trying filter chain: vo VDec: using BGR 16-bit as output csp (no 5) Movie-Aspect is undefined - no prescaling applied. VO Config (640x480->640x480,flags=0,'MPlayer',0x42475210) VO: [x11] 640x480 => 640x480 BGR 16-bit VO: Description: X11 ( XImage/Shm ) VO: Author: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> Sharing memory. SwScaler: using unscaled BGR 16-bit -> BGR 16-bit special converter INFO: Win32/DMO video codec init OK. Selected video codec: [wmvadmo] vfm:dmo (Windows Media Video Adv DMO) ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... [libaf] Adding filter dummy [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian) audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer device audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian)) audio_setup: using 2 channels (requested: 2) audio_setup: using 48000 Hz samplerate (requested: 48000) audio_setup: frags: 32/32 (4096 bytes/frag) free: 131072 AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 Starting playback... avg. framerate: 30 fps *** [vo] Allocating mp_image_t, 640x480x16bpp BGR packed, 614400 bytes get_path('subfont.ttf') -> '/home/devik/.mplayer/subfont.ttf' Unicode font: 656 glyphs. Selected font is fixed-width. [libaf] Removing filter dummy uninit audio: ffmpeg uninit video: dmo DEMUXER: freeing demuxer at 0x85e97b0 DEMUXER: freeing sh_audio at 0x85ebfb8 DEMUXER: freeing sh_video at 0x85ec060 vo: uninit ... Exiting... (Quit)
participants (2)
-
compn -
devik