Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (93)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (12130)

  • "An attempt was made to load a program with an incorrect format"

    31 janvier 2014, par user2922938

    I work in visual studio 2008, when run the program this error is shown :

    $exception "Could not load file or assembly 'AForge.Video.FFMPEG,
    Version=2.2.5.0, Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its dependencies. An attempt was made to load a program with an incorrect format."

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using AForge.Video.FFMPEG;

    namespace WindowsFormsApplication9
    {
       public partial class Form1 : Form
       {        
           public Form1()
           {
               InitializeComponent();
           }

           private void button1_Click(object sender, EventArgs e)
           {
               VideoFileReader video = new VideoFileReader();
           }
       }
    }

    What is wrong with my program ?

  • Encode video for streaming in Android using FFmpeg

    16 décembre 2013, par Timofey

    UPD : I guess I found the problem. For some reason, 1800x1080 video aren't playing while same vid resized to 800x480 with same set of encoding settings is working just fine.
    So the question is : why I couldn't play video with res. bigger than the size of my screen ?

    I'm trying to build a simple video-streaming app for android.

    For the purpose of testing, I used this video http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4, and it worked fine.

    However I miserably failed trying to prepare my own video for streaming.
    I'm using FFmpeg & libx264 with the following line (last attempt) :

    ffmpeg -i <input /> -c:v libx264 -profile:v baseline -c:a aac -strict experimental <output>
    </output>

    Then I passed the output to qt-faststart, as some people suggested... No effect.

    Here is the output of ffmpeg -i for my video :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;bbb_audio_h264.mp4&#39;:
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 2008-05-27 18:40:35
       encoder         : Lavf53.32.100
     Duration: 00:00:10.04, start: 0.000000, bitrate: 5048 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 4605 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
       Metadata:
         creation_time   : 2008-05-27 18:40:35
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 440 kb/s
       Metadata:
         creation_time   : 2008-05-27 18:40:35
         handler_name    :

    And for the working one :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;big_buck_bunny.mp4&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42avc1
       creation_time   : 2010-02-09 01:55:39
     Duration: 00:01:00.09, start: 0.000000, bitrate: 733 kb/s
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, s16, 65 kb/s
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : Apple Sound Media Handler
       Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 612 kb/s, 23.96 fps, 24 tbr, 600 tbn, 1200 tbc
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : Apple Video Media Handler
       Stream #0:2(eng): Data: none (rtp  / 0x20707472)
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : hint media handler
       Stream #0:3(eng): Data: none (rtp  / 0x20707472)
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : hint media handler
  • python call of ffmpeg misses target file parameter

    2 décembre 2016, par Fred

    I’m writing a python GUI for ffmpeg. When calling ffmpeg via subprocess it runs fine as long as the command is like

    subprocess.Popen([ffmpeg_converter,
           '-i',file,
           target_file
           ])

    But when I do the same call with ffmpeg arguments it fails with
    "At least one output file must be specified" :

    option_string = '-q:a 4'
    subprocess.Popen([ffmpeg_converter,
           '-i',file,
           option_string,
           target_file
           ])

    It even recognizes the options but does not see the target file. I even replaced the actual target file with someting simple like "test.mp3" but still the same error. Any ideas ? (I’m on windows with python 3.3.)

    The complete console output is :

       ffmpeg version N-57781-g0610d6e Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov  1 2013 18:01:35 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 49.100 / 52. 49.100
     libavcodec     55. 40.101 / 55. 40.101
     libavformat    55. 20.105 / 55. 20.105
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Trailing options were found on the commandline.
    Input #0, flac, from 'c:\script\python\testdata\source\01. Es geht los.flac':
     Metadata:
       ARTIST          : Olivia Trummer Trio
       TITLE           : Es geht los
       ALBUM           : Westwind
       DATE            : 2008
       track           : 01
       GENRE           : Jazz
       COMMENT         : EAC FLAC -8
     Duration: 00:06:27.25, bitrate: 834 kb/s
       Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    At least one output file must be specified