Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (96)

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

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (11985)

  • Fuji .mov file converted by ffmpeg doesn't play in Windows Media Player [closed]

    30 août 2023, par glipster

    My Fuji X-T3 generates an FHD movie as a .mov with HEVC video and PPM audio. The new Media Player on Windows won't play this (without buying a codec) so I convert it to .mp4 using ffmpeg CLI (ffmpeg -i in.mov out.mp4). The resulting .mp4 file uses AVC video and AAC LC audio. This plays fine in VLC, but will not play in Windows Media Player nor Media Player. I've experimented with various options, but nothing seems to work.
For the original source .mov file, MediaInfo identifies 3 streams :
1stVid : English, 201Mb/s, 1920*1080 (16:9), at 29.970 FPS, HEVC (Main10@L5.2@High)
1stAud : english, 2304 kb/s, 48.0 hKz, 24 bits, 2 channels,PCM (Little/Signed)
1 : QuickTime TC

    


    The Output .mp4 file shows :
1stVid : English 3312kb/s, 1920*1080 (16:9) at 29.970 FPS, AVC (High 10@L4)(CABAC/4 RefFrames)
1stAud : English 132 kb/s, 48.0 kHz, 2 channels, AC LC
1 : QuickTime TC

    


    Using ffmpeg CLI, I tried changing the bitrates for the video and audio, I tried removing the timecode stream, tried a different AAC codec, tried moving the metadata to the front (-movflags faststart), also tried -strict experimental, tried first converting to .mkv (which does work) and then converting to .mp4 (with and without copy). I had hoped one of these might work ; but nothing has worked thus far.

    


    Has anyone else solved this problem ? Any help would be greatly appreciated.

    


  • Play MJPEG stream to v4l2loopback device

    28 juillet 2020, par ahoffer

    I have a RaspberryPi with a V1 camera.

    


    I want to use it as my camera for Zoom, Teams, and other virtual meetings.

    


    I have the RaspberryPi streaming motion JPEG over http using the application named "Motion".

    


    I created a v4l2 dummy device on my linux laptop as a virtual camera.

    


    However, I can't get the mjpeg stream to play to the v4l2 dummy device with the simple command :

    


    ffmpeg  -i "http://milan.local:8081" -map 0:v  -f v4l2 /dev/video4

    


    The result is :

    


    Input #0, mpjpeg, from 'http://milan.local:8081':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[v4l2 @ 0x55a04567bbe0] Unknown V4L2 pixel format equivalent for yuvj420p
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --


    



    


    What options am I missing from my ffmpeg command ?

    


  • 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;