Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (37)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6269)

  • Determine FFmpeg codecs available for container

    19 juillet 2020, par CasualDemon

    I am looking to generate lists of supported video / audio / subtitle tracks for each type of container in a particular build of FFmpeg.

    


    For example, I want to avoid errors like Could not find tag for codec <> in stream #0, codec not currently supported in container

    


    I know I can list available codecs with ffmpeg -codecs, and find details about a muxer with ffmpeg -h muxer=<muxer></muxer> like ffmpeg -h muxer=matroska but that will only show default codecs, not all possible.

    &#xA;

    Muxer matroska [Matroska]:&#xA;    Common extensions: mkv.&#xA;    Mime type: video/x-matroska.&#xA;    Default video codec: h264.&#xA;    Default audio codec: vorbis.&#xA;    Default subtitle codec: ass.&#xA;

    &#xA;

    Basically I want to run this command across all available muxers to build up a table like wikipedia's format comparison charts that is FFmpeg build specific. This is designed to go in a program that wraps around FFmpeg, and I need to know which formats are valid for each container / file extension per FFmpeg build.

    &#xA;

    Thanks !

    &#xA;

  • Transcode to ogg or webm, writing the file as it goes

    22 juillet 2020, par Mark Smith

    I need to transcode files (mp3, flac, m4a and others) to ogg or webm. (This is because I need them to play on Firefox 60.9 which does not support most of these, and flacs are too large. I cannot update the browser.)

    &#xA;

    ffmpeg can do the transcoding, but when transcoding to ogg or webm, depending on the exact configuration, either 0 bytes or a few kB is written immediately, and then nothing more until the transcoding is complete (even using -flush_packets 1) — hence I cannot start playing the audio.

    &#xA;

    By comparison, if I transcode to mp3, the file is written progressively and I can start playing immediately.

    &#xA;

    Is it possible to transcode to ogg or webm in such a way that the file is written as the transcoding happens, and I can start playing it (almost) immediately ?

    &#xA;

    Configurations I have tried :

    &#xA;

    ffmpeg -i orig.m4a -c:a libvorbis -flush_packets 1 vorbis.ogg&#xA;ffmpeg -i orig.m4a -c:a libopus -flush_packets 1 opus.ogg&#xA;ffmpeg -i orig.m4a -c:a libvorbis -flush_packets 1 vorbis.webm&#xA;ffmpeg -i orig.m4a -c:a libopus -flush_packets 1 opus.webm&#xA;

    &#xA;

    This is running on Debian (Raspian stretch, specifically) and I would like to do it without adding dependencies from outside of the Debian/Raspian archives, if possible. Sticking with ffmpeg would be my ideal choice but will consider others.

    &#xA;

  • FFmpeg : MD5 hash of M3U8 playlists generated from same input video with different segment durations (after applying video filter) don't match

    30 juillet 2020, par Saurabh P Bhandari

    Here are a few commands I am using to convert and transize a video in MP4 format to a M3U8 playlist.

    &#xA;

    For a given input video (MP4 format), generate multiple video segments with segment duration 30 seconds.

    &#xA;

    ffmpeg -loglevel error -i input.mp4 -dn -sn -an -c:v copy -bsf:v h264_mp4toannexb -copyts -start_at_zero -f segment -segment_time 30 30%03d.mp4 -dn -sn -vn -c:a copy audio.aac&#xA;

    &#xA;

    Apply a video filter (in this case scaling) on each segment and convert it to a M3U8 format.

    &#xA;

    ls 30*.mp4 | parallel &#x27;ffmpeg -loglevel error -i {} -vf scale=-2:144 -hls_list_size 0 {}.m3u8&#x27;&#xA;

    &#xA;

    Store the list of m3u8 files generated in list.txt in this format file &#x27;segment-name.m3u8&#x27;

    &#xA;

    for f in 30*.m3u8; do echo "file &#x27;$f&#x27;" >> list.txt; done&#xA;

    &#xA;

    Using concat demuxer, combine all segment files (which are in M3U8 format) and the audio to get one final m3u8 playlist pointing to segments with duration of 10 seconds.

    &#xA;

    ffmpeg -loglevel error -f concat -i list.txt -i audio.aac -c copy -hls_list_size 0 -hls_time 10 output_30.m3u8&#xA;

    &#xA;


    &#xA;

    I can change the segment duration in the first step from 30 seconds to 60 seconds, and compare the MD5 hash of the final M3U8 playlist generated in both the cases using this command :

    &#xA;

    ffmpeg -loglevel error -i <input m3u8="m3u8" playlist="playlist" /> -f md5 -&#xA;

    &#xA;

    The MD5 hash of the output files differ, i.e., video streams of output_30.m3u8 and output_60.m3u8 are not the same.

    &#xA;

    Can anyone elaborate on this ?

    &#xA;

    (I expected the MD5 hash to be the same)

    &#xA;