Recherche avancée

Médias (91)

Autres articles (60)

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

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (3645)

  • tensorflow 2, tfds.features.Video Usage for video decoding

    5 mars 2020, par Sandeep

    I am trying to decode a video in tensorflow 2 using tfds.features.Video , so that the output is a "tf.Tensor of type tf.uint8 and shape [num_frames, height, width, channels]" using following code :

    import numpy as np
    import pandas as pd
    import tensorflow as tf
    import tensorflow_datasets as tfds

    df_trains= pd.DataFrame()
    df_trains[’video_files’]= [’aa.mp4’]

    files_ds = tf.data.Dataset.from_tensor_slices(df_trains.video_files)
    video_class = tfds.features.Video(shape=(None, 1080, 1920,3), encoding_format=’png’, ffmpeg_extra_args=())
    a= video_class.decode_example(files_ds)

    However it generates following error :
    "AssertionError : Feature Video can only be decoded when defined as top-level feature, through info.features.decode_example()"

    I am unable to solve it, please help in this regard.

  • Concat video output does not skip ahead or go backwards like normal video

    6 août 2020, par JOHN DADS

    i ran this basic concat code to combine an image and audio to output an mp4 video but the output video plays perfectly except for the fact that if I want to skip ahead in the video it goes back to the original position. This was run on python

    


    audio = ffmpeg.input("beat.mp3")

picture = ffmpeg.input("image.jpg")

ffmpeg.concat(picture, audio, v=1, a=1).output("video3.mp4").run()


    


  • Save live video stream to a video file

    29 juin 2023, par VISHAL DAGA

    Trying to save live streaming video data into a (any) playable video file.
When I log the data I see the following (Put in comment in below code) :-

    


    axios.get(`http://192.168.1.33`, {&#xA;  responseType: &#x27;stream&#x27;,&#xA;}).then((response)=>{&#xA;  const stream = response.data&#xA;  stream.on(&#x27;data&#x27;, data => {&#xA;    console.log(data);  // <buffer 4c="4c" 28="28" a1="a1" 0c="0c" 0d="0d" 14="14" 0e="0e" e1="e1" 8e="8e" eb="eb" 52="52" 48="48" d0="d0" c0="c0" 4a="4a" 68="68" 7b="7b" 0b="0b" c7="c7" 7c="7c" d2="d2" 55="55" 21="21" 0a="0a" a9="a9" 63="63" 12="12" 96="96" 9b="9b" 00="00" ed="ed" 49="49" 42="42" 1a="1a" 16="16" a4="a4" 1e="1e" 94="94" 50="50" 20="20" a3="a3" d8="d8" d5="d5" 1386="1386" more="more" bytes="bytes">&#xA;                       // <buffer 0d="0d" cb="cb" 4b="4b" f7="f7" 77="77" 36="36" c8="c8" 42="42" 9d="9d" bb="bb" b3="b3" d6="d6" a3="a3" 72="72" 24="24" ff="ff" 00="00" 9e="9e" 29="29" b8="b8" 35="35" a5="a5" 48="48" ad="ad" e2="e2" 11="11" a9="a9" ec="ec" 38="38" 1d="1d" e1="e1" 91="91" 93="93" 73="73" bf="bf" a6="a6" 96="96" 62="62" 26="26" 57="57" f4="f4" a4="a4" 4258="4258" more="more" bytes="bytes">&#xA;                      // ....&#xA;</buffer></buffer>

    &#xA;

    How can I save this data into a video file which can be played ? I am starting to read from live stream at a certain point in time and reading it for few seconds - ex. 5 seconds. I need to have a video of that 5 seconds.

    &#xA;

    Note, when I use the url : http://192.168.1.33, I can see the video on the browser.

    &#xA;