Recherche avancée

Médias (91)

Autres articles (94)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (8995)

  • ffmpeg mp4 compress [closed]

    11 mars 2013, par Марин-Мемо Митрев

    I was on a vacation with friends and we made lot of videos with a GoPro camera... We did 40GB of videos... So could you help me compress them with ffmpeg. The sound can be at the worst quality but the video must be at above 480p.
    The idea is that I have linux server only with command line to convert them(otherwise I would do it all by myself) Info about untouched videos bellow.
    I know that I will be voted with very much minuses on the question but worth a try posting here...

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GOPR0524.MP4':
     Metadata:
       major_brand     : avc1
       minor_version   : 0
       compatible_brands: avc1isom
       creation_time   : 2013-02-27 13:20:19
     Duration: 00:00:09.20, start: 0.000000, bitrate: 15435 kb/s
       Stream #0.0(eng): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 15278 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Metadata:
         creation_time   : 2013-02-27 13:20:19
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
       Metadata:
         creation_time   : 2013-02-27 13:20:19
    At least one output file must be specified
  • Horizontally show two videos side by side and export to one video

    15 juin 2015, par Michael Liberman

    What I am trying to achieve :
    Programmatically (using some kind of script) combine two different videos to one video where the videos are shown side by side and sound from both videos is played simultaneously.

    I found at least two ways I could display two videos side by side but in each one I have a different problem that makes it difficult to complete the process :

    1. Avisyth and Avs2Avi :
      Avisyth really makes the process easy. With a simple Avisyth script like this you should be able to play two videos side by side :

      video1=AVISource("d:\file1.avi")<br />
      video2=AVISource("d:\file2.avi")<br />
      StackHorizontal(video1,video2)

      The creation of a new output file can be done with avs2avi.
      The problem here is that i am not able to play even one avi file with avisyth because I get "AviSource couldn’t locate a decompressor for fourcc xvid" message. I googled for the solutions to that problem but nothing helped. GSpot says that i have all the codecs needed and it seems I can not do anything. Because I can not get to running real videos, I dont know if the final video plays sounds from both videos. Avisyth installed correctly and I am able to run the following script StackHorizontal(version ,version).

    2. ffmpeg
      Works like a charm with two videos and the final file BUT i do not get the sounds from both videos but only the first one. I found out that the solution to add sound from the second video will be by using the libfaac in the command line, like that :

       ffmpeg.exe -i video1.mp4 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; movie=video2.mp4, scale=iw/3:ih/3 [right]; [left][right] overlay=main_w/2:0 [out]" -c:a libfaac -b:v 768k Output.mp4

    but i always get an error that the encoder libfaac can not be found. I downloaded the libfaac.dll but still no result.

    Is there a solution to any of these problems ? Is there another way to programmatically make one video from two videos that are played side by side ? Thanks in advance.

  • Warning in ffmpeg : Invalid SampleDelta in STTS [closed]

    20 mars 2013, par JuCachalot

    I use ffmpeg to encode video files in order to use in HTML5 video tag. My input files are .mp4 files in h264 exported from Adobe Premiere CS5 and I want to create two output files, one in h264 - aac with higher compression in baseline profile and one in webm VP8 - vorbis.

    For some input files, I've got this warning from ffmpeg :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x178f3a0] Invalid SampleDelta in STTS -31999

    It does not prevent me from encoding the files but I would like to ask you what does it mean and if I should care and do something about it.

    This is my command :

    ffmpeg -loglevel verbose -i inputVideo.mp4 -c:v libvpx -quality best -cpu-used 0 -crf 20 -b:v 300k -qmin 10 -qmax 42 -maxrate 350k -bufsize 1000k -threads 4 -rc_lookahead 16 -keyint_min 0 -g 360 -skip_threshold 0 -level 116 -c:a libvorbis -b:a 96k -ac 1 /home/juju/videos/outputVid.webm

    Here is the complete console output from ffmpeg :

    ffmpeg version N-38686-gd07de6d Copyright (c) 2000-2012 the FFmpeg developers
     built on Mar  9 2012 17:08:40 with gcc 4.4.3
     configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl --enable-libfaac --enable-libtheora --enable-zlib --disable-shared --enable-libx264 --enable-libdirac --enable-nonfree --enable-version3 --enable-libschroedinger --enable-avfilter --enable-libspeex --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay --enable-pthreads --prefix=/usr/local --enable-x11grab --enable-runtime-cpudetect --enable-bzlib --enable-libdc1394 --enable-libvpx
     libavutil      51. 42.100 / 51. 42.100
     libavcodec     54. 10.100 / 54. 10.100
     libavformat    54.  2.100 / 54.  2.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 63.100 /  2. 63.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  7.100 /  0.  7.100
     libpostproc    52.  0.100 / 52.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d153a0] Invalid SampleDelta in STTS -31999
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;inputVideo.mp4&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2012-12-14 15:25:22
     Duration: 00:01:31.05, start: 0.000000, bitrate: 14312 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 800x450 [SAR 1:1 DAR 16:9], 14005 kb/s, 25.01 fps, 25 tbr, 25k tbn, 50 tbc
       Metadata:
         creation_time   : 2012-12-14 15:25:22
         handler_name    : Mainconcept MP4 Video Media Handler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 317 kb/s
       Metadata:
         creation_time   : 2012-12-14 15:25:22
         handler_name    : Mainconcept MP4 Sound Media Handler
    [buffer @ 0x1d152c0] w:800 h:450 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    Incompatible sample format &#39;s16&#39; for codec &#39;libvorbis&#39;, auto-selecting format &#39;flt&#39;
    [libvpx @ 0x1d280e0] v0.9.7-p1
    [libvpx @ 0x1d280e0] --enable-pic --enable-shared --disable-install-bins --disable-install-srcs --target=x86_64-linux-gcc
    Output #0, webm, to &#39;/home/juju/videos/outputVid.webm&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2012-12-14 15:25:22
       encoder         : Lavf54.2.100
       Stream #0:0(eng): Video: vp8, yuv420p, 800x450 [SAR 1:1 DAR 16:9], q=10-42, 300 kb/s, 1k tbn, 25 tbc
       Metadata:
         creation_time   : 2012-12-14 15:25:22
         handler_name    : Mainconcept MP4 Video Media Handler
       Stream #0:1(eng): Audio: vorbis, 48000 Hz, 1 channels, flt, 96 kb/s
       Metadata:
         creation_time   : 2012-12-14 15:25:22
         handler_name    : Mainconcept MP4 Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libvpx)
     Stream #0:1 -> #0:1 (aac -> libvorbis)
    Press [q] to stop, [?] for help
    frame= 2275 fps= 11 q=0.0 Lsize=    3989kB time=00:01:31.04 bitrate= 358.9kbits/s  
    video:2870kB audio:1067kB global headers:4kB muxing overhead 1.219887%

    Thank you !