Recherche avancée

Médias (91)

Autres articles (97)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (4721)

  • How to covert rotated images onto video [closed]

    31 janvier 2024, par zx jhansin

    I have two images that I want to rotate and overlay on the video.However, the generated effect does not match the preview effect.
generated effect :
enter image description here
preview :
enter image description here
ffmpeg command : :
ffmpeg -i /www/wwwroot/Materials/public/video/temp/aa486f25175cbdc3854151288a645c19/sample-65b9d319a049b.mp4 -i /www/wwwroot/Materials/public/video/temp/01e792804906472d44449015b8c87f22.png -i /www/wwwroot/Materials/public/video/temp/21c3bedaf93be3c05396ce02cdf0613d.png -filter_complex "[1]scale=216:64 [logo1] ;[logo1]pad=2162:642:0:0:0x00F8FF@0.3[logo11] ;[logo11]rotate='90PI/180:ow=rotw(90PI/180):oh=roth(90PI/180):c=none'[rot1] ; [0][rot1]overlay=x=W0.51:y=H0.25[v1] ;[2]scale=216:358.4 [logo2] ;[logo2]pad=2162:358.42:0:0:0x00F8FF@0.3[logo21] ;[logo21]rotate='89PI/180:ow=rotw(89PI/180):oh=roth(89PI/180):c=none'[rot2] ; [v1][rot2]overlay=x=W0.14-216:y=H0.55" -y /www/wwwroot/Materials/public/video/temp/aa486f25175cbdc3854151288a645c19/draw-image-sample-65b9d319a049b.mp4

    


    I don't understand why the position has changed, what can I do to ensure that it is in the original position.

    


  • Xvfb and pulse audio not sync

    14 décembre 2023, par Matrix 404

    I'm excited to introduce my new JavaScript server-side library called XFP Streamer, designed to handle recording and streaming Puppeteer window content. However, I'm currently facing an issue with audio synchronization, and I could really use some help from someone experienced with ffmpeg and recording in general.

    


    The library's repository is available on GitHub, and I warmly welcome any contributions or assistance. Feel free to check it out at https://github.com/mboussaid/xfp-streamer.

    


    Below is a simple example demonstrating how to record the Google website into a file.flv video file using XFP :

    


    const XFP = require('./index');
XFP.onReady().then(async ()=>{
    // create new xfp instance
    const xfp = new XFP({
        debug:1
    });
    await xfp.onStart();
    // record everyting inside the file file.flv
    xfp.pipeToFile('file.flv',{
        debug:1
    })
    // xfp.pipeToRtmp('file.flv','RTMP LINK HERE')
    await xfp.onUseUrl('https://www.google.com') // navigate to google
    setTimeout(async ()=>{
        await xfp.onStop();
    },5000) // stop everyting after 5 seconds
},(missing)=>{
    // missing tools
    console.log('Missing tools',missing)
})


    


    Please note that to ensure proper functionality, you will need to have the following tools installed :

    


    pulseaudio
xvfb
ffmpeg
pactl
pacmd
Currently, I'm facing an issue with audio and video synchronization not working as expected. If you have experience with ffmpeg and recording, I would greatly appreciate your help in resolving this issue.

    


    Thank you all for your support, and I look forward to your contributions !

    


    Best regards,

    


  • ffmpeg recording audio / video sync issues [closed]

    1er novembre 2022, par sling jones

    I'm using ffmpeg to record NTSC analog video on Linux Fedora 36 using a Blackmagic Intensity Pro 4K for video and a Scarlett 2i2 for audio. I'm using a TBC to avoid dropped frames and to ensure a constant S-Video Y/C framerate on the analog end.

    


    The problem I'm running into is that on playback the audio will start out relatively in sync with the video at the beginning of the captured file but will eventually run ahead of the video eventually becoming many seconds off.

    


    Nothing I do seems to change this or change the degree to which it happens. The audio and video stay in sync throughout the entire video as I'm monitoring the source so I don't understand how they can diverge so much once encoded into a digital file ?

    


    Here is the command I am using :

    


    ffmpeg -hwaccel cuda -fflags +igndts -format_code ntsc -f decklink -raw_format auto -vsync passthrough -rtbufsize 1500M -thread_queue_size 512 -i 'Intensity Pro 4K' -f pulse -rtbufsize 500M -thread_queue_size 512 -i 'Scarlett 2i2 Camera Analog Stereo' -c copy -map 0:1 -map 1:0 "/tmp/ffmpeg-raw/file-raw.avi"


    


    here's the ffprobe output from one of my files :

    


    Input #0, avi, from 'test2-raw.avi':
  Metadata:
    software        : Lavf59.33.100
  Duration: 00:11:42.87, start: 0.000000, bitrate: 169341 kb/s
  Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x486, 167801 kb/s, 59.94 fps, 59.94 tbr, 59.94 tbn
  Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s



    


    As you can see in my code snippet, I've been throwing things at the wall for a bit. I've tried different rtbufsizes, adding -copyts, and going through the different -vsync options. I've tried it with and without hardware acceleration ( I do have a NVIDIA card), +igdts did get rid of a warning but did not help with the sync, as did changing the thread queue sizes.

    


    OBS can do this, why can't I ?