Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (56)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Rescalling or dynamic scalling images in Ffmpeg in a video

    23 janvier 2021, par najam ulhassan

    I tried to create a video using multiple images having different scales or sizes or (height*widths) using Mobile-FFmpeg #
    
I am using this code script to get the required result :

    


    val filterStringBuilder1 = StringBuilder()<br />&#xA;filterStringBuilder1.append(listOfImages)<br />&#xA;filterStringBuilder1.append("-filter_complex ")<br />&#xA;filterStringBuilder1.append(<br />&#xA;            "[0:v]scale=100:140:force_original_aspect_ratio=decrease,pad=100:140:(ow-iw)/2:(oh-ih)/2,setsar=1,fade=t=out:st=4:d=1[v0];" &#x2B;<br />&#xA;            "[1:v]scale=180:120:force_original_aspect_ratio=decrease,pad=180:120:(ow-iw)/2:(oh-ih)/2,setsar=1,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v1];" &#x2B;<br />&#xA;            "[2:v]scale=120:180:force_original_aspect_ratio=decrease,pad=120:180:(ow-iw)/2:(oh-ih)/2,setsar=1,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v2];" &#x2B;<br />&#xA;            "[v0][v1][v2]concat=n=3:v=1:a=0,format=yuv420p[v]")<br />&#xA;    filterStringBuilder1.append(" -map")<br />&#xA;    filterStringBuilder1.append(" [v] ")<br />&#xA;    filterStringBuilder1.append("-aspect 16:9 ")<br />&#xA;    filterStringBuilder1.append(finalVideo.absolutePath)<br />&#xA;    FFmpeg.execute(filterStringBuilder1.toString())<br />&#xA;

    &#xA;
    &#xA;But finding following logcat error :

    &#xA;

     E/mobile-ffmpeg: [Parsed_concat_14 @ 0x748fc98bc0] <br />&#xA; E/mobile-ffmpeg: Input link in1:v0 parameters (size 180x120, SAR 1:1) do not match the corresponding <br />output link in0:v0 parameters (100x140, SAR 1:1)<br />&#xA; E/mobile-ffmpeg: [Parsed_concat_14 @ 0x748fc98bc0] <br />&#xA; E/mobile-ffmpeg: Failed to configure output pad on Parsed_concat_14<br />&#xA; E/mobile-ffmpeg: Error reinitializing filters!<br />&#xA; E/mobile-ffmpeg: Failed to inject frame into filter network: Invalid argument<br />&#xA; E/mobile-ffmpeg: Error while processing the decoded data for stream #2:0<br />&#xA;

    &#xA;

  • Create dynamic audio broadcast stream (node, ffmpeg, ..?)

    24 mars 2021, par TheCrunkiee

    I have coded a videoboard. Like a soundboard but with video. You go to one URL that's just a black screen and another one which has a list of different videos (sender). When you click one of these videos it plays on the black screen (receiver). If you play 2 different videos at the same time both videos are shown next to each other on the receiver. That's working fine for several months now. It just creates multiple html video-elements with multiple source-tags (x265 mp4 and vp9 webm).

    &#xA;

    I recently made a discord bot which takes the webm, extracts the opus stream and plays its sound in the voice channel where the bot is connected. This has one disadvantage : It can only play one sound at a time. It happens a lot that there are multiple videos/sounds playing at the same time so this a bit of a bummer.

    &#xA;

    So I thought I should create a audiostream on the server which hosts the videoboard and just connect the bot to that stream. But I have no clue how to do this. All I know is that it's very likely going to involve ffmpeg.

    &#xA;

    What would be the best option here ? What I think I would need is basically an infinite silence stream and the possibility to add a audio file onto that stream at any point which will play simultaneously with other audio files that were added before and have not ended payback yet. How is that possible ? Somehow with m3u8 playlist-files or via rtsp protocol ?

    &#xA;

    Thanks :)

    &#xA;

  • FFMPEG unable to loop overlay input image for dynamic image overlay

    15 septembre 2017, par Mahi

    I am trying to loop an image in images/logo.png(for ex).

    I am using php laravel to create dynamic images and overwriting it into images/logo.png.

    My ffmpeg code

    ffmpeg -y -listen 1 -i rtmp://192.168.33.11:1935/live/mp4test  -loop 1  -f image2 -i image/logo.png -filter_complex "[0:v]scale=1024:-1,setpts=PTS-STARTPTS[stream];[1:v]scale=120:-1,setpts=PTS-STARTPTS[logo] ; [stream][logo]overlay=W-w-10:H-h-10,format=yuv420p[out]" -map "[out]" -map 0:a:0 -hls_time 10 -hls_list_size 6 -start_number 1 stream.m3u8

    This code works fine if I generate dynamic image using

    until test ; do convert -size 200x100 xc:White -gravity Center  -weight 700 -pointsize 12  -annotate 0 "<code>date" /usr/local/nginx/html/stream/test_stream/datex.png ; mv /usr/local/nginx/html/stream/test_stream/datex.png /usr/local/nginx/html/stream/test_stream/image/logo.png ; sleep 1 ; done

    This script just generates a image with current time stamp and moves it into images/ as logo.png . And this works absolutely fine.

    But when I using my laravel application generate a file move it into images/ ffmpeg starts dropping all the frames.

    Please suggest me a solution.