Play videos using both QtPhonon and OpenCV on MAC OS
-
Hello Guys,
I am beginner in Qt. I am using QtPhonon player for playing videos and its working fine. now i want to use openCV for some other effects like brightness , contrastness etc on videos on runtime. How to get the frames of videos so that i can put some effects on it or Is their any other way for doing these things. Please help me out. -
Thanks MrDebug,
I have already tried opencv for some effects(like brightness, contrast) on video files. After applying effects using Opencv, I found audio missing from my output. Is their any solution for that problem. I will be really thankful for your help.
Thanks. -
-
Thanks for your response, As you said, the same thing i am trying to do and in output i am getting only video track but for audio it fails. I think there is problem in its audio codecs for decoding or encoding the file. Can you please give me any demo or snippet for the same. i will really appreciate.
Thanks. -
hey mrdebug, as you said i am on the same track. i have extracted the frame and then display those frames using SDL framework on SDL_Overlay. Now my problem is i want to embed that sdl_overlay on my Qt GUI. Can you please help me out this problem ? Thanks in advance.
-
No I haven't got a demo to send to you because the source code that I have written is part of a unshareable project.
If you want I can write for you a simple program for Mac OSX that read from a avi (and other) file and display frames in a QLabel, based on FFmpeg.
Another critical question is to compile FFmpeg on Mac OSX. If you want I can use remote assistance to bring up the FFmpeg source in your mac, compile and explain how to make up a redistributable package.How you can understand this is not a rapid thing to do. If you are interesting you can send me an email at info@denisgottardello.it.
Regards.
-
[quote author="mrdebug" date="1420282424"]
If you want I can write for you a simple program for Mac OSX that read from a avi (and other) file and display frames in a QLabel, based on FFmpeg.
Another critical question is to compile FFmpeg on Mac OSX. If you want I can use remote assistance to bring up the FFmpeg source in your mac, compile and explain how to make up a redistributable package.Regards.[/quote]
Thank you so much MrDebug, I have already compiled FFmpeg on my MAC OSx. Can you please write a simple program for Mac OSX that read from a avi (and other) file and display frames in a QLabel, based on FFmpeg. I will really appreciate if you help me out this. Thanks in advance.
-
Can you send me an email at info@denisgottardello.it?