I'm trying to make an media player application with Qt and the phonon library.
Everything goes well when I'm playing a SD DivX, but when I'm trying to play a 12 GB HD MKV it's freezing (with a I7, 8GB RAM, NV GTX260).
Currently I'm using the default backend (phonon_ds94.dll). I would like to use the phonon_vlc.dll one but I don't know how to make the switch. Any one have an idea ?
Thank you,
Sébastien
Related
I am new in JavaCard development, and I am quite confused.
I am able to compile, load and install .cap files, and everything works fine.
However, after compiling my WebApplication (with NetBeans), I am not sure how to load/convert/install the produced .war file to the card.
Any help much appreciated!
edit:
I realized I should had provided more info:
My card is: J2E145G, which if I am not mistaken supports version 3.0 (and hence is the "connected" edition?). Additionally, I am loading applets using GlobalPlatform, which it seems that supports only .cap files(?)
I presume J2E145G (I'm not sure about the G, I can check later) contains the P5Cx family of products of NXP. These cards sport 8 KiB of RAM and are therefore incapable of running the connected edition, which requires 24 to 32 KiB of RAM.
These kind of humongous chips (for smart card standards anyway) are usually found on contact only cards. To say that connected edition chips are not common is probably taking it lightly.
I have dell voestro 220s series desktop computer with BIOS version : 1.2.2. Ubuntu 11.04 is installed on it. At the time of system boot it shows Dell voestro and Intel logo on the screen. I want to change this intel and dell voestro BIOS splash screen. I got the solution for widows system but I want to change it from my ubuntu 11.04 system. How is it possible ?
Thanks
amar
I believe the only way to do this is by changing the BIOS. Either you dump the original BIOS image (using for example a Linux live image with flashrom, like sysrescuecd) and open it with a HexEditor to search where the image is located (it's probably a Bitmap image), or you can consider changing the BIOS into an open source one (like Coreboot + SeaBIOS) and rebuild them to include a custom image (see this page for more info).
I should warn you that neither option is easy. The first involves low level "hacking" and tinkering (and is possibly dangerous), while the second depends mainly on if your motherboard is supported (unfortunately, most motherboards for Intel processors aren't) and how familiar you are with compiling stuff in Linux.
Hope this helps. =)
I am trying to play an audio CD with phonon under Windows. I use Qt 4.8.0.
I run a code like:
QString filepath = QString("E:\\")
myMusic = Phonon::createPlayer(Phonon::MusicCategory, Phonon::MediaSource(Phonon::Cd, filepath));
myMusic->play();
There are any errors in the log window and any sound either. The disk does not spin in drive too.
So is there an option to play audio CD with phonon? If it is, how can I select proper track?
P.S. MP3 is played without issues
Ok, I think I have solved this issue. Currently I have code like this:
Phonon::MediaObject *myMusic = Phonon::createPlayer(Phonon::MusicCategory,Phonon::MediaSource Phonon::Cd, QString("E:\\")));
Phonon::MediaController myMediaController(myMusic);
myMediaController.setAutoplayTitles(true);
myMediaController.setCurrentTitle(7);
myMusic->play();
"E:\" is my cd-drive with inserted audio cd and I play the track #8 (track count starts from zero).
Other issue on my Windows 7 system was Phonon warning:
unable to load the TOC from the CD
This issue is related to Phonon Windows backend. Some Windows systems do not have CDDA codecs (or what is that thing is) installed. In this case Phonon application will not play Audio CD discs. You won't see any errors (except from above) and there won't be any cd drive activity.
To fix this issue you should:
Dowload proper cddareader.ax for your system (I used one from MPC HomeCinema Standalone Filters on http://sourceforge.net/projects/mpc-hc/files/)
Open command line and execute regsvr32.exe cddareader.ax
Reboot
This code is tested on WinXP x86 and Win7 x64. Linux machine have played audio cd without problems (with different path of cource)
Hope this information will be useful
Where do i get the simulator for MHEG?how to write,compile and run the MHEG application in eclipse?
There are a lot of high quality MHEG-5 commercial products and several open source ones. I'm only going to list the open source projects here.
triton is an open source WYSIWYG compiler and emulator from Ocean Blue Software
openmheg is a windows emulator that can run MHEG from a TV capture card.
mhegenc Has a compiler and decompiler that converts between text format and ASN.1 DER format ready for transmission by broadcasters that support MHEG-5
mheg+ and it's wiki. It has macro expansion and named variables that makes code far more readable, it also has an emulator that can run files from disk or play a recording from a TV capture card. Written in Java so it runs under Windows or Linux.
You can emulate MHEG from a TV capture card using red button in Linux. It also has a compiler and decompiler.
You can compile MHEG code in eclipse for any of these.
I have to make an application that will do the following:
Open a video file embedded in the application
Open some pdf files, preferably embedded in the application, but if it will have to open externally, it's no problem.
Work in fullscreen on the user computer, with a minimum resolution of 1024x768. I'm thinking about a resolution of 1024x768, centered on a black background.
I was thinking of using Flash, but I don't have much experience, so if there is another easier IDE that creates a Flash application, I would prefer that.
So, if anyone knows any Flash component to do this, I'll be very thankful.
Creating a Flash CDROM takes a little bit of care, but from my experience it's well worth it. From your requirements, the Flash IDE is well up to the task. The common requirements are as follows:
Windows / Mac platform
Flash Projector file
Autorun file (For the Windows platform)
Net access or all local
If your client is happy with creating the CDROM just for Windows, there will be very few dramas - but if they want to create a Mac-friendly version, you can do that too and I will explain afterwards.
Your Flash should preferably be an .exe projector file - the reason for this is so that the Windows user can open your app without downloading a Flash player (If the client wants a CDROM, they probably have limited net access, so this is a good thing!)
Within Flash, you can perform all your standard fs commands including full-screen.
You will likely need an Autorun file so that the user sees your application as soon as you put in the CDROM - simply create a file named 'autorun.inf' in notepad and enter the following:
[autorun]
open=yourProjector.exe
Where 'yourProjector.exe' is the name and path of your projector file.
It sounds like you're going to embed your videos and content in the CDROM - this is usually the ideal case, since your client won't receive annoying security messages, but this can also be a bad thing if you want to correct your content later (spotting errors after a thousand CDROMS have been distributed can be a PAIN).
You can serve some of your content online to avoid this, but it would give your user some ugly messages, so as long as you triple-check your content and embed everything, it would be the best scenario.
Now for a Mac, Apple has done away with autorun features years ago - there is a way to turn it on through Quicktime, but this is off by default for almost all Mac users, and turning it on is not recommended because it makes the Mac vulnerable to the 'Hong Kong Virus', one of the few Mac viruses around.
You can make your CDROM mac-friendly by creating a Mac Projector and adding instructions for how to use it by changing the background image of the CDROM window. I haven't had to do it before, but I hear that it's not too difficult.
You can use the Flash Projector. Here is a tutorial to get you started. Now, you won't be able to embed the PDF files but you can open them easily enough using fscommand("exec","foo.pdf")
You can create an Adobe AIR Application; however it won't run off the CD ROM; it'll need to be installed locally.
If creating a projector from Flash Pro doesn't work; look at a tool like Janus or Zinc