GithubHelp home page GithubHelp logo

alm4096 / ffmpeg-live555-h264-h265-streamer Goto Github PK

View Code? Open in Web Editor NEW
99.0 99.0 48.0 19.35 MB

H264, H265 and more Encoder and Multicast/Unicast Streamer (example of how to use Live555 and FFMPEG)

C 57.38% C++ 42.62%

ffmpeg-live555-h264-h265-streamer's People

Contributors

alm4096 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg-live555-h264-h265-streamer's Issues

streaming two input device requires some changes in live555class

Hi
According to previous problem in streaming two input device via different threads , if I want to create multiple rtsp server , because of define static variable eventtriggerId , abort occured in env->taskScheduler().doEventLoop(&Stop_RTSP_Loop);
I search problem that it must be change static definition of eventtriggerId to non-static. but I do not know how to change this code in FFMPEGClass :
Tmp_Head_Node->task->triggerEvent(AnalyserSource::eventTriggerId, Tmp_Head_Node->source);
and how to change this line of code in AnalyserSource constructor:
if (eventTriggerId == 0) {
eventTriggerId = envir().taskScheduler().createEventTrigger(deliverFrame0);
}
Could you help me ?
Thanks

linux version of project

Hi
Is there a version of linux for this project ?
in this project you used HANDLE and some header files of windows kit.
How can I build this project in linux platform ?
Thanks

Stream two input device

Hi
I want to encode dshow devices like webcams with FFmpeg and stream it and I use this project for this purpose. I added a method in FFMPEGClass as SetupDSHOW and I setup my dshow input and a new method that get frame from input device instead of writedummyframe.It works good.
If I want to use two webcams and stream them , Do I create two threads seperatly that creates FFMPEG object? for this , I create a method that it contains codes in main (create FFMPEG object and loop while(1) ) and then I create two threads in main method (std::thread (mymethod) ) and then join them.
But when I run program two threads begin to work but one thread starts to stream and when I add breakpoint to live555class , one thread entered it .
The question is , if I want to create two streams what should I do ?
Thanks

UDP/TCP

Hi, I am just trying to understand, it streams over UDP or TCP?

今日头条互娱研发上海HR Sunny的问候

您好,我是今日头条互娱研发上海HR Sunny,有幸看到您的ffmpeg相关项目分享,希望有机会和您认识,不知道是否方便加个微信沟通,我的微信是fengzhigu-s,期待您的回复。

get setup parameter from user

Hi
I want to get parameter like input device name, width, height and encoding type from user, So I create a form .
in this project you use #define for encoding. How should I change code to set encoding type in run time ?

some changes required

Hello
I am worked on this project. Some changes may be required :

  1. for h265 you should set preset to "fast" or higher (like h264 in function SetupCodec) and set zero-latency
    2)if you want to use function writeDummyFrame() instead of TempRGBFrame that you created in while(1) loop, it will not worked and throws an exception, because you delete some portion of code that exist in previous version of project which ffmpegClass stopped while setupCodec not complete (in Function)

why you use for( ; ;) loop in Function ? what it do ?
Thanks a lot for your project

rtsp feed into android

Hi

I don't know if you are still supporting or answering to problems but there I go:

I have all the project working and the streamer feed is kind of working. However I don't know if this problem is out of your scope.

For example if I open the rtsp stream in the vlc it works, however when I try to open it in an Android phone using the the android media classes it's says that doesn't recognize the media. However if I open a normal rtsp feed, my Android recognizes it. (Both streams are being encoded in H264).

Do you know what the problem is? If not can you provide some guidance that helps fixing the problem?

Kind Regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.