Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (82)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • 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

Sur d’autres sites (5512)

  • Video not playing on all browsers (FFMPEG)

    12 février 2021, par Mithradantor

    For days I have been struggeling with ffmpeg (PHP).

    


    I have a website where users can upload video's. Obviously people use .mov, .mp4 and .mpeg created by various devices such as cameras, mobile telephones, tablets and many more devices. The problem I have is that those movies either work on Firefox or Chrome, but almost never on both. No clue why, I guess it has to do with codecs and browser support.

    


    I am using FFMpeg to turn them into webm files. This works 95% of the time. In all browsers I have a working video and the sound works too. But sometimes there is no sound at all.

    


    When I open the movie in a other browser (or Windows media player for example) I do hear sound. It is so random to in what browser or software it works or does not work.

    


    Does anyone know of a way to make sure that your movies work in every browsers i.e. Chrome, FireFox and Safari with both video and audio ? and if so, how can I transform them and into what format (codecs ?)

    


    I dont mind converting a movie into three different formats, as long as both video and audio works.

    


    I hope someone can give me some advice. I have tried many ways but none work cross-browser so far.

    


    An example of the code that I use :

    


    $video->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');


    


    Does anyone know how I can make it work on every browser ?

    


    What I already tried is (amongst others) :

    


    using an original mp3 or mov and convert it into webm with this code :

    


    ffmpeg -i origin.mov -c:a libvorbis -strict -2 -c:v libvpx-vp9 output.webm

    


    Unfortunately in FireFox i have visual and audio but in Chrome I have nothing, just a blank screen.

    


  • use anullsrc in ffmpeg command

    7 juin 2019, par S.T

    I have ffmpeg command that i want to add anullsrc filter to it

    I tried to add the command in different places there but there is always a problem. the command is taking 2 movies and merging them to one movie side by side. the audio is the 2 movies together.

    This is the command :

    ffmpeg -i loop2.mp4 -i loop1.mp4 -i logo.png -filter_complex "[0:v]pad=width=iw+20:height=ih+20:x=10:y=10:color=black[a] ;[1:v]pad=width=iw+20:height=ih+20:x=10:y=10:color=black[b] ;nullsrc=size=640x480[base] ;[a]setpts=PTS-STARTPTS, scale=320x480[left] ;[b]setpts=PTS-STARTPTS, scale=320x480[right] ;[base][left]overlay=shortest=1[tmp1] ;[tmp1][right] overlay=320:0[video] ;[video]overlay=5:5[videoandlogo] ;[0:a]apad [apa] ;[apa][1:a]amerge=inputs=2,pan=stereo|FL

    In the command i have the nullsrc for the video and i want to add also the anullsrc for the audio.
    Can some one help ? Thanks.

    I have a problem when doing this command with the right file (always the right, even if i switched the files), the audio is not synced with the video and i think its because i didn’t use the anullsrc (maybe i am wrong). it happens only on files that i concat them - took one video, and concat it a few times to itself with a different command - loop, and created a new file. the looped video is synced, only the merge is destroying the audio sync (on regular files without loop the sync is good after the merge).
    Thanks.

  • Error initializing filter 'pan' with args 'stereo:c0 c0+c2:c1 c1+c3'

    24 mai 2020, par Android Developer

    I run below FFmpeg command to merge audio and video keeping video's original audio using FFmpeg 4.0-39 version-

    



    -i /storage/emulated/0/Movies/extract_audio.mp3 -i /storage/emulated/0/Movies/VID-20200501-WA0000.mp4 -filter_complex [0:a][1:a]amerge,pan=stereo:c0storage/emulated/0/Movies/merge_video.mp4


    



    It fails for all videos with below error !However same command runs fine when using older version 3.0.1 of FFMpeg !

    



    FAILED with output : ffmpeg version n4.0-39-gda39990 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 4.9.x (GCC) 20150123 (prerelease)
      configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-ffprobe --enable-libopus --enable-libvorbis --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-libvpx --enable-libass --enable-yasm --enable-pthreads --disable-debug --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --enable-nonfree --pkg-config=pkg-config --pkg-config-flags=--static --prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags=
      libavutil      56. 14.100 / 56. 14.100
      libavcodec     58. 18.100 / 58. 18.100
      libavformat    58. 12.100 / 58. 12.100
      libavdevice    58.  3.100 / 58.  3.100
      libavfilter     7. 16.100 /  7. 16.100
      libavresample   4.  0.  0 /  4.  0.  0
      libswscale      5.  1.100 /  5.  1.100
      libswresample   3.  1.100 /  3.  1.100
      libpostproc    55.  1.100 / 55.  1.100
    Input #0, mp3, from '/storage/emulated/0/Movies/extract_audio.mp3.mp4':
      Metadata:
        major_brand     : M4V 
        minor_version   : 512
        compatible_brands: isomiso2avc1
        encoder         : Lavf58.12.100
      Duration: 00:00:20.04, start: 0.025057, bitrate: 256 kb/s
        Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 256 kb/s
        Metadata:
          encoder         : Lavc58.18
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/VID-20200501-WA0000.mp4.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf58.20.100
      Duration: 00:00:09.83, start: 0.000000, bitrate: 809 kb/s
        Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 480x600, 737 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #1:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
    [Parsed_pan_1 @ 0xaef0c000] This syntax is deprecated. Use '|' to separate the list items ('stereo|c0code>