Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > AppleTV

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-14-2009, 01:02 AM
lstep
Status: Offline
Member
 
Join Date: Apr 2007
Posts: 38
Rep Power: 0
lstep is on a distinguished road
Default VP7 video using nitoTV?

There is a video compression scheme which produces VP7 type files. The official web site is VP7 . mplayer (osx ver 1 release candidate 2) on the mac will play this provided you install the codec package for OSX (it appears to be the same one that is installed by nitoTV. It is
(http://www.mplayerhq.hu/MPlayer/rele...6-20060611.zip).
The version of mplayer is

(http://www.mplayerhq.hu/MPlayer/rele...OSX_1.0rc2.dmg)

When playing such a file using nitoTV I get audio but no video. Any help would be appreciated. I realize it's an obscure codec but it does show up every now and then and the only thing on the Mac that seems to play it is Mplayer. Even VLC won't play it.

Thank's...ls
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-14-2009, 10:02 PM
Olethros
Status: Online
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 689
Rep Power: 38
Olethros is on a distinguished road
Default

try to ssh in and run mplayer -v filename and examine the output messages. This might give an idea of what is wrong. There could be a few reasons, examining the verbose logfile will probably nail the real cause.

Nito, if you are reading - I have tried before to compile mplayer for appletv but never had success in building something that can run on the appletv. I have no problems compiling and running binaries on my 10.5 and now 10.6 machine, do you have something special about the way you have set up your build environment?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-15-2009, 09:20 AM
lstep
Status: Offline
Member
 
Join Date: Apr 2007
Posts: 38
Rep Power: 0
lstep is on a distinguished road
Default

Quote:
Originally Posted by Olethros View Post
try to ssh in and run mplayer -v filename and examine the output messages. This might give an idea of what is wrong. There could be a few reasons, examining the verbose logfile will probably nail the real cause.
Hmm...I can't find the binary! Where does it get installed?

ls
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 09-15-2009, 12:18 PM
Olethros
Status: Online
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 689
Rep Power: 38
Olethros is on a distinguished road
Default

Code:
/System/Library/CoreServices/Finder.app/Contents/PlugIns/nitoTV.frappliance/Contents/Resources/mplayer -v pathtovideo/videofilename
This should give you basic verbose/debug information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 09-16-2009, 03:53 AM
lstep
Status: Offline
Member
 
Join Date: Apr 2007
Posts: 38
Rep Power: 0
lstep is on a distinguished road
Default

Quote:
Originally Posted by Olethros View Post
Code:
/System/Library/CoreServices/Finder.app/Contents/PlugIns/nitoTV.frappliance/Contents/Resources/mplayer -v pathtovideo/videofilename
This should give you basic verbose/debug information.
Ok, I got a pretty long list but here is what appears to be the video part.

-------start----
VIDEO: [VP70] 512x384 24bpp 30.000 fps 389.9 kbps (47.6 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3 fourcc:0x30375056 size:512x384 fps:30.000 ftime:=0.0333
get_path('sub/') -> '/Users/frontrow/.mplayer/sub/'
================================================== ========================
Opening video decoder: [vfwex] Win32/VfWex video codecs
======= Win32 (VFW) VIDEO Codec init =======
WARNING: Attempting to use DLL codecs but environment variable
DYLD_BIND_AT_LAUNCH not set. This will likely crash.
Loading codec DLL: 'vp7vfw.dll'
Win32 LoadLibrary failed to load: vp7vfw.dll, /usr/local/lib/codecs/vp7vfw.dll, /usr/lib/win32/vp7vfw.dll, /usr/local/lib/win32/vp7vfw.dll
Can't open library vp7vfw.dll
ICOpen failed! unknown codec / wrong parameters?
VDecoder init failed
Cannot find codec matching selected -vo and video format 0x30375056.
Read DOCS/HTML/en/codecs.html!

-----



Does any of this help? It appears as though vp7vfw.dll is not installed by the mplayer codec package. Odd as it is on my mac in /usr/local/lib/codecs . I believe the same package is used by the nitoTV installer. Maybe a manual install?

ls

Last edited by lstep; 09-16-2009 at 04:00 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 09-16-2009, 08:54 AM
Olethros
Status: Online
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 689
Rep Power: 38
Olethros is on a distinguished road
Default

You can try a manual install of just this dll from your mac.

Also, the DYLD_BIND_AT_LAUNCH should be set if you don't want mplayer to crash while you are testing this. NitoTV should handle this when videos are played within nitoTV but if you experience more problems and want to troubleshoot further with verbose mode you should set DYLD_BIND_AT_LAUNCH

You can do that by typing
Code:
export DYLD_BIND_AT_LAUNCH=1
Finally, if you are still having troubles, try adding
Code:
-msglevel win32=9
to the command line when you run mplayer. This will show you even more information about how mplayer loads the DLL to play this video.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 09-18-2009, 08:03 PM
nitosoft
Status: Online
Developer
 
Join Date: Jul 2008
Posts: 336
Rep Power: 18
nitosoft is on a distinguished road
Default

Quote:
Originally Posted by lstep View Post
Ok, I got a pretty long list but here is what appears to be the video part.

-------start----
VIDEO: [VP70] 512x384 24bpp 30.000 fps 389.9 kbps (47.6 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3 fourcc:0x30375056 size:512x384 fps:30.000 ftime:=0.0333
get_path('sub/') -> '/Users/frontrow/.mplayer/sub/'
================================================== ========================
Opening video decoder: [vfwex] Win32/VfWex video codecs
======= Win32 (VFW) VIDEO Codec init =======
WARNING: Attempting to use DLL codecs but environment variable
DYLD_BIND_AT_LAUNCH not set. This will likely crash.
Loading codec DLL: 'vp7vfw.dll'
Win32 LoadLibrary failed to load: vp7vfw.dll, /usr/local/lib/codecs/vp7vfw.dll, /usr/lib/win32/vp7vfw.dll, /usr/local/lib/win32/vp7vfw.dll
Can't open library vp7vfw.dll
ICOpen failed! unknown codec / wrong parameters?
VDecoder init failed
Cannot find codec matching selected -vo and video format 0x30375056.
Read DOCS/HTML/en/codecs.html!

-----



Does any of this help? It appears as though vp7vfw.dll is not installed by the mplayer codec package. Odd as it is on my mac in /usr/local/lib/codecs . I believe the same package is used by the nitoTV installer. Maybe a manual install?

ls
some of the codecs in that package cause crashes and conflicts with new codecs bundled directly within the mplayer compile so 90% of them are weeded out, the main reason i added the codec package was to support various rm and rmvb codecs, the only libs that are kept are the following.

Code:
CLRVIDDC.DLL	
drv2.bundle	
dspr.so.6.0	
rv30.bundle
clrviddd.dll	
drvc.bundle	
rv10.bundle	
rv40.bundle
drv1.bundle	
drvc.so		
rv20.bundle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Upgrade 1.1.4 to 2.0.1] Help to upgrade needed c_rafa Winpwn 7 08-28-2008 03:54 AM



All times are GMT +2. The time now is 10:37 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105