Play videos using both QtPhonon and OpenCV on MAC OS
-
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. -
I used FFmpeg to get the video and audio track. After having the two tracks you can send the audio one to the audio output and you can manage the video as you want.
Is not easy to do. You have to study how to manage multimedia files with FFmpeg. -
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. -
Sorry but I haven't got sources to show. Are you sure you have the right codecs installed? Normally the audio track is mp3 based. Can you try with another multimedia file?
-
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.
-
Sorry but I don't know SDL. I normally use a QLabel to display FFMpeg video.
-
ok..Can u please give me a demo or snippet for that. I will be really appreciate your help. 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?