Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (43)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • avcodec/bsf : Add FFBitStreamFilter, hide internals of BSFs

    21 mars 2022, par Andreas Rheinhardt
    avcodec/bsf : Add FFBitStreamFilter, hide internals of BSFs
    

    This patch is analogous to 20f972701806be20a77f808db332d9489343bb78 :
    It hides the internal part of AVBitStreamFilter by adding a new
    internal structure FFBitStreamFilter (declared in bsf_internal.h)
    that has an AVBitStreamFilter as its first member ; the internal
    part of AVBitStreamFilter is moved to this new structure.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] configure
    • [DH] libavcodec/aac_adtstoasc_bsf.c
    • [DH] libavcodec/av1_frame_merge_bsf.c
    • [DH] libavcodec/av1_frame_split_bsf.c
    • [DH] libavcodec/av1_metadata_bsf.c
    • [DH] libavcodec/bitstream_filters.c
    • [DH] libavcodec/bsf.c
    • [DH] libavcodec/bsf.h
    • [DH] libavcodec/bsf_internal.h
    • [DH] libavcodec/cbs_bsf.h
    • [DH] libavcodec/chomp_bsf.c
    • [DH] libavcodec/dca_core_bsf.c
    • [DH] libavcodec/dump_extradata_bsf.c
    • [DH] libavcodec/dv_error_marker_bsf.c
    • [DH] libavcodec/eac3_core_bsf.c
    • [DH] libavcodec/extract_extradata_bsf.c
    • [DH] libavcodec/filter_units_bsf.c
    • [DH] libavcodec/h264_metadata_bsf.c
    • [DH] libavcodec/h264_mp4toannexb_bsf.c
    • [DH] libavcodec/h264_redundant_pps_bsf.c
    • [DH] libavcodec/h265_metadata_bsf.c
    • [DH] libavcodec/hapqa_extract_bsf.c
    • [DH] libavcodec/hevc_mp4toannexb_bsf.c
    • [DH] libavcodec/imx_dump_header_bsf.c
    • [DH] libavcodec/mjpeg2jpeg_bsf.c
    • [DH] libavcodec/mjpega_dump_header_bsf.c
    • [DH] libavcodec/movsub_bsf.c
    • [DH] libavcodec/mp3_header_decompress_bsf.c
    • [DH] libavcodec/mpeg2_metadata_bsf.c
    • [DH] libavcodec/mpeg4_unpack_bframes_bsf.c
    • [DH] libavcodec/noise_bsf.c
    • [DH] libavcodec/null_bsf.c
    • [DH] libavcodec/opus_metadata_bsf.c
    • [DH] libavcodec/pcm_rechunk_bsf.c
    • [DH] libavcodec/prores_metadata_bsf.c
    • [DH] libavcodec/remove_extradata_bsf.c
    • [DH] libavcodec/setts_bsf.c
    • [DH] libavcodec/trace_headers_bsf.c
    • [DH] libavcodec/truehd_core_bsf.c
    • [DH] libavcodec/vp9_metadata_bsf.c
    • [DH] libavcodec/vp9_raw_reorder_bsf.c
    • [DH] libavcodec/vp9_superframe_bsf.c
    • [DH] libavcodec/vp9_superframe_split_bsf.c
  • avcodec/packet_internal : Add proper PacketList struct

    16 décembre 2021, par Andreas Rheinhardt
    avcodec/packet_internal : Add proper PacketList struct
    

    Up until now, we had a PacketList structure which is actually
    a PacketListEntry ; a proper PacketList did not exist
    and all the related functions just passed pointers to pointers
    to the head and tail elements around. All these pointers were
    actually consecutive elements of their containing structs,
    i.e. the users already treated them as if they were a struct.

    So add a proper PacketList struct and rename the current PacketList
    to PacketListEntry ; also make the functions use this structure
    instead of the pair of pointers.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/avpacket.c
    • [DH] libavcodec/packet_internal.h
    • [DH] libavdevice/decklink_common.h
    • [DH] libavdevice/decklink_dec.cpp
    • [DH] libavdevice/dshow.c
    • [DH] libavdevice/dshow_capture.h
    • [DH] libavdevice/vfwcap.c
    • [DH] libavformat/aiffenc.c
    • [DH] libavformat/demux.c
    • [DH] libavformat/flacenc.c
    • [DH] libavformat/internal.h
    • [DH] libavformat/matroskadec.c
    • [DH] libavformat/movenc.c
    • [DH] libavformat/movenc.h
    • [DH] libavformat/movenc_ttml.c
    • [DH] libavformat/mp3enc.c
    • [DH] libavformat/mux.c
    • [DH] libavformat/mxfenc.c
    • [DH] libavformat/ttaenc.c
    • [DH] libavformat/utils.c
  • 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.