Recherche avancée

Médias (91)

Autres articles (111)

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

  • Rotating videos with FFmpeg

    19 février 2016, par jocull

    I have been trying to figure out how to rotate videos with FFmpeg. I am working with iPhone videos taken in portrait mode. I know how to determine the current degrees of rotation using MediaInfo (excellent library, btw) but I’m stuck on FFmpeg now.

    From what I’ve read, what you need to use is a vfilter option. According to what I see, it should look like this :

    ffmpeg -vfilters "rotate=90" -i input.mp4 output.mp4

    However, I can’t get this to work. First, -vfilters doesn’t exist anymore, it’s now just -vf. Second, I get this error :

    No such filter: 'rotate'
    Error opening filters!

    As far as I know, I have an all-options-on build of FFmpeg. Running ffmpeg -filters shows this :

    Filters:
    anull            Pass the source unchanged to the output.
    aspect           Set the frame aspect ratio.
    crop             Crop the input video to x:y:width:height.
    fifo             Buffer input images and send them when they are requested.
    format           Convert the input video to one of the specified pixel formats.
    hflip            Horizontally flip the input video.
    noformat         Force libavfilter not to use any of the specified pixel formats
    for the input to the next filter.
    null             Pass the source unchanged to the output.
    pad              Pad input image to width:height[:x:y[:color]] (default x and y:
    0, default color: black).
    pixdesctest      Test pixel format definitions.
    pixelaspect      Set the pixel aspect ratio.
    scale            Scale the input video to width:height size and/or convert the i
    mage format.
    slicify          Pass the images of input video on to next video filter as multi
    ple slices.
    unsharp          Sharpen or blur the input video.
    vflip            Flip the input video vertically.
    buffer           Buffer video frames, and make them accessible to the filterchai
    n.
    color            Provide an uniformly colored input, syntax is: [color[:size[:ra
    te]]]
    nullsrc          Null video source, never return images.
    nullsink         Do absolutely nothing with the input video.

    Having the options for vflip and hflip are great and all, but they just won’t get me where I need to go. I need to the ability to rotate videos 90 degrees at the very least. 270 degrees would be an excellent option to have as well. Where have the rotate options gone ?

  • FFmpeg decoding H264

    25 septembre 2011, par Steve McFarlin

    I am decoding a H264 stream using FFmpeg on the iPhone. I know the H264 stream is valid and the SPS/PPS are correct as VLC, Quicktime, Flash all decode the stream properly. The issue I am having on the iPhone is best shown by this picture.

    enter image description here

    It is as if the motion vectors are being drawn. This picture was snapped while there was a lot of motion in the image. If the scene is static then there are dots in the corners. This always occurs with predictive frames. The blocky colors are also an issue.

    I have tried various build settings for FFmpeg such as turning off optimizations, asm, neon, and many other combinations. Nothing seems to alter the behavior of the decoder. I have also tried the Works with HTML, Love and Peace releases, and also the latest GIT sources. Is there maybe a setting I am missing, or maybe I have inadvertently enabled some debug setting in the decoder.

    Edit

    I am using sws_scale to convert the image to RGBA. I have tried various different pixel formats with the same results.

    sws_scale(convertCtx, (const uint8_t**)srcFrame->data, srcFrame->linesize, 0, codecCtx->height, dstFrame->data, dstFrame->linesize);

    I am using PIX_FMT_YUV420P as the source format when setting up my codec context.

  • H.264 (MP4) video not play in IE9, but will play in Safari [closed]

    27 septembre 2011, par Austin S

    I have encoded a video using FFMPEG into three formats : WebM, MP4, and FLV. Chrome, Mozilla, and theoretically Opera (although I haven't tested it) should all use the WebM version. IE9, iOS devices, and Adriod should use the MP4 container. While all legacy browsers should default back to the flash version of the file. I'm using video-js to help serve the content. The content is set to preload and autoplay.

    I have found that everything is working as intended except for IE9, where all I get is the poster image and a white dot that typically spins indicating that the file is loading however it is not spinning in this scenario. The MP4 file opens in Safari, an iPad, an iPhone, and an Andriod - verifying that the file is infact legit.

    The following is the specs for the MP4 file when I stream it using VLC. I don't know if this is particularly useful, I'm just trying to provide as much detail as possible.

    VLC Codec Details

    • Stream 0

      Type : Video

      Codec : MPEG-4 Video (mp4v)

      Language : English

      Resolution : 480x270

      Frame rate : 2997

    • Stream 1

      Type : Audio

      Codec : MPEG AAC Audio (mp4a)

      Language : English

      Channels : Stereo

      Sample rate : 48000 Hz

    When accessing videojs.com from my coworkers computer, the video on their main page wouldn't play the video correctly in IE9, but we could hear the audio. When I went to another coworkers computer it played just fine. I'm wondering if IE9, or video-js, is tempermental depending on how updated your OS is.

    The fact that I'm working on XP with IE7 is making this all the more difficult to fix, so if you have any suggestions on what could point me in the right direction, I would greatly appreciate it !

    Thanks,

    Austin S