Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (62)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (6321)

  • FFMPEG .mov to .mp4 convertion failure

    25 mai 2016, par Pasha Rumkin

    I’m converting .mov and .mp4 to .mp4 with FFMPEG to play them on iOS and Android devices. Mp4 from Android is converting properly and playing on both devices iPhone and Android. But iPhone’s .mov result is strange. It’s playing on iPhone and Android 4. But when I’m trying to open this video with Photo app (Android 5, 6) it outputs unsupported video message.

    FFMPEG command :

    ffmpeg -i app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63 \
          -y -b:a 128k -ac 2 -acodec libfdk_aac -b:v 300k -vcodec libx264 \
          -filter:v scale=w=320:h=trunc(ow/a/2)*2 -vprofile baseline \
          -movflags faststart -f mp4 \
          app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63.mp4

    ffprobe with output file :

    ffprobe version N-80026-g936751b Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 42.100 / 57. 42.100
     libavformat    57. 36.100 / 57. 36.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 45.100 /  6. 45.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '68fa392b-df25-4622-93ab-cf9bf1253f63.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.36.100
     Duration: 00:00:00.65, start: 0.000000, bitrate: 297 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x568, 178 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
  • concatenate MP4 videos with FFmpeg using concat demuxer in android

    10 mai 2016, par Ara Badalyan

    I want to concatenate MP4 videos with FFmpeg, the problem is when I want to merge videos taken with Iphone and Android it throws problem :

    Non-monotonous DTS in output stream 0:1 ; previous : 150528, current : 139268 ; changing to 150529. This may result in incorrect timestamps in the output file.

    This is my code

    merge.txt

    file 'iphone.mp4'
    file 'android.mp4'

    FFmpeg command

    ffmpeg -f concat -i marge.txt -c copy -y merge.mp4

    If I can’t merge this videos how can I make them with same parameters (frame rate, bitrate...) and merge them ?

    I use FFmpeg version 2.4.2, because I can’t find android FFmpeg library higher then 2.4.2.

    This is complete console output of : ffmpeg -i android.mp4 -i iphone.mp4

    ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
          built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
                  configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                  libavutil      54.  7.100 / 54.  7.100
                  libavcodec     56.  1.100 / 56.  1.100
                  libavformat    56.  4.101 / 56.  4.101
                  libavdevice    56.  0.100 / 56.  0.100
                  libavfilter     5.  1.100 /  5.  1.100
                  libswscale      3.  0.100 /  3.  0.100
                  libswresample   1.  1.100 /  1.  1.100
                  libpostproc    53.  0.100 / 53.  0.100
                Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'android.mp4':
                  Metadata:
                    major_brand     : isom
            minor_version   : 512
                    compatible_brands: isomiso2avc1mp41
            encoder         : Lavf57.21.101
                  Duration: 00:00:01.29, start: 0.023220, bitrate: 308 kb/s
            Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 113 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
            Metadata:
                      handler_name    : VideoHandler
            Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 186 kb/s (default)
            Metadata:
                      handler_name    : SoundHandler
        Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'iphone.mp4':
                  Metadata:
                    major_brand     : mp42
            minor_version   : 1
                    compatible_brands: mp41mp42isom
            creation_time   : 2016-05-10 09:46:30
                  Duration: 00:00:02.63, start: 0.000000, bitrate: 4768 kb/s
            Stream #1:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 101 kb/s (default)
            Metadata:
                      creation_time   : 2016-05-10 09:46:30
                      handler_name    : Core Media Audio
            Stream #1:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 720x1280, 4657 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
            Metadata:
                      creation_time   : 2016-05-10 09:46:30
                      handler_name    : Core Media Video
        At least one output file must be specified
  • Capturing stream that has multiple frames

    22 mai 2016, par cheese5505

    I’m trying to capture a stream that has multiple "frames" (not sure that’s what you would call it but it has multiple 5 second streams inside of it) with FFmpeg and saving to file. When I put it into Quicktime player and play it works fine, however when I put it into FFmpeg and review the final file it seems that the audio and video are out of sync and the video frequently stops. I think this may be because it is stopping to switch to the new 5 second video but i’m not sure. This is the command I am using :

    ffmpeg \
       -v 9 \
       -loglevel 99 \
       -y \
       -re \
       -hwaccel auto \
       -threads 4 \
       -user-agent "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16" \
       -i "url here" \
       -ac 2 \
       -strict -2 \
       -c:a aac \
       test.mov

    In the FFmpeg log this frequently happens :

    frame=  242 fps=102 q=29.0 size=     252kB time=00:00:06.33 bitrate= 325.9kbits/
    frame=  279 fps= 96 q=29.0 size=     252kB time=00:00:07.57 bitrate= 272.8kbits/
    frame=  301 fps= 87 q=29.0 size=     252kB time=00:00:08.30 bitrate= 248.7kbits/
    frame=  319 fps= 79 q=29.0 size=     252kB time=00:00:08.90 bitrate= 231.9kbits/
    frame=  338 fps= 74 q=29.0 size=     252kB time=00:00:09.54 bitrate= 216.5kbits/
    frame=  354 fps= 70 q=29.0 size=     252kB time=00:00:10.07 bitrate= 205.0kbits/
    skipping 5 segments ahead, expired from playlists
    [https @ 0x7f9d81e10380] No trailing CRLF found in HTTP header.
    frame=  355 fps= 51 q=29.0 size=     252kB time=00:00:10.11 bitrate= 204.3kbits/
    [hls,applehttp @ 0x7f9d83001000] No longer receiving playlist 6
    [hls,applehttp @ 0x7f9d83001000] No longer receiving playlist 7
    [hls,applehttp @ 0x7f9d83001000] No longer receiving playlist 8
    skipping 3 segments ahead, expired from playlists
    [https @ 0x7f9d81f006a0] No trailing CRLF found in HTTP header.

    Any ideas how I could smooth out the final file would be greatly appreciated.