Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (65)

Sur d’autres sites (13936)

  • RTMP streaming without flash and low latency

    4 juin 2020, par Ruben Sanchez Castellano

    I have a server that currently streams out RTMP media and I need to play it with minimum delay (2-3 seconds).
Now I'm using CRTMPServer to consume the stream but, since there is no RTMP player without flash dependency, this solutions does not work for me because I need to play it embedded into a web page.

    



    At this point, I tried Nimble Streamer but I only could consume HLS, DASH and SLDP. HLS and DASH has 10 second delay so I discard these approaches.
SLDP has low latency but is a closed protocol and there is only one player (closed but freeware).

    



    On the other hand, there is RTSP but there are no HTML5 players for it. But I couldn't consume RTSP streams from Nimble neither.

    



    Any other ideas ?

    


  • FFmpeg progress track visual C++

    15 août 2019, par jAckOdE

    In my main process, i create a ffmpeg child process using CreateProcess(...).
    I need to track the status of converting progress to update a progress bar. To do it, I read text from ffmpeg output and extract progress status from it.

    I make a sample programm like this :

    HANDLE rPipe, wPipe;
    CreatePipe(&rPipe,&wPipe,&secattr,0);

    STARTUPINFO sInfo;
    ZeroMemory(&sInfo,sizeof(sInfo));
    PROCESS_INFORMATION pInfo;
    ZeroMemory(&pInfo,sizeof(pInfo));
    sInfo.cb=sizeof(sInfo);
    sInfo.dwFlags=STARTF_USESTDHANDLES;
    sInfo.hStdInput=NULL;
    sInfo.hStdOutput=wPipe;
    sInfo.hStdError=wPipe;

    // pStr contain ffmpeg command
    CreateProcess(0,(LPTSTR)pStr,0,0,TRUE,NORMAL_PRIORITY_CLASS|CREATE_NO_WINDOW,0,0,&sInfo,&pInfo);
    CloseHandle(wPipe);

    BOOL ok;
    do
    {
       memset(buf,0,bufsize);
       ok=::ReadFile(rPipe,buf,100,&reDword,0);
       result += buf;            
    }while(ok);

    But I couldnt get "result" interactively updated. My app is held during conversion, and "result" string update only after ffmpeg’s process finish.

    How can I have my main process and ffmpeg’s run simultaneously, and interactively read from/write to ffmpeg process’s output/input ?

    Thanks for your time !

    LRs

  • Can someone help me to install the netflix's VMAF library in Ubuntu

    20 février 2023, par peter12

    First of all, I have to say that I am not very experienced in ubuntu.
I would like to install this library to use with FFMPEG.

    



    I am following these steps, but I can manage to install it well...

    



    https://github.com/Netflix/vmaf/blob/master/resource/doc/VMAF_Python_library.md

    



    Could someone tell me what are the exact steps (commands) that I have to follow.

    



    On the other hand, someone knows if there are other metrics that can ffmpeg calculates directly (apart from PSNR or SSIM) ?

    



    Many thanks