Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (40)

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (5584)

  • ffmpeg:Unable to broadcast to live stream from webcam

    13 mai 2020, par gbenga ogunbule

    I have this code that I believe should be able to grab from webcam and broadcast a live stream i.e. Users will be able to watch or stream live what there admin is doing at that moment in time.

    



    I have this code for it

    



    C:\Apache24\htdocs\v­ideo\assets\ffmpeg\b­in>ffmpeg -f dshow -i video="HP Webcam" -c:v libx264 -preset ultrafast -tune zerolatency -r 10 -async 1 -c:a libmp3lame -b:a 24k -ar 22050 -bsf:v h264_mp4toannexb -maxrate 750k -bufsize 3000k -f mpegt s C:\Apache24\htdocs\v­ideo\assets\uploads\­videos\en.mp4


    



    Also notice I use the absolute path mpegt s C:\Apache24\htdocs\v­ideo\assets\uploads\­videos\en.mp4 instead localhost/video/assets/uploads/videos/en.mp4 and the reason is because, when I use the latter, it is recording the video into the folder where I run the command.

    



    And this is the HTML code I wrote for it.

    



    <video width="320" height="240" controls="controls">&#xA;  <source src="assets/uploads/videos/en.mp4" type="video/mp4">&#xA;Your browser does not support the video tag.&#xA;</source></video>&#xA;

    &#xA;&#xA;

    How do I online streaming using ffmpeg

    &#xA;

  • FFMPEG and Matplotlib for animations - strange outputs ?

    27 juin 2020, par user13132640

    I'm trying to create animations using FFMPEG and matplotlib. Using the below code, I am creating the FFMpeg writer, and then using a loop, writing a series of graphs to the animation. However, the outputs I'm getting are very strange ; sometimes, when I watch the .mp4 file, the first 5 seconds are blank, then the video "ends" (the playback time on my media player says that it's complete), and at that point, my animation shows up. Other times, some frames are missing or skipped. I've tried searching around, but frankly I haven't found anyone with similar issues.

    &#xA;

    I just installed the latest version of FFMpeg today.

    &#xA;

    FFMpegWriter = manimation.writers[&#x27;ffmpeg&#x27;]&#xA;metadata = dict(title=&#x27;Animation test&#x27;, artist=&#x27;name&#x27;)&#xA;writer = FFMpegWriter(fps=1, metadata=metadata) # 1 frames per second, each year is 1 second&#xA;

    &#xA;

    Then, the plotting part...(I've excluded the code where I setup the fig, ax etc.)

    &#xA;

    with writer.saving(fig, "animation.mp4", dpi=200):&#xA;    year = "2005"&#xA;    for i in range(4):&#xA;&#xA;        d1_plot = d1[d1[&#x27;Year&#x27;].str.contains(year, na=False)]&#xA;        ax.scatter(d1_plot["Lat"], d1_plot["Long"], c=&#x27;g&#x27;, s=d1_plot["Size"], transform=ccrs.PlateCarree())&#xA;        ax.set_title(year)&#xA;        writer.grab_frame()&#xA;        year = str(int(year)&#x2B;1)&#xA;

    &#xA;

  • ffmpeg transparent background with colorkey shows background bleeding

    2 novembre 2022, par Jan

    I am creating a video with transparent background video with the following command. After creation I want to overlay this video on another video

    &#xA;

    ffmpeg -f lavfi -i color=red:s=1920x1080,colorkey=red,format=rgba -loop 1 -t 0.08 -i "CreditWhite.png" -filter_complex "[1:v]scale=1920:-2,setpts=if(eq(N\,0)\,0\,1&#x2B;1/0.02/TB),fps=60[fg]; [0:v][fg]overlay=y=-&#x27;t*h*0.02&#x27;:eof_action=endall[v]" -map "[v]" -pix_fmt yuva444p10le -vcodec prores_ks credits.mov&#xA;

    &#xA;

    Creating the video works fine but when I overlay this on another video (using openshot) I get a lot of color bleeding of the background colour around the edges. Any suggestions to improve the ffmpeg prompt to stop this from happening ? I tried very slightly increasing the opacity (0.06) as mentioned in another thread without success.&#xA;Video uploaded to youtube for reference

    &#xA;

    UPDATE

    &#xA;

    Using different colours had the same effect&#xA;enter image description here

    &#xA;