Recherche avancée

Médias (91)

Autres articles (59)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7216)

  • Loseless FFMPEG compression that supports windows media player

    12 juin 2018, par nmr

    I am trying to create a movie file (avi, mp4, etc as long as it support windows media player) from a sequence of png files using ffmpeg.I am using C++ "System("ffmpeg command")" to create the movie files once I create the png files (this shouldn’t effect movie creation). I was able to create a .avi file using the following command,

    ffmpeg.exe -r 30 -i frame_%7d.png test1.avi

    Once you create the file it runs in windows media player but does not run in VLC. I have realized, it does lossy compression and the movie is not that high quality (quality decreases with frame rate). I want to have lossless compression (or no compression at all) but needs to be able to play in windows media player. So I tried the following commands,

    ffmpeg.exe -framerate 30 -i frame_%7d.png -codec copy test2.avi

    This file ran in VLC but didn’t run in windows media player. Then I tried put in "-pix_fmt yuv420p" but still couldn’t get it to run in windows media player.

    ffmpeg.exe -framerate 30 -pix_fmt yuv420p -i frame_%7d.png -codec copy test2.avi

    I have also tried using "ffv1" codec and it ran in VLC but not in windows media player

    ffmpeg.exe -i frame_%7d.png -c:v ffv1 -qscale:v 0 test4.avi

    So, how do I create a lossless movie file from a sequence of png files using ffmpeg that will run in windows media player ?

  • HLS : How to detect out of order segments in media playlist ?

    27 juin 2018, par anirudh612

    What would be an efficient way to detect if an http live streaming VOD playlist has segments out of order (and count how many segments are out of order) ? They are ordered correctly based on the #EXT-X-PROGRAM-DATETIME tag but the segment decoding timestamps in some cases are out of order. Currently, the workflow I’m following is :

    1. Convert the HLS stream into an mp4 using ffmpeg :

      ffmpeg -i http://localhost:8080/test/unsorted.m3u8 -c copy -bsf:a aac_adtstoasc test/unsorted.mp4 &> test/unsorted_ffmpeg.log

    2. Inspect the logs and count number of occurrences of "Non-monotonous DTS in output stream" log messages :

      [mp4 @ 0x7fe74f01b000] Non-monotonous DTS in output stream 0:1 ; previous : 12063760, current : 11866128 ; changing to 12063761. This may result in incorrect timestamps in the output file.

      However, this requires downloading and reading all of the ts segments and is an expensive operation. Is there a more efficient way to determine out of order DTS or PTS in chunks using ffmpeg or ffprobe ?

  • Unable to decode media issue on chrome browser

    20 octobre 2018, par Shrikant D

    I am experiencing an issue while playing media on my application. I am using html5 player which works fine on another browser but the media not worked on Google Chrome. Below is the ffmpeg output.

    ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers

     built with Apple LLVM version 8.0.0 (clang-800.0.42.1)

     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma

     libavutil      55. 78.100 / 55. 78.100

     libavcodec     57.107.100 / 57.107.100

     libavformat    57. 83.100 / 57. 83.100

     libavdevice    57. 10.100 / 57. 10.100

     libavfilter     6.107.100 /  6.107.100

     libavresample   3.  7.  0 /  3.  7.  0

     libswscale      4.  8.100 /  4.  8.100

     libswresample   2.  9.100 /  2.  9.100

     libpostproc    54.  7.100 / 54.  7.100

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sources-5a6b388fb093f.mp4':

     Metadata:

       major_brand     : mp42

       minor_version   : 0

       compatible_brands: mp42mp41

       creation_time   : 2017-10-31T01:45:10.000000Z

     Duration: 00:04:55.72, start: 0.000000, bitrate: 10300 kb/s

       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9975 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)

       Metadata:

         creation_time   : 2017-10-31T01:45:10.000000Z

         handler_name    : Alias Data Handler

         encoder         : AVC Coding

       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)

       Metadata:

         creation_time   : 2017-10-31T01:45:10.000000Z

         handler_name    : Alias Data Handler

    The issue is replicable on Windows, Linux/Ubuntu and Mac on Google Chrome browser.

    UPDATED :

    render_id: 56
    player_id: 0
    origin_url: https://example.com/
    frame_url: https://example.com/node/83810
    frame_title:
    url: https://example.com/sites/default/files/sources-5a6b388fb093f.mp4
    total_bytes: 380754023
    streaming: false
    single_origin: true
    passed_cors_access_check: false
    range_header_supported: true
    pipeline_state: kStopped
    info: Selected FFmpegVideoDecoder for video decoding, config: codec: h264 format: 1 profile: h264 main coded size: [1920,1080] visible rect: [0,0,1920,1080] natural size: [1920,1080] has extra data? true encryption scheme: Unencrypted rotation: 0°
    audio_channels_count: 2
    audio_codec_name: aac
    audio_sample_format: Float 32-bit planar
    audio_samples_per_second: 48000
    bitrate: 10300299
    found_audio_stream: true
    found_video_stream: true
    height: 1080
    max_duration: 295.722667
    start_time: 0
    time_base: 1/60000
    video_codec_name: h264
    video_format: PIXEL_FORMAT_I420
    video_is_encrypted: false
    width: 1920
    audio_dds: false
    audio_decoder: FFmpegAudioDecoder
    video_dds: false
    video_decoder: FFmpegVideoDecoder
    audio_buffering_state: BUFFERING_HAVE_ENOUGH
    video_buffering_state: BUFFERING_HAVE_ENOUGH
    for_suspended_start: false
    pipeline_buffering_state: BUFFERING_HAVE_ENOUGH
    duration: 295.722667
    event: PAUSE
    error: video decode error
    pipeline_error: PIPELINE_ERROR_DECODE

    Added chrome Player Properties for specific media.