I made a qt video player application. When I run the application from Qt Creator, it can play avi files, but when I run the deployed binary executable, it cannot play avi files. However it can play mp4 files. What is missing for the executable? Is it a dll or something? Can anyone help me with this? Thanks!
Asked
Active
Viewed 117 times
0
-
"cannot play" is not a problem description. Does it crash? Does it give any message? Does it log any output to the terminal or some relevant log file? How does the code try to play the AVI file? – underscore_d Aug 20 '20 at 10:12
-
Probably there is a missing codec. – vahancho Aug 20 '20 at 10:14
-
Maybe it will help you: https://stackoverflow.com/questions/38572619/playing-avi-files-with-qt – serwus Aug 20 '20 at 13:10
-
If you use `Windows 10` you can install `LAVFilters` to codec your media. – bogdyname Aug 20 '20 at 21:48
1 Answers
0
I found the cause of the problem. It is because of a missing plugin I forgot to include with the binary executable.

ablan
- 11
- 3