Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (80)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (7291)

  • avformat/avformat.h : Correct some comments

    9 août 2019, par Andreas Rheinhardt
    avformat/avformat.h : Correct some comments
    

    1. When set_parameters was removed from AVOutputFormat in 2fb75019, it
    was forgotten to remove the comment pertaining to it. Said comment now
    appeared to apply to interleave_packet() ; it is of course nonsense and
    has been replaced by an accurate description.
    2. The description of av_write_uncoded_frame() suggested
    av_interleaved_write_frame() as a replacement if the input is not
    already correctly interleaved ; it also referred to said function for
    details. Given that said function can't write AVFrames and that the
    specifics of writing uncoded frames are explained in the description
    of av_interleaved_write_uncoded_frame(), both references have been fixed.
    3. Removed an outdated comment about avformat_seek_file().

    Reviewed-by : Marton Balint <cus@passwd.hu>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/avformat.h
  • FFMPEG - Width/ Height Not Divisible by 2 (Scaling to Generate MBR Output)

    15 avril 2020, par Sanjeev Pandey

    I am trying to generate multilple variants of videos in my library (Mp4 formats) and have renditions planned ranging from 1080p to 240p and popular sizes in between. For that I am taking a video with a AxB resolution and then running through a code (on bash) which scales them to desired following sizes - &#xA;426x240&#xA;640x360&#xA;842x480&#xA;1280x720&#xA;1920x1080, with different bitrates of course, and then saves as Mp4 again.

    &#xA;&#xA;

    Now, this works just fine if source video has height and width divisible by 2, but code breaks on the following line for the videos with odd width and height :&#xA;-vf scale=w=${width}:h=${height}:force_original_aspect_ratio=decrease"

    &#xA;&#xA;

    Where 'width' and 'height' are the desired (and hardcoded) for every iteration : E.g. "426x240", and "640x360"

    &#xA;&#xA;

    The Error :&#xA;[libx264 @ 00000187da2a1580] width not divisible by 2 (639x360)&#xA;Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    &#xA;&#xA;

    Now approaches those are explained in this one doesn't work for me since I am scaling - FFMPEG (libx264) "height not divisible by 2"

    &#xA;&#xA;

    And, I tried this one too but it seems all qualities are getting the same size -ffmpeg : width not divisible by 2 (when keep proportions)

    &#xA;&#xA;

    &#xA;
      &#xA;
    • This is how I tried to use this one : scale=&#x27;bitand(oh*dar,65534)&#x27;:&#x27;min(${height},ih)&#x27;
    • &#xA;

    &#xA;

    &#xA;&#xA;

    Kindly suggest how to solve this, keeping in view that :&#xA;1. I have a very large library and I can't do manual change for every video&#xA;2. I need to scale the video and keep the aspect ratio

    &#xA;&#xA;

    Thanks !

    &#xA;&#xA;

    PS : [Edit] One way that I can see is padding all of the odd height/ weight videos using a second script in advance. This however doubles my work time and load. I would prefer to keep it in single script. This is the script I see that I can use for padding :&#xA;```ffmpeg -r 24 -i -vcodec libx264 -y -an -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"`` (from : FFMPEG (libx264) "height not divisible by 2")

    &#xA;

  • FFMPEG - Width/ Height Not Divisible by 2 (Scaling to Generate MBR Output)

    15 avril 2020, par Sanjeev Pandey

    I am trying to generate multilple variants of videos in my library (Mp4 formats) and have renditions planned ranging from 1080p to 240p and popular sizes in between. For that I am taking a video with a AxB resolution and then running through a code (on bash) which scales them to desired following sizes - &#xA;426x240&#xA;640x360&#xA;842x480&#xA;1280x720&#xA;1920x1080, with different bitrates of course, and then saves as Mp4 again.

    &#xA;&#xA;

    Now, this works just fine if source video has height and width divisible by 2, but code breaks on the following line for the videos with odd width and height :&#xA;-vf scale=w=${width}:h=${height}:force_original_aspect_ratio=decrease"

    &#xA;&#xA;

    Where 'width' and 'height' are the desired (and hardcoded) for every iteration : E.g. "426x240", and "640x360"

    &#xA;&#xA;

    The Error :&#xA;[libx264 @ 00000187da2a1580] width not divisible by 2 (639x360)&#xA;Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    &#xA;&#xA;

    Now approaches those are explained in this one doesn't work for me since I am scaling - FFMPEG (libx264) "height not divisible by 2"

    &#xA;&#xA;

    And, I tried this one too but it seems all qualities are getting the same size -ffmpeg : width not divisible by 2 (when keep proportions)

    &#xA;&#xA;

    &#xA;
      &#xA;
    • This is how I tried to use this one : scale=&#x27;bitand(oh*dar,65534)&#x27;:&#x27;min(${height},ih)&#x27;
    • &#xA;

    &#xA;

    &#xA;&#xA;

    Kindly suggest how to solve this, keeping in view that :&#xA;1. I have a very large library and I can't do manual change for every video&#xA;2. I need to scale the video and keep the aspect ratio

    &#xA;&#xA;

    Thanks !

    &#xA;&#xA;

    PS : [Edit] One way that I can see is padding all of the odd height/ weight videos using a second script in advance. This however doubles my work time and load. I would prefer to keep it in single script. This is the script I see that I can use for padding :&#xA;```ffmpeg -r 24 -i -vcodec libx264 -y -an -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"`` (from : FFMPEG (libx264) "height not divisible by 2")

    &#xA;