asf2divX bug description file. JMR 12/02/2003 ============================================= (e-mail : moebius@altern.org) related files (see ftp://mplayerhq.hu/MPlayer/incoming/): asf2divX_fault.asf : example bug file asf2divX.txt : this file I have a problem to deal with somes ASF encoded files. I'm trying to transform these files to AVI files using 2 (or 3) pass MPEG-4 encoding. The aims is to be able to merge then after using avimerge. The problem is that mencoder segfaults on certains files at the begining of the last pass. As proposed on MPlayer-users list I've prepared a bugreport. Here is my config : distrib : Mandrake 9.0 kernel : 2.4.19-16mdk libc : 2.2.5 X : XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 gcc : 3.2 ld : GNU ld version 2.12.90.0.15 20020717 as : GNU assembler 2.12.90.0.15 20020717 cpu : processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Pentium(R) 4 CPU 1.90GHz stepping : 2 cpu MHz : 1894.276 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 3774.87 video card : ATI FireGL 8800 video driver : ATI drivers fglrx-glc22, Version : 4.2.0, Release : 2.5.1 fireGLinfo : OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: Fire GL 8800 128MB DDR Pentium 4 (SSE2) OpenGL version string: 1.3.3477 (X4.2.0-2.5.1) lspci -vv output : 00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04) Subsystem: Hewlett-Packard Company: Unknown device 124b Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Status: RQ=47 SBA+ 64bit- FW+ Rate=x1,x2,x4 Command: RQ=31 SBA+ AGP+ 64bit- FW+ Rate=x4 Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03) Subsystem: Intel Corp.: Unknown device 3013 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Found audio stream: 1 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 1 Samplerate: 22050 avg byte/sec: 4000 Block align: 1 bits/sample: 0 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=104 mp3.nFramesPerBlock=1 mp3.nCodecDelay=1393 ASF: audio scrambling: 1 x 1 x 1 stream type: guid_video_stream stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b type: 51 bytes, stream: 0 bytes ID: 2 unk1: 0 unk2: 0 FILEPOS=0x1D0 ==> Found video stream: 2 ======= VIDEO Format ====== biSize 40 biWidth 320 biHeight 240 biPlanes 1 biBitCount 24 biCompression 842289229='MP42' biSizeImage 0 =========================== Found movie at 0x307 - 0x11CF5F ASF: 1 audio and 1 video streams found Invalid plen type! assuming plen=0 Auto-selected ASF video ID = 2 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 VIDEO: [MP42] 320x240 24bpp [V] filefmt:6 fourcc:0x3234504D size:320x240 fps:1000,00 ftime:=0,0010 Opening video filter: [expand=-1:-1:-1:-1:1] Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffmp42] vfm:ffmpeg (FFmpeg M$ MPEG-4 v2) ========================================================================== audiocodec: framecopy (format=55 chans=2 rate=22050 bits=0 bps=15774 sample=0) Writing AVI header... Invalid plen type! assuming plen=0 avg. framerate: 15 fps [ffmpeg] aspect_ratio: 0,000000 VDec: vo config request - 320 x 240 (preferred csp: Planar YV12) Trying filter chain: expand lavc VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659) REQ: flags=0x401 req=0x0 requested bitrate is to low Could not open codec. FATAL: Cannot initialize video driver. videocodec: libavcodec (320x240 fourcc=58564944 [DIVX]) init_vo failed ext header missing, 0 left Pos: 0,0s 1f ( 0%) 0fps Trem: 0min 2mb A-V:0,000 [0:0] A/Vms 0/8 D/B/S 0/1/1 Invalid plen type! assuming plen=0 XXX initial v_pts=0,064 a_pos=7770 (0,522) mp_image: Unknown out_fmt: 0x85867C0 *** [lavc] Allocating mp_image_t, 320x240x0bpp YUV packed, 0 bytes get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf' Unicode font: 373 glyphs. Hope this may help you... JMR