bobef
Joined: 05 Jun 2005 Posts: 269
|
Posted: Tue Dec 05, 2006 1:49 pm Post subject: [fixed] debug |
|
|
Quote: | <bobef> hello guys. i have a very persistent problem with mplayer and would like to ask you for help. i'm developing a gui for mplayer called rulesplayer. the problem is this - i cant play internet streams. mplayer says "file not found". when i execute exactly the same command from the console the file plays withing my player window but when i CreateProccess it wont...
<Compn> hehe that does sound like a problem
<Compn> is the stream in quotes?
<dalias> it almost surely has to do with the brokenness of the windows commandline
<bobef> yes, but i tried without them and it still wont work
<Compn> windows commandline works fine for me ;p
<uau> make it print the exact filename used
<Compn> bobef : can you make mplayer -v output and paste it online somewhere
<Compn> uau : -v will do that
<bobef> sure
<bobef> http://www.dsource.org/forums/viewtopic.php?p=12072#12072
<bobef> "'rp | " means this is the output of rulesplayer's command |
Code: |
rp| "c:\program files\_constant\rulesplayer\mplayer\mplayer.exe" -pp 0 -vo directx -ao win32 -subcp Windows-1251 -vf screenshot -nokeepaspect -zoom -brightness 0 -saturation 0 -contrast 0 -osdlevel 0 -colorkey 0x010001 -priority abovenormal -alang en -softvol -softvol-max 100.0 -af volnorm -font "C:\WINDOWS\fonts\arial.ttf" -subfont-text-scale 3 -subpos 100 -speed 1 -spualign 2 -subalign 2 -vf expand=-0:-0::0 -noframedrop -slave -v -identify -wid 591000 "http://downloads.oreilly.com/make/wp_turkey_hd.mov"
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Sempron(tm) Processor 2800+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
Setting process priority: abovenormal
get_path('codecs.conf') -> 'c:/program files/_constant/rulesplayer/mplayer/mplayer/codecs.conf'
Reading c:/program files/_constant/rulesplayer/mplayer/mplayer/codecs.conf: Can't open 'c:/program files/_constant/rulesplayer/mplayer/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-pp' '0' '-vo' 'directx' '-ao' 'win32' '-subcp' 'Windows-1251' '-vf' 'screenshot' '-nokeepaspect' '-zoom' '-brightness' '0' '-saturation' '0' '-contrast' '0' '-osdlevel' '0' '-colorkey' '0x010001' '-priority' 'abovenormal' '-alang' 'en' '-softvol' '-softvol-max' '100.0' '-af' 'volnorm' '-font' 'C:\WINDOWS\fonts\arial.ttf' '-subfont-text-scale' '3' '-subpos' '100' '-speed' '1' '-spualign' '2' '-subalign' '2' '-vf' 'expand=-0:-0::0' '-noframedrop' '-slave' '-v' '-identify' '-wid' '591000' 'http://downloads.oreilly.com/make/wp_turkey_hd.mov'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 'c:/program files/_constant/rulesplayer/mplayer/mplayer/input.conf'
Parsing input config file c:/program files/_constant/rulesplayer/mplayer/mplayer/input.conf
Input config file c:/program files/_constant/rulesplayer/mplayer/mplayer/input.conf parsed: 53 binds
get_path('wp_turkey_hd.mov.conf') -> 'c:/program files/_constant/rulesplayer/mplayer/mplayer/wp_turkey_hd.mov.conf'
Playing http://downloads.oreilly.com/make/wp_turkey_hd.mov.
get_path('sub/') -> 'c:/program files/_constant/rulesplayer/mplayer/mplayer/sub/'
WINSOCK2 init: 0
Filename for url is now http://downloads.oreilly.com/make/wp_turkey_hd.mov
Filename for url is now http://downloads.oreilly.com/make/wp_turkey_hd.mov
STREAM_HTTP(1), URL: http://downloads.oreilly.com/make/wp_turkey_hd.mov
WINSOCK2 init: 0
Filename for url is now http://downloads.oreilly.com/make/wp_turkey_hd.mov
Filename for url is now http://downloads.oreilly.com/make/wp_turkey_hd.mov
STREAM_ASF, URL: http://downloads.oreilly.com/make/wp_turkey_hd.mov
Trying ASF/HTTP...
===> ASF/HTTP failed
WINSOCK2 init: 0
Filename for url is now http://downloads.oreilly.com/make/wp_turkey_hd.mov
Filename for url is now http://downloads.oreilly.com/make/wp_turkey_hd.mov
STREAM_HTTP(2), URL: http://downloads.oreilly.com/make/wp_turkey_hd.mov
WINSOCK2 init: 0
rp| STDERR:
rp| C:\WINDOWS\fonts\arial.ttf doesn't look like a bitmap font description, ignoring.
rp| Cannot load bitmap font: C:\WINDOWS\fonts\arial.ttf
rp| Failed, exiting.
rp| File not found: 'downloads.oreilly.com/make/wp_turkey_hd.mov'
rp| Failed to open http://downloads.oreilly.com/make/wp_turkey_hd.mov.
Exiting... (End of file)
rp| >toggle con_shown |
|
|