Recherche avancée

Médias (91)

Autres articles (81)

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (11947)

  • How to play an local video in arbitrary codec and format in browser ? [closed]

    24 septembre 2023, par HanXu

    I am developing a video player in browser to let the user select a local video to play, and want to support as many video formats as possible. I know that in browser a video tag can only play videos in a limited set of codecs, and on desktop libraries like VLC can play literally any videos. I would like to bring that broad compatibility to the browser, but not sure how to achieve it.

    


    One thing come up in my mind is to let the user run a thin client natively, which read the local video and stream it at, say, http://localhost:8080, in some web-friendly codec and format, and in the frontend I use a video with src to be http://localhost:8080.

    


    In the client I think I need to run some ffmpeg command to somehow stream and process the video in real-time. I also run into the libVLC which seems nice, and am not sure which one to use.

    


    Furthermore, I need to enable the user to seek to any arbitrary timestamp, and am not sure if the streaming technic supports it.

    


    I have done some googling, and found a method which first runs a ffmpeg command as

    


    VIDSOURCE="/some/video.mp4"
AUDIO_OPTS="-c:a aac -b:a 160000 -ac 2"
VIDEO_OPTS="-s 854x480 -c:v libx264 -b:v 800000"
OUTPUT_HLS="-hls_time 10 -hls_list_size 10 -start_number 1"
ffmpeg -i "$VIDSOURCE" -y $AUDIO_OPTS $VIDEO_OPTS $OUTPUT_HLS /some/public/video.m3u8


    


    and in the frontend I can use the react-player to play the video like

    


    <reactplayer url="/some/public/video.m3u8"></reactplayer>&#xA;

    &#xA;

    However, I can not seek to an arbitrary timestamp, and the ffmpeg command creates a lot of .ts files one by one about which I am not sure what is going on. It seems that before it creates a video77.ts, I can not seek to timestamp within that segment.

    &#xA;

    All in all, I am looking for some solution like

    &#xA;

    enter image description here

    &#xA;

    that supports

    &#xA;

      &#xA;
    • playing videos in browsers in as many codecs and formats as possible,
    • &#xA;

    • allowing users to seek to any arbitrary timestamp.
    • &#xA;

    &#xA;

    Since many native video player like VLC supports it, I believe it can be done. Does anyone have any idea that may help ? Appreciate in advance !

    &#xA;

  • avformat/dash : move reused API to common file and header file

    1er septembre 2017, par Steven Liu
    avformat/dash : move reused API to common file and header file
    

    move from dashenc, move DASHTmplId and dash_fill_tmpl_params to
    dash.c, they will be used by dash demuxer and dash muxer.

    v2 fixed :
    1. rename common file from dashcomm.* to dash.*
    Suggested-by : Hendrik Leppkes <h.leppkes@gmail.com>

    v3 fixed :
    1. rename header file pre defined
    2. add ff_ prefix for the internal API
    Suggested-by : James Almer <jamrial@gmail.com>

    Suggested-by : Timo Rothenpieler <timo@rothenpieler.org>
    Reviewed-by : wm4 <nfxjfg@googlemail.com>
    Signed-off-by : Steven Liu <lq@onvideo.cn>

    • [DH] libavformat/Makefile
    • [DH] libavformat/dash.c
    • [DH] libavformat/dash.h
    • [DH] libavformat/dashenc.c
  • Revision 7dfec96059 : vpxenc : support scaling prior to encoding Scales the input of the encoder using

    1er mars 2012, par John Koleszar

    Changed Paths : Modify /examples.mk Modify /vpxenc.c vpxenc : support scaling prior to encoding Scales the input of the encoder using libyuv's "box filter". Each stream may have a different width and height specified. If the width (or height) parameter is missing (or is explicitly set to 0) (...)