Recherche avancée

Médias (91)

Autres articles (81)

Sur d’autres sites (6965)

  • FFmpeg best LGPL alternative to libx264 ?

    11 mai 2021, par XylemFlow

    I'm developing a commercial software that is not open source. It will use FFmpeg to export videos. The libx264 codec doesn't appear to be an option for me since I can only use LGPL for legal reasons. What is the best LGPL alternative to libx264 ? I'd like a codec that makes a good compromise between quality and file size as well as being supported by the majority of video players and video sharing sites such as YouTube. If I have to choose between lower quality and larger file size then I'd go with larger file size since videos can always be transcoded using other software if needed, but lossless formats such as Lagarith are still too large.

    


    I see that libopenh264 may be an option, but is it supported by most players and video sharing websites ? How does it compare to libx264 and is it LGPL ?

    


  • How to support any new CODEC that is installed by the user dynamically ?

    29 mai 2012, par Harish

    I am writing a simple video player (for commercial use) using ffmpeg libraries on Android. To avoid Licensing/patent issues I am not enabling —enable-gpl & —enable-nonfree options in my config file and I'm not enabling the patentable codecs like —enable-libx264 and enabling only free codecs like —enable-libopenjpeg.

    Now my questions are
    1. Does the user need to install the codecs (that are already configured by my ffmpeg build eg : OpenJPEG) on the device again or does my player automatically installs the codecs ?
    2. If the user downloads another codec (that was not configured by my ffmpeg build eg : H264) then can he/she play those videos using my player or do I need to build my player again ?

    Whats the best option to support any codec that is dynamically installed by the user on the device ?

  • how to build multiple video stream mux / mixer to virtual network camera

    9 juillet 2019, par Euan

    I’m looking for a software solution that can create a new virtual camera stream from a select-able range of cameras. Basically I want to do some calculations decide which camera is to be selected and switch the virtual camera to be transmitting the new stream.

    The stream needs to be low latency (at most 2 secs). I’m guessing I would need to transmux the input streams and selectively change source streams somehow. I then want to provide an ONVIF, or basic RTMP stream that a commercial DVR can connect to. I then want to duplicate this with a further number of virtual cameras using the same source feeds but different selected source at various times. I would be aiming to use a UDP message to select the source for each virtual camera.

    Cameras are H264, RTMP / RTSP, ONVIF.

    I haven’t tried anything yet as not sure what or where to go, or what to search for. I’m guessing ffmpeg would be a basis, or perhaps there is a better tool that can stitch together RTMP streams ?