|
 |
|
07-13-2005, 06:51 PM
|
#16
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
Quote: Originally Posted by gbr
If anybody knows how to force mplayer to use different audio cards and displays under Windows
Did you ever figure this out? For HeadUnit I created my own cross-platform wrapper for DirectShow (in windows) and xine (in linux) to handle the hardware better in both OS's. But, it would be nicer if we could just use MPlayer on both platforms. The problem I had with it is that it has relatively poor support in Windows. Hopefully, it will improve soon.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
07-14-2005, 04:03 PM
|
#17
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Quote: Originally Posted by NoPistonPC
Did you ever figure this out? For HeadUnit I created my own cross-platform wrapper for DirectShow (in windows) and xine (in linux) to handle the hardware better in both OS's. But, it would be nicer if we could just use MPlayer on both platforms. The problem I had with it is that it has relatively poor support in Windows. Hopefully, it will improve soon.
It is improving all the time. The first thing I'd like is proper window position, at least then I could hard code window positions for video.
|
|
|
07-15-2005, 11:15 AM
|
#18
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Bump - for updates (new download and linux version, see message # 1 in this thread)
|
|
|
07-16-2005, 05:12 PM
|
#19
|
|
Low Bitrate
Join Date: Apr 2005
Location: Arizona
Posts: 96
|
I like it
hey, this is pretty good, nice and clean
to get this up and running in debian there were a couple of things that I needed.
I had to make some library links (requires xlibs-static-dev package).
# ld --whole-archive -share -o /usr/lib/libXxf86vm.so.1 /usr/X11R6/lib/libXxf86vm.a
# ld --whole-archive -share -o /usr/lib/libXinerama.so.1 /usr/X11R6/lib/libXinerama.a
I had to install the libsqlite0-dev and the libsqlite0 packages.
thanks for the FE to play with till my programmer gets off of vacation
Last edited by pkg; 07-16-2005 at 05:45 PM.
|
|
|
07-16-2005, 06:20 PM
|
#20
|
|
Low Bitrate
Join Date: Apr 2005
Location: Arizona
Posts: 96
|
so i am playing with your app here and have some questions on how to get it going:
How do i build the sqlite db?
What is the syntax to set up the GPS application link in the carpc.ini file?
[GPS]
???=gpsdrive
thanks
|
|
|
07-16-2005, 07:20 PM
|
#21
|
|
Low Bitrate
Join Date: Apr 2005
Location: Arizona
Posts: 96
|
I am also able to get the app to crash quite regularly (segfault). If there are no files in the list (songlist) and you click on the list and then click any of the buttons the app crashes.
The system wont add mp3s into the database.
[music]
directory=/media/mp3
When the app loads with no songs.db i get a message: Can not enumerate files in directory '' (error 2: No such file or directory). The permissions on the directory are correct and this happens whether running as root or user.
another thing that I have also noticed while playing with the app:
mplayer under debian is not in the official branches due to some grey legal areas of it's code. more info:
http://people.debian.org/~mjr/mplayer.html
headunit makes nice use of the xine-libs and could be an alternative player for your project.
Well it is a great start and i think that with some sourcecode you would get some help from some of the local linux developers around here  .
cheers,
|
|
|
07-16-2005, 10:12 PM
|
#22
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Quote: Originally Posted by pkg
so i am playing with your app here and have some questions on how to get it going:
How do i build the sqlite db?
What is the syntax to set up the GPS application link in the carpc.ini file?
[GPS]
???=gpsdrive
thanks
Hi,
In the install directory, if there is no songs.db file, it will create the database automatically. Before you do that though, you need to edit the carpc.ini file, to tell it where your music is located.
The GPS application is simply the entire path and executable name of the gps app. There is no real integration with the software yet.
Gerald
|
|
|
07-16-2005, 10:17 PM
|
#23
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Quote: Originally Posted by pkg
I am also able to get the app to crash quite regularly (segfault). If there are no files in the list (songlist) and you click on the list and then click any of the buttons the app crashes.
That is correct. I'm going through and plugging all those holes this weekend.
Quote: Originally Posted by pkg
The system wont add mp3s into the database.
[music]
directory=/media/mp3
When the app loads with no songs.db i get a message: Can not enumerate files in directory '' (error 2: No such file or directory). The permissions on the directory are correct and this happens whether running as root or user.
Interesting. The only thing I can guess is that the directory really is wrong, though I'm sure you've verified this 100 times. Your media directory really is off of /, or is it in you home directory?
another thing that I have also noticed while playing with the app:
Quote: Originally Posted by pkg
mplayer under debian is not in the official branches due to some grey legal areas of it's code. more info:
http://people.debian.org/~mjr/mplayer.html
headunit makes nice use of the xine-libs and could be an alternative player for your project.
Well it is a great start and i think that with some sourcecode you would get some help from some of the local linux developers around here  .
cheers,
MPlayer was the fastest way to get started, and gave me immediate cross-platform use.
Thanks for your input, and if you're still having problems let me know.
Source will be available, I just want to clean things up a bit, so at least the code I hand out does full error checking, etc.
Gerald
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
07-16-2005, 10:40 PM
|
#24
|
|
Raw Wave
Join Date: Sep 2004
Location: São Paulo, Brazil
Posts: 3,534
|
Hey Gerald,
I am lookiong closely at your project as I see the possibility of integrating it tightly/closely with a packaged release and install a distro destined solely for in-car media purposes. Thus allowing fast booting time and no hassle setup coupled with rock-hard stability (due to the slimmed OS, and lack of useless services.
I have been working with some skin creators to create multi-view GPS screens (for the Zots Road Runner skin, as well as the iDrive rr skin)... I am interested in hearing (and possibly discussing with you) about GPS integration including how to integrate GPS into various screens and situations in the program. Shout out if you need any ideas, and also please post what you are planning for GPS, I'm very interested!
Have you given any thought to Wine/FreeDrive combo? (would it even run?)
I am partial to Destinator maps as they are the only ones that support where I live
__________________
Roy
2005 Range Rover 4.4
Any ideas for putting a PC in this? :)
|
|
|
07-16-2005, 10:57 PM
|
#25
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Quote: Originally Posted by RoyN
Hey Gerald,
I am lookiong closely at your project as I see the possibility of integrating it tightly/closely with a packaged release and install a distro destined solely for in-car media purposes. Thus allowing fast booting time and no hassle setup coupled with rock-hard stability (due to the slimmed OS, and lack of useless services.
That sounds cool. I've been working with gentoo, and it's pretty quick. I'll time it once I get my new car system setup and running (a Shuttle XPC G/G2 series).
Quote: Originally Posted by RoyN
I have been working with some skin creators to create multi-view GPS screens (for the Zots Road Runner skin, as well as the iDrive rr skin)... I am interested in hearing (and possibly discussing with you) about GPS integration including how to integrate GPS into various screens and situations in the program. Shout out if you need any ideas, and also please post what you are planning for GPS, I'm very interested! 
Any info you have on integrating GPS would be great. Now that the base music/video works for the front and rear displays/speakers, I think that GPS will be the next step.
Quote: Originally Posted by RoyN
Have you given any thought to Wine/FreeDrive combo? (would it even run?)
I am partial to Destinator maps as they are the only ones that support where I live 
I have thought about it a great deal. I'll be trying out Wine, Cedega, and Crossover to see what I can get running.
Gerald
|
|
|
07-17-2005, 02:24 AM
|
#26
|
|
Raw Wave
Join Date: Sep 2004
Location: São Paulo, Brazil
Posts: 3,534
|
I didnt mean help coding it in (I'm too much of a puts to learn any xplatform programming), I meant help in the conception, ideas, screenshots and such  But if you still want to hear a list of "GPS options" (like screens and how GPS should be displayed) I'm up to help...
__________________
Roy
2005 Range Rover 4.4
Any ideas for putting a PC in this? :)
|
|
|
07-17-2005, 09:53 PM
|
#27
|
|
Constant Bitrate
Join Date: May 2003
Location: Virginia
Posts: 193
|
gbr - I was playing withy our frontend (in XP) seems great so far. Although with creating the database I'm having one issue. I use a 2nd partition as my music folder, and in creating the database, it'll scan teh System Volume Information folder and crash. Also to temporarily work around this i Moved my music into a folder within that partition, but now it crashes on readin some of my mp3's..
I still have to figure out which ones its having problems with but I'l let you know..
Also with the Video portion, it'll read my movies but wont play them... Am I missign something?
Anyways just thought i'd pass that on, otherwise seems like a nice program.
Apolo
__________________
2002 DSM RSX-S
Custom Car PC Re-design Pending Completion of fiberglassing dash and trunk
Pics
|
|
|
07-17-2005, 11:35 PM
|
#28
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Quote: Originally Posted by RoyN
I didnt mean help coding it in (I'm too much of a puts to learn any xplatform programming), I meant help in the conception, ideas, screenshots and such  But if you still want to hear a list of "GPS options" (like screens and how GPS should be displayed) I'm up to help...
That's exactly what I'm looking for!
|
|
|
07-17-2005, 11:42 PM
|
#29
|
|
Newbie
Join Date: Jun 2005
Posts: 38
|
Quote: Originally Posted by ApoloV
gbr - I was playing withy our frontend (in XP) seems great so far. Although with creating the database I'm having one issue. I use a 2nd partition as my music folder, and in creating the database, it'll scan teh System Volume Information folder and crash. Also to temporarily work around this i Moved my music into a folder within that partition, but now it crashes on readin some of my mp3's..
That's a known issue that I'm working on. It will only crash after completing the database build. Just re-run movinmedia.exe, and things should work fine.
Quote: Originally Posted by ApoloV
I still have to figure out which ones its having problems with but I'l let you know..
Also with the Video portion, it'll read my movies but wont play them... Am I missign something?
Anyways just thought i'd pass that on, otherwise seems like a nice program.
Apolo
Not sure about the video. The mplayer I supply may not have all the codecs. You may want to install a different mplayer that comes with codecs, and then move my mplayer and it's dll's into it's install dir.
The only thing I did with my mplayer, was compile it under cygwin instead of mingw, which helps with passing commands to it.
edit: try this https://21c3.ccc.de/wiki/index.php/Windows_Mplayer
Gerald
Last edited by gbr; 07-17-2005 at 11:59 PM.
|
|
|
07-17-2005, 11:46 PM
|
#30
|
|
Constant Bitrate
Join Date: Sep 2003
Location: Colorado Springs
Posts: 123
|
One question....why are you making a frontend? Do the others not do what you need?
And....does this one do something those do not?
__________________
Another Novice?
Progress so far <-------*-> 88%
Kenwood MPV5025 with Aux
Via MII10000
512MB Ram
LG Slim DVD\CDRW
Xenarc 700TS
M1ATX
Pharos GPS
SYBA USB2.0 4-port Hub
Bufalo 54Mbs Wirelessb/g PCMCIA card
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:41 PM.
| |