Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (65)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (9594)

  • FFMPEG concat videos

    10 juin 2015, par Maverick

    I am unable to concat two videos using FFMPEG. The command fails on the two special videos.

    Video 1 :
    First video is generated from the image using the following command :

    ffmpeg -loop 1 -i 20150608_162807.jpg -c:v libx264 -t 3 -pix_fmt yuv420p out.mp4

    I tried to concat the above video but it did not work so, I thought to add an audio to check if it will work.

    ffmpeg -f lavfi -i aevalsrc=0 -i out.mp4 -shortest -c:v copy -c:a aac -strict experimental silent.mp4

    but even with that it did not work.

    Video 2 :
    Second video is captured from the device camera.

    Both of these videos can be downloaded from here.

    06-09 11:05:56.238  29771-30715/﹕ ffmpeg -i concat:/storage/emulated/0/DCIM/Camera/20150603_142209.mp4|/storage/emulated/0/DCIM/Camera/silent.mp4 -c copy /storage/emulated/0/DCIM/test/MIU-2015-06-09 11-05-56.mp4
    06-09 11:05:56.268  29771-30739/﹕ WARNING: linker: ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
    06-09 11:05:56.278  29771-30739/﹕ ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    06-09 11:05:56.278  29771-30739/﹕ built on Apr  8 2015 11:29:21 with gcc 4.8 (GCC)
    06-09 11:05:56.278  29771-30739/﹕ configuration: --target-os=linux --cross-prefix=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/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=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/ffmpeg-pkg-config --prefix=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    06-09 11:05:56.278  29771-30739/﹕ libavutil      54.  7.100 / 54.  7.100
    06-09 11:05:56.278  29771-30739/﹕ libavcodec     56.  1.100 / 56.  1.100
    06-09 11:05:56.288  29771-30739/﹕ libavformat    56.  4.101 / 56.  4.101
    06-09 11:05:56.288  29771-30739/﹕ libavdevice    56.  0.100 / 56.  0.100
    06-09 11:05:56.288  29771-30739/﹕ libavfilter     5.  1.100 /  5.  1.100
    06-09 11:05:56.288  29771-30739/﹕ libswscale      3.  0.100 /  3.  0.100
    06-09 11:05:56.288  29771-30739/﹕ libswresample   1.  1.100 /  1.  1.100
    06-09 11:05:56.288  29771-30739/﹕ libpostproc    53.  0.100 / 53.  0.100
    06-09 11:05:56.308  29771-30739/﹕ [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb5e5a400] Found duplicated MOOV Atom. Skipped it
    06-09 11:05:56.398  29771-30739/﹕ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:/storage/emulated/0/DCIM/Camera/20150603_142209.mp4|/storage/emulated/0/DCIM/Camera/silent.mp4':
    06-09 11:05:56.398  29771-30739/﹕ Metadata:
    06-09 11:05:56.398  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.398  29771-30739/﹕ major_brand     : isom
    06-09 11:05:56.398  29771-30739/﹕ minor_version   : 512
    06-09 11:05:56.398  29771-30739/﹕ compatible_brands: isomiso2avc1mp41
    06-09 11:05:56.398  29771-30739/﹕ Duration: 00:00:04.80, start: 0.000000, bitrate: 13040 kb/s
    06-09 11:05:56.398  29771-30739/﹕ Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 12008 kb/s, 29.88 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    06-09 11:05:56.398  29771-30739/﹕ Metadata:
    06-09 11:05:56.398  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.398  29771-30739/﹕ handler_name    : VideoHandle
    06-09 11:05:56.408  29771-30739/﹕ Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
    06-09 11:05:56.408  29771-30739/﹕ Metadata:
    06-09 11:05:56.408  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.408  29771-30739/﹕ handler_name    : SoundHandle
    06-09 11:05:56.408  29771-30739/﹕ Output #0, mp4, to '/storage/emulated/0/DCIM/iLoveVideo/MIU-2015-06-09 11-05-56.mp4':
    06-09 11:05:56.408  29771-30739/﹕ Metadata:
    06-09 11:05:56.408  29771-30739/﹕ compatible_brands: isomiso2avc1mp41
    06-09 11:05:56.408  29771-30739/﹕ major_brand     : isom
    06-09 11:05:56.408  29771-30739/﹕ minor_version   : 512
    06-09 11:05:56.408  29771-30739/﹕ encoder         : Lavf56.4.101
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 12008 kb/s, 29.88 fps, 90k tbn, 90k tbc (default)
    06-09 11:05:56.418  29771-30739/﹕ Metadata:
    06-09 11:05:56.418  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.418  29771-30739/﹕ handler_name    : VideoHandle
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 256 kb/s (default)
    06-09 11:05:56.418  29771-30739/﹕ Metadata:
    06-09 11:05:56.418  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.418  29771-30739/﹕ handler_name    : SoundHandle
    06-09 11:05:56.418  29771-30739/﹕ Stream mapping:
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:0 -> #0:0 (copy)
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:1 -> #0:1 (copy)
    06-09 11:05:56.418  29771-30739/﹕ Press [q] to stop, [?] for help
    06-09 11:05:56.548  29771-30739/﹕ frame=  142 fps=0.0 q=-1.0 Lsize=    7121kB time=00:00:04.80 bitrate=12153.1kbits/s
    06-09 11:05:56.558  29771-30739/﹕ video:6965kB audio:150kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078725%

    Update 1 :
    The concat protocol doesn’t work with mp4s. So, I tried the other approaches.

    ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
    ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
    ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4

    but still it didn’t work.

    Update 2 :
    I have also used concat demuxer approach but it did not work as well.

  • how to convert mp4 to swf using ffmpeg ?

    10 juin 2015, par Ray

    the command "ffmpeg -i 11.mp4 out.swf" is work.but when i try to convert other mp4 . it’s wrong .
    the output info

    D:\ffmpeg>ffmpeg -i test.mp4  out3.swf
    ffmpeg version N-71042-g83020f8 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
    libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librt
    enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 29.100 / 56. 29.100
     libavformat    56. 26.101 / 56. 26.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 13.101 /  5. 13.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     Metadata:
       major_brand     : M4V
       minor_version   : 1
       compatible_brands: M4V mp42isom
       creation_time   : 2015-05-15 09:01:41
     Duration: 00:00:07.25, start: 0.000000, bitrate: 4213 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 480x360 [SAR 1:1 DAR 4:3], 4042 kb/s, 10 fps, 10 tbr, 20 tbn, 20 tbc (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Video Media Handler
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Sound Media Handler
    [swf @ 000000000541f8a0] **swf does not support that sample rate, choose from (44100, 22050, 11025).**
    Output #0, swf, to 'out3.swf':
     Metadata:
       major_brand     : M4V
       minor_version   : 1
       compatible_brands: M4V mp42isom
       encoder         : Lavf56.26.101
       Stream #0:0(eng): Video: flv1 (flv), yuv420p, 480x360 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Video Media Handler
         encoder         : Lavc56.29.100 flv
       Stream #0:1(eng): Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Sound Media Handler
         encoder         : Lavc56.29.100 libmp3lame
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
     Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Could not write header for output file #0 (incorrect codec parameters ?): Error number -1 occurred

    error info
    1、swf does not support that sample rate, choose from (44100, 22050, 11025).
    2、 Could not write header for output file #0 (incorrect codec parameters ?) : Error number -1 occurred

    i found the answer . but
    http://superuser.com/questions/547022/how-to-convert-mp4-to-swf

    so MP4 with h264 encoder cannot convert ?

  • FFmpeg changing Keyframe Interval / GoP values while reencoding a Livestream ?

    17 juin 2015, par eCronik

    I am using ffmpeg in an nginx environment to reencode Livestreams on Ubuntu.

    So there are 2 Livestreams with the exact identical options going into the reencode. Both are streaming to a server in germany - one comes from germany, the other comes from the US eastcoast. So I have the problem, that the receiver after the reencode moans after some time about the Keyframe Interval growing higher of the stream coming from the US - until a certain point where it stops. This is not always happening in the same amount of time or to the same extent.

    This is the line I am using to reencode :

    exec_push ffmpeg -i rtmp://localhost/input/$name -c:v libx264 -preset slow -profile:v main -b:v 2175k -minrate 2175k -maxrate 2175k -bufsize 2175k -r 40 -g 80 -c:a aac -strict -2 -b:a 160k -f flv rtmp://server \-c copy -f flv rtmp://server;

    Does anybody have a clue what could cause this and how to prevent it ? Changing x264 cpu preset on the machine where the stream comes from to something faster doesn’t work, and the reencode-server is just at 50% usage with ’slow’ as well.

    Here my version info :

    ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --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-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-libvo-aacenc --enable-libvidstab
    libavutil      54. 20.100 / 54. 20.100
    libavcodec     56. 26.100 / 56. 26.100
    libavformat    56. 25.101 / 56. 25.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 11.102 /  5. 11.102
    libavresample   2.  1.  0 /  2.  1.  0
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  3.100 / 53.  3.100

    Thanks a bunch,
    eC