Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (36)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • 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.

  • concatenate mp4 videos with ffmpeg concat demuxer in android

    6 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 ?

    P.S I use ffmpeg version 2.4.2 , because I can’t find android ffmpeg library higher then 2.4.2.