RTMPdump QT 5.1

Steam recording with RTMPDump or FFmpeg.
Post Reply
braders2
Posts: 1
Joined: Sun Jan 05, 2014 8:05 pm

RTMPdump QT 5.1

Post by braders2 » Sun Jan 05, 2014 8:07 pm

I want use rtmpdump to playbacks stream in my program (exactly in QWidget). RTMPdump.exe is separate program. I run it from my program:

Code: Select all

QProcess* process = new QProcess();
QString program = "rtmpdump -r rtmp://94.102.63.23:443/share/gc-h2kmq -f WIN 11,9,900,152  -p http://www.sharecast.to -o stream.flv";
process->setProcessChannelMode(QProcess::MergedChannels);
process->start(program);
It works but rtmpdump.exe output directs the stream to file "stream.flv". I wanna use RTMPdump.exe output directs to my program, but i don't know Can I do that. My program is run when i open RTMPdump.exe by QProcess... How I can direct rtmpdump.exe output to running my program?
Maybe u know how compile rtmpdump.cpp then will be easier...

User avatar
Zeranoe
Site Admin
Posts: 631
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: RTMPdump QT 5.1

Post by Zeranoe » Thu Jan 09, 2014 3:17 pm

Do you mean capture the printed steam? If you don't give RTMPDump an output file with -o, it should print the steam.

Post Reply