Recherche avancée

Médias (91)

Autres articles (95)

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

  • Streaming videos from a Java backend

    11 mai 2014, par IAmYourFaja

    I was wondering how most multimedia Java shops handle video streaming. Say I want to build a website that has a page that uses the HTML5 video player like so :

       
           ...
       
       
           ... content up here

           <video width="500" height="500" controls="controls" src="path/to/video.mp4"></video>

           ... more content down here

    Say the URL for this page is http://myapp.example.org/video. When HTTP requests for the /video path reach the myappp.example.org servers, I guess I have a few options :

    • Route the request to a web app server (Tomcat/Jetty), and try to figure out how to stream the video.mp4 video directly off that server using pure Java ; or
    • Route the request to a media server, and somehow stream video.mp4 from that media server directly back to the client ; or
      • On this end I’ve heard of servers like Red5 or Wowza
    • Route the request to a media server (again, Red5/Wowza), and somehow stream video.mp4 through the web app server acting as a middleman

    There may be other options that I’m aware of (in which case, what are they ???). My questtion :

    How is A/V streaming typically handled from behind a Java backend ?

  • RGB to YUV422 conversion with ffmpeg, incorrect colors

    22 janvier 2016, par user3578571

    I’m trying to convert an 8bit RGB uncompressed to an mpeg2 mxf file (xdcam 422 HD 1080 50i) which is YUV422. With info from the FFMpeg docs and various websites i made the following command :

    ./ffmpeg -y -i test_lines.mov  -pix_fmt yuv422p -vcodec mpeg2video -non_linear_quant 1 -flags +ildct+ilme -top 1 -dc 10 -intra_vlc 1 -qmax 2 -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -acodec pcm_s24le -ar 48000 -bf 2 -ac 2 lines_HD.mxf

    This gave me a result with the colors much brighter than the original.

    So i tried adding the options -color_range 1 -colorspace 1 -color_primaries 1 -color_trc 1 but this didn’t seem to do anything.

    After adding colormatrix=bt601:bt709 i got a way better image, but slightly darker than the original and it also feels weird specifying this option cause the source is also in the REC709 colorspace, so why specify it differently ?

    Next i regenerated my source image to an YUV codec (prores) and rerun FFMpeg on it with the colors coming out just fine. Therefore i think it has to be an RGB -> YUV problem.
    Does somebody have an idea how to this properly ? I can provide screenshots of the different results on a videoscope as soon as i’m back at the office, if anybody is interested.

    Last, i know there are various topics touching this subject but either they go way over my head FFmpeg wise or bring me to the stage where i already am.

  • AVI to MP4 - ffmpeg conversion

    4 juin 2014, par Emmanuel Brunet

    I’m running a debian 7.5 machine with ffmpeg-2.2 installed following these instructions

    Issue

    I’m trying to display a mp4 video inside my browser. The original file has an AVI container format. I can successfully convert it to mp4 and the targetfile is readable (video + sound) with the totem movie player. So I thought everything would be OK displaying the bellow page

    HTML5 web page

       


    <video width="640" height="480" controls="controls">
     <source src="/path/to/output.mp4" type="video/mp4">
    <h3>Your browser does not support the video tag</h3>
    </source></video>

    Input probe

    $ ffprobe -show_streams input.avi

     Duration: 00:08:22.90, start: 0.000000, bitrate: 1943 kb/s
       Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
       Stream #0:1: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x540 [SAR 1:1 DAR 4:3], 1870 kb/s, 29.97 fps, 25 tbr, 29.97 tbn, 25 tbc

    Convert

    $ ffmpeg -y -fflags +genpts -i input.avi -acodec copy -vcodec copy ouput.mp4

    Html browser

    Opening the above html file plays sound but no video is displayed.

    When I use other .mp4 files, videos succesfully displayed so I’m sure I face a conversion issue.

    Not : I’ve tryed a lot of other ffmpeg options but without success.

    Any idea ?

    Thanks in advance.