Recherche avancée

Médias (91)

Autres articles (110)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Extracting MP3 Data from Generic Movie Files using FFMPEG

    21 février 2017, par MoonKnight

    I am using FFMPEG via MediaToolkit to extract MP3 data (to .mp3 file) from different movie files (merely .mp4 and .mov for now).

    MediaToolkit is just a C# wrapper for FFMPEG which calls FFMPEG via Process.Start, so to do this I am using the method

    public static string GenerateMp3FromVideoFile(string filePath)
    {
       string mp3Path = String.Empty;
       using (var engine = new Engine())
       {
           mp3Path = Path.GetFileNameWithoutExtension(filePath);
           mp3Path = Path.Combine(Utils.GetBuildRoamingAppDataDirectory(), mp3Path);
           mp3Path = Path.ChangeExtension(mp3Path, ".mp3");
           string paramString = String.Format(
               //"-i \"{0}\" -q:a 0 -map a \"{1}\"",
               //"-i \"{0}\" -ar 320K \"{1}\"",
               //"-i \"{0}\" -acodec libmp3lame -ar 44100 -b:a 192k -id3v2_version 3 -write_id3v1 1 \"{1}\"",
               //"-i \"{0}\" -vn -ar 44100 -ac 2 -ab 192k -f mp3 \"{1}\"",
               "-i \"{0}\" -acodec libmp3lame \"{1}\"",
               filePath,
               mp3Path);
           engine.CustomCommand(paramString);
       }
       return mp3Path;
    }

    All of the options I have tried above for the command line arguments passed to FFMPEG have worked for .mp4 video files and create the desired .mp3 output. However, for the .mov file I have I am getting the following System.Exception

    69 : video:0kB audio:1059kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.030074%Conversion failed !

    I have tried a number of different methods to perform this extraction with varing control via the arguments passed to FFMPEG, but with no luck for the .mov file.

    Looking at https://linuxconfig.org/ffmpeg-audio-format-conversions it seems as though there is not conversion to MP3 from .mov files, so I have looked at first converting the .mov to .mp4 via

    ffmpeg -i mymovie.mov -vcodec copy -acodec copy out.mp4

    and then extracting the audio, but this is expensive for large files. Is there a way of extracting the MP3 data directly from the .mov file ?

    Thanks for your time.


    When the above command is run from FFMPEG.exe, the output is :

    [aac @ 00000000021b00a0] Inconsistent channel configuration.
    [aac @ 00000000021b00a0] get_buffer() failed
    Error while decoding stream #0:1 : Invalid argument
    [aac @ 00000000021b00a0] Reserved bit set.
    [aac @ 00000000021b00a0] Number of bands (6) exceeds limit (5).
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Number of bands (16) exceeds limit (13).
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] channel element 3.7 is not allocated
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] channel element 3.8 is not allocated
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Reserved bit set.
    [aac @ 00000000021b00a0] TNS filter order 28 is greater than maximum 12.
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Number of bands (26) exceeds limit (18).
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Sample rate index in program config element does not match the sample rate index configured by
    the container.
    [aac @ 00000000021b00a0] Too large remapped id is not implemented. Update your FFmpeg version to the newest one from Git
    . If the problem still occurs, it means that your file has a feature which has not been implemented.
    [aac @ 00000000021b00a0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and cont
    act the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
    Error while decoding stream #0:1 : Not yet implemented in FFmpeg, patches welcome
    [aac @ 00000000021b00a0] Reserved bit set.
    [aac @ 00000000021b00a0] Prediction is not allowed in AAC-LC.
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Reserved bit set.
    [aac @ 00000000021b00a0] ms_present = 3 is reserved.
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Number of bands (3) exceeds limit (2).
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] SBR was found before the first channel element.
    [aac @ 00000000021b00a0] channel element 3.14 is not allocated
    Error while decoding stream #0:1 : Invalid data found when processing input
    [aac @ 00000000021b00a0] Sample rate index in program config element does not match the sample rate index configured by
    the container.

  • how to apply LUT filter with movie filter in ffmpeg

    5 mai 2017, par Nayan

    movie=logo [watermark] ; [in][watermark] overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2[out] ;

    By giving image input using movie filter, I want to make watermark image transparent.I written code in visual c++. Please help to correct command syntax to pass filter description into filter graph.

  • doc : clarify option on looping infinitely in movie filter

    2 février 2017, par Werner Robitza
    doc : clarify option on looping infinitely in movie filter
    

    Clarify that setting loop=0 is required to make the stream loop infinitely, rather than saying that a value "less than 1" is needed.

    Signed-off-by : Lou Logan <lou@lrcd.com>

    • [DH] doc/filters.texi