Recherche avancée

Médias (91)

Autres articles (102)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (6689)

  • Random PIPELINE_ERROR_DECODE : video decoder reinitialization failed on Chromium HTML5 video tag

    9 janvier 2024, par Hello World

    System

    


    Running an Expo React Native app, with a <webview></webview> component that loads a NextJS app with an HTML5 <video></video> tag. The system with issues is running the app on Android 9.0 with WebView implementation set to Android System WebView 84.0. The system without issues is running the app on Android 10.0 with WebView implementation set to Android System WebView 120.0.

    &#xA;

    Details

    &#xA;

    Video files being played by the <video></video> element are previously transcoded by the following fluent-ffmpeg node package :

    &#xA;

    import ffmpeg from &#x27;fluent-ffmpeg&#x27;&#xA;&#xA;ffmpeg(rawVideoFileUrl)&#xA;  .videoCodec(&#x27;libx264&#x27;)&#xA;  .audioCodec(&#x27;aac&#x27;)&#xA;  .outputOption(&#x27;-strict experimental&#x27;)&#xA;  .outputOption(&#x27;-movflags frag_keyframe&#x2B;faststart&#x27;)&#xA;  .format(&#x27;mp4&#x27;)&#xA;

    &#xA;

    My knowledge on video transcoding is very limited, but I have to do the transcoding to guarantee that the files are compatible to be played by my NextJS web app. In my research, my findings pointed to these FFMPEG command line arguments for my purpose.

    &#xA;

    For the aforementioned WebView version, H.264 with AAC, should be compatible, yet playback is not stable. Many times it will play just fine, but other times I receive the error :

    &#xA;

    PIPELINE_ERROR_DECODE: video decoder reinitialization failed&#xA;

    &#xA;

    If I refresh the web app, it works again. That leads me to believe it is somehow memory related, maybe caused by incompatibility.

    &#xA;

    I'm not sure whether video decoder reinitialization failed produced by the HTML5 <video></video> tag is a problem of transcoding or not, as the videos play fine most of the time and only produces that error in the console some of the times, unexpectedly.

    &#xA;

    Question

    &#xA;

    Is there something that I can do to the fluent-ffmpeg command to make the video files more widely compatible, including the WebView 84.0 system too, or is the issue somewhere else ?

    &#xA;

    In this case, updating WebView is not an option.

    &#xA;

  • How would I add an audio channel to an rtsp stream ?

    9 septembre 2022, par PlayerWet

    Good companions. It turns out that my Raspberry does not give more than itself when it comes to joining video with audio at good quality and sending it by rtsp. But I think I could send the video in rtsp format and then the audio in mp3, but I would need to join it again on another computer (nas Debian) on my home lan where I have the Shinobi program (security camera manager) installed.

    &#xA;

    I would need something that can somehow grab the rtsp stream and another mp3 audio and merge them into a new rtsp stream. Is this possible ? or is it a crazy idea.

    &#xA;

    On the one hand I send this, which is the transmission of the camera by rtsp through v4l2rtspserver :

    &#xA;

    v4l2rtspserver -H 1080 -W 1920 -F 25 -P 8555 /dev/video0&#xA;

    &#xA;

    And separately I send an audio in mp3 with sound from a usb microphone through ffmpeg :

    &#xA;

    ffmpeg -ac 1 -f alsa -i hw:1,0 -acodec libmp3lame -ab 32k -ac 1 -f rtp rtp://192.168.1.77:12348&#xA;

    &#xA;

    My idea is to put both things together on a nas server in a new rtsp stream (or another idea).

    &#xA;

    But I don't know if with ffmpeg I can capture the video from an rtsp video stream and then be able to join it with the mp3 audio and form another new rtsp stream.

    &#xA;

    Merge these two streams into one and reassemble an rtsp :

    &#xA;

    rtsp://192.168.1.57:8555/unicast&#xA;&#xA;rtp://192.168.1.77:12348&#xA;

    &#xA;

    I have tried this way but it gives me an error :

    &#xA;

    ffmpeg \&#xA;    -i rtsp://192.168.1.57:8555/unicast \&#xA;    -i rtp://192.168.1.37:12348 \&#xA;    -acodec copy -vcodec libx264 \&#xA;    -f rtp_mpegts "rtp://192.168.1.77:5000?ttl=2"&#xA;

    &#xA;

    Error :

    &#xA;

    [h264 @ 0x55ac6acaf4c0] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x55ac6acaf4c0] decode_slice_header error&#xA;[h264 @ 0x55ac6acaf4c0] no frame!&#xA;[h264 @ 0x55ac6acaf4c0] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x55ac6acaf4c0] decode_slice_header error&#xA;[h264 @ 0x55ac6acaf4c0] no frame!&#xA;[h264 @ 0x55ac6acaf4c0] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;

    &#xA;

    What am I doing wrong ?

    &#xA;

  • Install ffmpeg-php with PHP 5.3.x [closed]

    4 octobre 2012, par Proloy

    I know that this question has been asked many times on this site. I tried all and nothing works for me. I also saw some rumor that ffmpeg-php doesn't work well with PHP 5.3.x.

    I am totally fed up. My FFMPEG-PHP worked fine for PHP 5.2.x but after I upgraded to PHP 5.3.x it stopped to show in phpinfo().

    I have a centOS 5.8 box.

    Can anyone tell me why this happened ?