[gst-devel] Playing video files on Windows

KwangYul Seo kwangyul.seo at gmail.com
Wed Jan 9 06:09:31 CET 2008


Hello,

Yes. I see the same problem. GStreamer Windows binary can't play XVID video
files on Windows XP. It always crashes a few minutes later. (The crash point
is not deterministic though.) However, the same binary seems to work well in
Windows Vista.

I also compiled gstreamer and all of its dependent libraries including glib
using mingw. But it still crashes showing the same symtoms. I also changed
XVID decoder from ffmpeg to xvid, but it still crashed.

Any idea?


2008/1/9, Marko Mikkonen <mmikkone at mail.student.oulu.fi>:
>
>
> Hello,
>
> Oh my gawd! I must have had something wrong in the path the previous time
> I tried that command, because now it worked!
>
> But there's still one problem. The video file I try to play, plays for a
> few seconds and then an exception occurs in the program and it hangs. The
> video in the file is XviD coded (GSpot gives a version XviD 1.1.0 Final)
> and sound is MPEG-1 Layer 3. Container format is avi.
>
> There's an error message (I don't know what it means) in the command
> prompt window: OIL: ERROR liboilcpu.c 282:
> oil_cpu_i386_kernel_restrict_flags():  Operating system is not known to
> support SSE.  Assuming it does, which might cause problems
>
> Call stack is as follows:
>
> > avcodec-51.dll!02a65ba3()
>   [Frames below may be incorrect and/or missing, no symbols loaded for
> avcodec-51.dll]
>   avcodec-51.dll!02a6ab61()
>   libgstreamer-0.10.dll!0062824c()
>   libgstreamer-0.10.dll!0062b7f0()
>   libgstreamer-0.10.dll!0062824c()
>   avcodec-51.dll!02972f17()
>   avcodec-51.dll!02a7c1ae()
>   avcodec-51.dll!029683d1()
>   avcodec-51.dll!02a4f421()
>   avcodec-51.dll!02a7d567()
>   libgstreamer-0.10.dll!00628177()
>   libgstffmpeg.dll!024f5824()
>   libgstffmpeg.dll!024f68fa()
>   avcodec-51.dll!02962abe()
>   libgstffmpeg.dll!024f649a()
>   libgstffmpeg.dll!024f6205()
>   libgstffmpeg.dll!024f8485()
>   libgstreamer-0.10.dll!00628163()
>   libgstreamer-0.10.dll!00631886()
>   libgstcoreelements.dll!022db234()
>   libgstcoreelements.dll!022daf41()
>   libgstreamer-0.10.dll!0063fc99()
>   libglib-2.0-0.dll!672ff27a()
>   libglib-2.0-0.dll!672fd7d5()
>   libgthread-2.0-0.dll!649420da()
>   msvcrt.dll!77bcb530()
>   kernel32.dll!7d4dfe21()
>
> Output window of Visual Studio says:
>
> 'gst-launch-0.10.exe': Loaded 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\bin\gst-launch-0.10.exe', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'gst-launch-0.10.exe':
> Loaded 'C:\WINDOWS\SysWOW64\kernel32.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\GTK2-Runtime\lib\libglib-2.0-0.dll', Binary was not built with debug
> information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\GTK2-Runtime\lib\iconv.dll', Binary was not built with debug
> information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\SysWOW64\msvcrt.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\GTK2-Runtime\lib\intl.dll', Binary was not built with debug
> information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\SysWOW64\advapi32.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\rpcrt4.dll', No symbols
> loaded. 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\secur32.dll',
> No symbols loaded. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\SysWOW64\ole32.dll', No symbols loaded. 'gst-launch-0.10.exe':
> Loaded 'C:\WINDOWS\SysWOW64\gdi32.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\user32.dll', No symbols
> loaded. 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\shell32.dll',
> No symbols loaded. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\SysWOW64\shlwapi.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols
> loaded. 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll',
> No symbols loaded. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\GTK2-Runtime\lib\libgobject-2.0-0.dll', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\GTK2-Runtime\lib\libgthread-2.0-0.dll', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common Files\GStreamer\0.10\bin\libgstreamer-0.10.dll', Binary was
> not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\GTK2-Runtime\lib\libgmodule-2.0-0.dll', Binary was
> not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common Files\GStreamer\0.10\deps\libxml2.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\wsock32.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\GTK2-Runtime\lib\zlib1.dll', Binary was not built with debug
> information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\imm32.dll', No symbols loaded. 'gst-launch-0.10.exe':
> Loaded
>
> 'C:\WINDOWS\WinSxS\wow64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_5FA17F4E\comctl32.dll',
> No symbols loaded. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common Files\GStreamer\0.10\lib\gstreamer-0.10\libgstplaybin.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\bin\libgstpbutils-0.10.dll', Binary was not built
> with debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstcoreelements.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\bin\libgstbase-0.10.dll', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common Files\GStreamer\0.10\lib\gstreamer-0.10\libgstdecodebin.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgsttypefindfunctions.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstavi.dll', Binary was not
> built with debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program
> Files (x86)\Common Files\GStreamer\0.10\bin\libgstriff-0.10.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\bin\libgstaudio-0.10.dll', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common Files\GStreamer\0.10\lib\gstreamer-0.10\libgstffmpeg.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common Files\GStreamer\0.10\deps\avcodec-51.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common Files\GStreamer\0.10\deps\avutil-49.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common Files\GStreamer\0.10\deps\avformat-51.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstmpegaudioparse.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstmad.dll', Binary was not
> built with debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program
> Files (x86)\Common Files\GStreamer\0.10\bin\libgsttag-0.10.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstautodetect.dll', Binary was
> not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstaudioconvert.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstaudioresample.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\deps\liboil-0.3-0.dll', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common Files\GStreamer\0.10\lib\gstreamer-0.10\libgstvolume.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\bin\libgstcontroller-0.10.dll', Binary was not built
> with debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common Files\GStreamer\0.10\bin\libgstinterfaces-0.10.dll', Binary
> was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstwaveform.dll', Binary was
> not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\winmm.dll', No symbols loaded. 'gst-launch-0.10.exe':
> Loaded 'C:\WINDOWS\SysWOW64\wintrust.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\crypt32.dll', No
> symbols loaded. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\SysWOW64\msasn1.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\imagehlp.dll', No
> symbols loaded. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\wdmaud.drv', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\system32\msacm32.drv', No
> symbols loaded. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\msacm32.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\system32\midimap.dll', No
> symbols loaded. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstffmpegcolorspace.dll',
> Binary was not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstvideoscale.dll', Binary was
> not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\Program Files (x86)\Common
> Files\GStreamer\0.10\bin\libgstvideo-0.10.dll', Binary was not built with
> debug information. 'gst-launch-0.10.exe': Loaded 'C:\Program Files
> (x86)\Common
> Files\GStreamer\0.10\lib\gstreamer-0.10\libgstdirectdraw.dll', Binary was
> not built with debug information. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded. 'gst-launch-0.10.exe':
> Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.
> 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\SysWOW64\msctf.dll', No symbols
> loaded. 'gst-launch-0.10.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll',
> No symbols loaded. 'gst-launch-0.10.exe': Loaded
> 'C:\WINDOWS\system32\msctfime.ime', No symbols loaded. The thread 'Win32
> Thread' (0xb4c) has exited with code 0 (0x0). Unhandled exception at
> 0x02a65ba3 in gst-launch-0.10.exe: 0xC0000005:  Access violation reading
> location 0x0515b000.
>
> Maybe this is enough information for someone handy to fix the problem? If
> it isn't, please tell me what else I can do.
>
> -Marko
>
>
> ----- Original Message -----
> From: "KwangYul Seo" <skyul at nomadconnection.com>
> To: "Marko Mikkonen" <mmikkone at mail.student.oulu.fi>
> Cc: <gstreamer-devel at lists.sourceforge.net>
> Sent: Monday, January 07, 2008 10:41 PM
> Subject: Re: [gst-devel] Playing video files on Windows
>
>
> > Hello,
> >
> > Try the following command,
> >
> > gst-launch-0.10.exe playbin uri="file:///d:/path/a.avi"
> >
> > If it does not work on your computer, there might be a problem in your
> > GStreamer installation.
> >
> > Regards,
> > Kwang Yul Seo
> >
> >
> > 2008/1/8, Marko Mikkonen <mmikkone at mail.student.oulu.fi>:
> >>
> >>
> >> Hello,
> >>
> >> What kind of command do you use to play any video file on Windows with
> >> gst-launch (video _and_ sound)?
> >>
> >> So far I've tried playbin, but it doesn't work (there is no FILE
> protocol
> >> handler on Windows, apparently), so I suspect you should use decodebin?
> >> I've been trying a million different combinations, but I just can't
> find
> >> the right one.
> >>
> >> -Marko
> >>
> >> P.S. I guess this is not really a developer question but instead a user
> >> question, so perhaps this is not the right forum. But I couldn't find a
> >> better place to ask. Is there a better place?
> >>
> >>
> -------------------------------------------------------------------------
> >> Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >>
> >>
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080109/cbe6f541/attachment.htm>


More information about the gstreamer-devel mailing list