alm4096 / FFMPEG-Live555-H264-H265-Streamer

H264, H265 and more Encoder and Multicast/Unicast Streamer (example of how to use Live555 and FFMPEG)
100 stars 48 forks source link

Change stream name to be soft coded #2

Closed alm4096 closed 8 years ago

lobnagenena commented 7 years ago

hello, can you please tell me the command line for encoding a video file and stream it with live555?

alm4096 commented 7 years ago

Maybe you should ask the makers of ffmpeg http://ffmpeg.org/ and live555 www.live555.com

This github is about coding your own program to do what you are asking and the command line options can be whatever you make them.

lobnagenena commented 7 years ago

Hello alm865,

I know how to test ffmpeg code and live555 separately but not together. I thought of asking you since you are the one who posted the source code of integrating both together. How can I test and run your code?

Best Regards, Lobna Genena

On Sun, Feb 12, 2017 at 10:44 PM, alm865 notifications@github.com wrote:

Maybe you should ask the makers of ffmpeg http://ffmpeg.org/ and live555 www.live555.com

This github is about coding your own program to do what you are asking and the command line options can be whatever you make them.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alm865/FFMPEG-Live555-H264-H265-Streamer/issues/2#issuecomment-279247299, or mute the thread https://github.com/notifications/unsubscribe-auth/AYQNnx5tnv4yaCqNfoZSA94gHrHA2U2xks5rb281gaJpZM4JJLc7 .

alm4096 commented 7 years ago

To test my code you simply need Microsoft Visual Studio and run the example code.

From your first question it sounds like you already have an encoded video file you want to stream in a certain format, my code example does not do that. My code takes already decoded video frames, such as frames from a Webcam, and encodes them into the video format of your choosing and streams them via rtsp.

Like i said before there is no "command line" in my example code, it's just a class for your C++ code. Typical usage would be if you have C++ code already grabbing some frames from a Webcam or file or you've generated them in code then want to encode and stream them via rtsp. I've done the encoding and streaming part for you, that is all.

To put out bluntly, you need to have a good understanding of C++ before you dive into my code. If you don't understand what a "class" is in a C++ environment then this code is going to be of little use to you.

Sorry but i don't think this code is what you are looking for since you're asking these questions.

If you are using Linux/Mac try piping the output from ffmpeg into live555. If you are on windows try using VLC with a batch file. Both will allow you to do what you are trying to do in the "command line". This is however completely off topic for what this code is intended to be used for.