Sorry, I have been wrestling for a couple of hours but I can't get it to work.You should read the help document more carefully =)
Because I don't understand which interface you try to start vlc with, I write down the 2 possibilities:
The magic is --rc-quiet or --quiet
vlc.exe -I rc --rc-quiet
vlc.exe --quiet
Code: Select all
video_process = new QProcess(this);
QStringList arguments;
arguments << "--video-on-top" << "-I" << "rc";
video_process->start("vlc", arguments);
if(video_process->waitForStarted(5000) == false)
{
QMessageBox messagewindow(QMessageBox::Critical, "Error", "Unable to start VLC mediaplayer.\n"
"Check your installation of VLC.\n"
"Also, check if VLC is present in the PATH evironment variable.");
messagewindow.exec();
return;
}
....
video_process->write("add my_movie.mkv\n");
Code: Select all
vlc.exe -I dummy —---network-caching <5000> —-playandexit --no-sout-video --sout-audio --sout '#standard{access=http,mux=asf,vcodec=h264,acodec=mp4a,dst=10.0.9.27:9999}'
I think adding --quiet parameter to your command will kill all your pain.Hello, has anyone solved this issue? I'm trying to write a program that uses vlc and it fails on windows because of this issue. It works fine on the other platforms that I have tested it on.
This is the command I am trying to run:
Code: Select all
vlc.exe -I dummy —---network-caching <5000> —-playandexit --no-sout-video --sout-audio --sout '#standard{access=http,mux=asf,vcodec=h264,acodec=mp4a,dst=10.0.9.27:9999}'
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 51 guests