Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (111)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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 (13887)

  • Failed Concatenate after segmentation with time_timestamps 1

    30 juillet 2019, par user2190197

    I’m trying strip video file to segments, and concatenate some parts :
    code for strip video :

    -y -i $dirs[input] -c copy -map 0 -segment_time 0.001 -f segment -reset_timestamps 1 $dirs[process_dir]%d.mp4

    Concat :

    -y -safe 0 -f concat -i $temp_file -c copy \"$dirs[output]\"

    Where $temp_file is correct .txt file ;

    Sometimes ffmpeg ruins final video length. There’s log :

    ffmpeg version 3.3.4-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.4.0 (Debian 6.4.0-4) 20170820
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fa57a0] Auto-inserting h264_mp4toannexb bitstream filter
    Input #0, concat, from '/var/www/vhost.d/ffmpeg/htdocs/output_videos/0/227/2019-07-30-09-29-36.txt':
     Duration: N/A, start: -0.046440, bitrate: 1822 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1370x720 [SAR 2056:2055 DAR 257:135], 1757 kb/s, 29.95 fps, 29.95 tbr, 19168 tbn, 59.90 tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s
       Metadata:
         handler_name    : SoundHandler
    Output #0, mp4, to '/var/www/vhost.d/ffmpeg/htdocs/output_videos/0/227/227_45.mp4':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0(und): Video: h264 (High) ([33][0][0][0] / 0x0021), yuv420p, 1370x720 [SAR 2056:2055 DAR 257:135], q=2-31, 1757 kb/s, 29.95 fps, 29.95 tbr, 19168 tbn, 19168 tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 64 kb/s
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fa57a0] Auto-inserting h264_mp4toannexb bitstream filter
       Last message repeated 19 times
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fae700] Auto-inserting h264_mp4toannexb bitstream filter
       Last message repeated 2 times
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fa57a0] Auto-inserting h264_mp4toannexb bitstream filter
       Last message repeated 15 times
    [mp4 @ 0x3fe61a0] Non-monotonous DTS in output stream 0:0; previous: 2156122, current: 2156089; changing to 2156123. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x3fe61a0] Non-monotonous DTS in output stream 0:1; previous: 4961225, current: 4960677; changing to 4961226. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x3fe61a0] Application provided duration: 189408058806 is invalid
    av_interleaved_write_frame(): Invalid argument
    frame= 3364 fps=0.0 q=-1.0 Lsize=   26195kB time=00:01:52.51 bitrate=1907.2kbits/s speed= 237x
    video:25192kB audio:884kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.457517%
    Conversion failed!

    If i remove reset_timestamps 1, video duration would be correct, but the video will have bugs, for example, some parts will slow down

  • Anomalie #4368 (Nouveau) : Filtres image_* et espaces dans les noms de fichiers

    7 août 2019, par nicod _

    Suite à un passage de 3.0 à 3.2, plein d’images cassées sur le site, qui affichait le nom du fichier au lieu de la vignette.

    Après investigation, c’est dû à des espaces dans les noms de fichiers.

    Exemple : [(#CHEMINIMG/festivals/affiche 2019.jpg|image_reduire200,200)] ne marche pas (affiche le nom du fichier)

    Le fichier existe bien, c’est un jpeg valide.

    Ce n’est pas dû à #CHEMIN, dans mon squelette les chemins remontent avec des balises de champs sql (genre #AFFICHE)

    Avec un |balise_img ça fonctionne : [(#CHEMINIMG/festivals/affiche 2019.jpg|balise_img|image_reduire200,200)]

    PS : discuté sur IRC et confirmé par cy_altern, qui précise : "si j’appelle le filtre sur un #FICHIER avec espace ça plante aussi"

  • Anomalie #4369 (En cours) : YQL n’est plus actif

    7 août 2019, par Ybbet SPIP

    Bonjour tout le monde,

    J’ai envoyé un message sur la liste SPIP-Dev. Je crée un ticket pour traçabilité.

    SPIP offre depuis la boucle DATA la source YQL. Cf. code ici : https://core.spip.net/projects/spip/repository/entry/spip/ecrire/iterateur/data.php#L642
    Malheureusement, le service est fermé depuis le 3 janvier 2019. cf. https://news.ycombinator.com/item?id=18785255

    Je n’ai pas trouvé de solutions alternatives équivalentes en ligne. Que du Desktop "freemium" quand une solution existe.
    Il existe https://vespa.ai/ qui est à installer sur une machine.
    Autre élément trouvé https://www.pipes.digital/
    Je ne suis pas sûr qu’on retrouve une souplesse telle que l’était YQL.

    Bien à vous,