Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (75)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11679)

  • How to receive MPEGT-TS stream with Pro-MPEG FEC using ffmpeg ?

    1er février 2019, par Antoxic

    I have two Linux computers connected through internet transmitting MPEG-TS from one PC to the other. The connection is not perfect and sometimes the packets get lost. I want to transmit an MPEG-TS from one PC to another using PRO-MPEG in order to enable error correction (FEC). On one computer I’m running ffmpeg with :

    ffmpeg-i "http://1.2.3.4:1234 -map 0 -r 25 -c:v copy -f rtp_mpegts -fec prompeg=l=5:d=5 rtp://4.3.2.1:4321

    And now I need to receive that stream and I want to correct the transmission errors using the FEC info which comes on RTP port +1 and +2. How can I achieve that with ffmpeg ? If it is not possible wit ffmpeg, what other solution can I use ?

    I’m using an ffmpeg snapshot version N-87867-g0655810. I can’t find any information about how to receive it and use the FEC information to recover transmission errors.

  • ffmpeg quits if one output stream fails - can this be prevented ? [duplicate]

    5 décembre 2017, par Caius Jard

    I’m responsible for maintaining a device that streams a live webcam feed to a remote relay server, and simultaneously writes a version of the stream to the local disk. It does this by a single instance of ffmpeg that has two outputs - one to the local disk, and one over rtsp to the streaming server

    I’m encountering a problem where by if the streaming server disconencts for any reason, ffmpeg quits. I’m not really bothered if the live stream is lost, but it’s a big problem that the local recording is lost also - it’s not a huge detriment to the particular business process if it cannot be watched live, but losing the locally stored copy is a disaster

    ffmpeg is started with a command line similar to :

    ffmpeg -thread_queue_size 4096 -async 1 -f v4l2
     -input_format mjpeg -framerate 30 -video_size 1280x720
     -i /dev/video0 -thread_queue_size 4096 -async 1 -f alsa
     -i plughw:CARD=Set,DEV=0 -r 30 -c:a aac -b:a 96k -c:v h264 -b:v 983040
     -profile:v baseline -preset veryfast -pix_fmt yuv420p
     -f tee -map 0:v -map 1:a
       [f=matroska]'/var/recordings/yyyy-mm-dd/backup.mkv'|
       [f=rtsp:rtsp_transport=tcp]rtsp://streamingserver.com:1234/session.sdp`

    Is there any way (command line switch etc) that ffmpeg can be made to carry on if an output stream is lost, rather than quitting ?

  • Streaming .264 file while it is being encoded

    1er décembre 2017, par 123435258

    I have been digging around on the internet for a solution of my problem but I still haven’t found any solution yet.

    Let me describe my trouble.

    I have an IP camera that is connected to the another system. The system has a UDP output and transmits every data that is taken from the camera at each 20ms in real-time.

    I have written a Python code that takes the camera data from socket and turns it to a .264 video file while it is being encoded. To display it ;

    I first create a rtp server for streaming and open the URL address in VLC and wait for the second command.

    ffmpeg -i rtp://127.0.0.1:1234 -c copy -f flv rtp://127.0.0.1:1234/PSIA/Streaming/channels/2?videoCodecType=H.264

    Then I give this second command as soon as I run my Python code.

    ffmpeg -re -i C:\Python27\myVideo.264 -c copy -f rtp_mpegts rtp://127.0.0.1:1234 -c copy -f flv

    What I would like to do is to display the video at real-time with 3 seconds delay forever. However, as mentioned above, the system gives the data at every each 20ms and ffmpeg can’t find the key frames to play the video at real-time at such a speed. I can display the video for 30 seconds with 5 seconds delay, then video turns into images in every 1s which is not a continuous video and which is not I want.

    Any help would be appreciated. Thanks in advance !