You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
constXFP=require('./index');XFP.onReady().then(async()=>{// create new xfp instanceconstxfp=newXFP({debug:1});awaitxfp.onStart();// record everyting inside the file file.flvxfp.pipeToFile('file.flv',{debug:1})// xfp.pipeToRtmp('file.flv','RTMP LINK HERE')awaitxfp.onUseUrl('https://www.google.com')// navigate to googlesetTimeout(async()=>{awaitxfp.onStop();},5000)// stop everyting after 5 seconds},(missing)=>{// missing toolsconsole.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,
The text was updated successfully, but these errors were encountered:
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:
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,
The text was updated successfully, but these errors were encountered: