Recherche avancée

Médias (91)

Autres articles (55)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (11585)

  • Using FFMPEG to stream continuously videos files to a RTMP server

    16 avril 2017, par KKetch

    ffmpeg handles RTMP streaming as input or output, and it’s working well.

    I want to stream some videos (a dynamic playlist managed by a python script) to a RTMP server, and i’m currently doing something quite simple : streaming my videos one by one with FFMPEG to the RTMP server, however this causes a connection break every time a video end, and the stream is ready to go when the next video begins.

    I would like to stream those videos without any connection breaks continuously, then the stream could be correctly viewed.

    I use this command to stream my videos one by one to the server

    ffmpeg -re -y -i myvideo.mp4 -vcodec libx264 -b:v 600k -r 25 -s 640x360 \
    -filter:v yadif -ab 64k -ac 1 -ar 44100 -f flv \
    "rtmp://mystreamingserver/app/streamName"

    I looked for some workarounds over the internet for many days, and i found some people talking about using a named pipe as input in ffmpeg, I’ve tried it and it didn’t work well since ffmpeg does not only close the RTMP stream when a new video comes but also closes itself.

    Is there any way to do this ? (stream a dynamic playlist of videos with ffmpeg to RTMP server without connection breaks

  • ffmpeg - Incompatible sample format '(null)'

    17 juin 2012, par abrahab

    I convert videos from different sources with ffmpeg to mp4 with libx264 codec. After conversation time to time I got incorrect format error when trying to load already converted video with ffmpeg : Incompatible sample format '(null)' for codec 'aac', auto-selecting format 's16'

    Seems, it is audio stream problem with aac codec ? How to fix or how to convert videos to mp4 to be sure that I will not get the following error ? Maybe somehow need to specify audio format at the ffmpeg convert command ?

    ps. Video must work at Iphone/Ipad.
    pps. the main problem, that such videos with the following error can not be pseudo-streamed with nginx (got 500 Error)
    ppps. and sorry for my bad english, please, correct my text if need. thanks.

    Some additional info from file :

     Duration: 00:00:10.30, start: 0.000000, bitrate: 614 kb/s
       Stream #0.0(rus): Video: h264 (High), yuv420p, 1024x576, 567 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
       Stream #0.1(rus): Audio: aac, 22050 Hz, stereo, s16, 57 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
  • ffmpeg/avconv mp4 to webm libvorbis buffer overflow

    4 janvier 2013, par Halsafar

    Trying to convert a bunch of mp4 files into webm. So I run the following command. I tried a similar command with ffmpeg.

    avconv -i input.mp4 -threads 8 -s 1280x720 -pre libvpx-720p -b 3900k -pass 2 -acodec libvorbis -b:a 128k -ac 2 -f webm -y output/webm

    Results in :

       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf52.32.0
     Duration: 00:01:02.90, start: 0.000000, bitrate: 1649 kb/s
       Stream #0.0(und): Video: mpeg4 (Simple Profile), yuv420p, 640x480 [PAR 4:3 DAR 16:9], 1492 kb/s, PAR 853:640 DAR 853:480, 23.94 fps, 30 tbr, 30 tbn, 30 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
       Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 152 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    [buffer @ 0x1232600] w:640 h:480 pixfmt:yuv420p
    [scale @ 0x123c300] w:640 h:480 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4
    [libvpx @ 0x1256d60] v1.0.0
    Output #0, webm, to 'output.webm':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.21.0
       Stream #0.0(und): Video: libvpx, yuv420p, 1280x720 [PAR 2559:2560 DAR 853:480], q=11-51, pass 2, 3900 kb/s, 1k tbn, 30 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
       Stream #0.1(und): Audio: libvorbis, 44100 Hz, stereo, s16, 152 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> libvpx)
     Stream #0:1 -> #0:1 (aac -> libvorbis)
    Press ctrl-c to stop encoding
    [libvorbis @ 0x1221240] libvorbis: buffer overflow.Audio encoding failed

    Notice the nice error. buffer overflow in libvorbis.

    Any assistance ? An Alternative conversion command ?

    UPDATE

    The first pass looks like this :

    avconv -i input.mp4 -threads 8 -s 1280x720 -pre libvpx-720p -b 3900k -pass 1 -an -f webm -y output.webm

    Thanks !