Recherche avancée

Médias (91)

Autres articles (111)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (2979)

  • Use Video stream from Wifi device as input to stream over 4G

    1er mars 2017, par pbdev

    I’m building an Android app that streams video from a Wifi device to a Wowza server. It should be quite simple but I can’t figure out how to use both Wifi and 4G at the same time. The device I’m using is a Samsung S5 with Android 6.0.1. To sum it up, this is the goal :

    1. Fetch the video stream from a GoPro device over Wifi.
    2. Send the video stream to a Wowza server over 4G.

    When connected to the GoPro’s Wifi network I can ping the GoPro and see the stream in a MediaPlayer. Since I’m connected to a Wifi device that doesn’t provide internet access, I can’t ping my Wowza server. Once I’ve disabled Wifi this is no problem, by using FFmpeg I can reach the Wowza server over 4G.

    This is the FFmpeg command I want to use to copy the stream to the Wowza server, where 10.5.5.9 is the IP-address of the GoPro :

    ffmpeg -i http://10.5.5.9:8080/live/amba.m3u8 -acodec aac -ar 44100 -ab 48k -vcodec copy -f flv rtmp://username:password@my-wowza-server.com:1935/my-app/my-stream

    If I enable Wifi and connect to the GoPro, 10.5.5.9 is reachable but my-wowza-server.com isn’t. The Samsung S5 provides a Smart network switch which makes the Wowza server reachable but the connection to the GoPro gets lost.

    Is there any way to bind 10.5.5.9 to the Wifi interface of the phone and bind my-wowza-server.com to the cellular interface ?

  • Use HLS from Wifi device as input to stream over 4G

    26 février 2017, par pbdev

    I’m building an Android app that streams video from a Wifi device to a Wowza server. It should be quite simple but I can’t figure out how to use both Wifi and 4G at the same time. The device I’m using is a Samsung S5 with Android 6.0.1. To sum it up, this is the goal :

    1. Fetch the video stream from a GoPro device over Wifi.
    2. Send the video stream to a Wowza server over 4G.

    When connected to the GoPro’s Wifi network I can ping the GoPro and see the stream in a MediaPlayer. Since I’m connected to a Wifi device that doesn’t provide internet access, I can’t ping my Wowza server. Once I’ve disabled Wifi this is no problem, by using FFmpeg I can reach the Wowza server over 4G.

    This is the FFmpeg command I want to use to copy the stream to the Wowza server, where 10.5.5.9 is the IP-address of the GoPro :

    ffmpeg -i http://10.5.5.9:8080/live/amba.m3u8 -acodec aac -ar 44100 -ab 48k -vcodec copy -f flv rtmp://username:password@my-wowza-server.com:1935/my-app/my-stream

    If I enable Wifi and connect to the GoPro, 10.5.5.9 is reachable but my-wowza-server.com isn’t. The Samsung S5 provides a Smart network switch which makes the Wowza server reachable but the connection to the GoPro gets lost.

    Is there any way to bind 10.5.5.9 to the Wifi interface of the phone and bind my-wowza-server.com to the cellular interface ?

  • FFmpeg : create data streams in MP4 container

    28 mars 2022, par Soeren

    Is there a way to make FFmpeg create data streams in MP4 or Quicktime (.mov) containers ? I have tried -attach ... (works fine for Matroska containers, but not MP4/MOV) or -codec bin_data, but to no avail.

    


    -attach ... technically creates streams with codec type "attachment", which are different from data streams. And while FFmpeg isn't smart enough to directly create data streams in containers where attachment streams aren't supported (ie. MP4), a two-step approach works :

    


    ffmpeg -i <some media="media" file="file"> -attach <some file="file"> -metadata:s:2 mimetype=<data mime="mime" type="type"> -map 0:v -map 0:a -codec copy attached.mkv&#xA;ffmpeg -i attached.mkv -codec copy attached.mp4&#xA;</data></some></some>

    &#xA;

    The first command creates a Matroska file that contains a stream with codec_type=attachment. The second command then simply re-packages this into an MP4 container, turning the attachment stream into a data stream (codec_type=data). So the question is : could this be combined into a single step ?

    &#xA;