I want use rtmpdump to playbacks stream in my program (exactly in QWidget). RTMPdump.exe is separate program. I run it from my 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?Code: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);
Maybe u know how compile rtmpdump.cpp then will be easier...
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 8 of 8
Thread
-
-
Haven't used librtmp and I'm not sure if it helps you, but http://supercloudtv.com/librtmp.html has precompiled librtmp libraries for different systems, also there's RTMPDump C++ source code for Microsoft Visual Studio 2005.
-
Thank you for reply, I decide to use librtmp library. It works. It save stream to file. I think video is save to const char * buffer and next to file. Can u tell me I can play this buffer use libvlc (i think from memory)? Can I play stream without save it on hard disk, and play from path to this file?
In rtmpdump can do this "-o 'path to VLC'" but in libvlc i don't know how I can do that -
Can't help you with libvlc, but http://www.videolan.org/developers/vlc/doc/libvlc/QtPlayer/ is an example where Qt is used with libvlc, <ou probably would have to write into a buffer and read from that buffer, in theory it should be possible, see: https://forum.videolan.org/viewtopic.php?f=32&t=111917
-
With use libvlc in QT i don't have problem, but i have problem with integrate librtmp with libvlc :/
-
I'm not sure of librtmp reads to Buffor but can u tell me how read by libvlc from a buffeR?
-
Like I wrote: nope, no experience with libvlc, but looking at the threads I linked to imen seems to be a good starting point.
Similar Threads
-
rtmpdump help needed(please help)
By pappubeta in forum Video Streaming DownloadingReplies: 1Last Post: 11th Oct 2013, 19:33 -
Desperately Need Help With RTMPDump!
By R&MFan in forum Newbie / General discussionsReplies: 0Last Post: 7th Jan 2013, 15:35 -
rtmpdump for android
By snafubaby in forum Video Streaming DownloadingReplies: 0Last Post: 9th Sep 2012, 23:16 -
Can someone help? rtmpdump
By RateD in forum Video Streaming DownloadingReplies: 3Last Post: 19th Aug 2012, 21:13 -
Problem with rtmpdump
By itzkirby in forum Video Streaming DownloadingReplies: 0Last Post: 17th Apr 2010, 18:25