Cypress or Javascript-based tool for video file verification - cypress

I'm looking for any tool/library which could help me to compare a video file with a reference one according to the following informations: video dimensions, length, size, video codecs.
Do you know anything in Cypress or Javascript/Typescript that could help me?

Related

Stream a website to a mp4 (rendering html to a mp4)

I am trying to composite a website (which contains JavaScript and as a result is updating regularly) with a video feed. My goal is to do it on virtual hosted Linux server (my plan is to use Ubuntu, but I am flexible) - I am not interested in solutions utilizing OBS or the like as my solution would be headless.
The problem I am facing is how to output the website to a video stream from a command line.
The site I want to capture is https://vscore.ch/home and I would like to render it in a way that I can feed it to ffmpeg where I can composite it with the live game video that is being delivered via RTMP.
You may want to use this puppeteer plugin and stream those screenshots, or parse them into a video and stream that.

Is it possible apply audio effects to all sounds coming out of a specific audio endpoint

I have been looking around online for an answer for some days now, without any luck. So now, I hope one of you might be able to help point me in the right direction.
WHAT I AM TRYING TO DO:
I want to build a C# application where I can apply different types of distortion and pitching effects to all types of audio that comes out of a preselected audio endpoint.
It should not matter if the user is playing an audio stream or an audio file on their system. I want to apply effects to it before the audio leves the selected endpoint.
I have been trying to use some of the windows audio APIs like 'DirectSound' and 'WASAPI' and also the open source project NAudio. sadly all with no luck so far.
WHAT I AM STRUGGLING WITH:
I can't seem to figure out what windows API I should use or if I would have to make my own audio API that takes directly with the windows Audio engine: https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/windows-audio-architecture
Please let me know your thoughts, or if you think I am looking at this all wrong.
Simpler solution: It should be possible in a soundcard driver if it can load effects.. SB live successors or EMU based cards are the cheapest and KXproject driver is awesome for those

Screen recording and live streaming (Windows DXGI) - C++

I am using the Desktop Duplication API in Windows to obtain images of the screen. I know to obtain the bitmap image of the screen by using the API but I am stuck after this. To stream it to the server I thought of encoding it into H264 and then encoding that again to RTMP and then streaming it to the server. Is there a better and faster way?
I searched many times and most of the answers are using FFmpeg and just finishing the whole task of screen recording to streaming in a single line. Please tell me a way to do this programmatically!!
How do I encode to H264 and then to RTMP? If the video is being double encoded, will this result in a loss of performance in both streaming side and receiving side?
Please point me in the right direction. Any hints or links will be very helpful.

Cut MP3 file and set it as ringtone

I want to develop an WP7 application to cut/split an MP3 file from marked position. I tried looking for some API to split but no luck. I really appreciate if anybody can guide me on below points.
Is there any control available for WP7 to play and mark the MP3 file for splitting.
Is there any API to cut the selected portion in MP3 file.
Thanks
I am now aware of the Windows Phone lib for that, but...
Perhaps you could do it on a server because there are great MP3 C# libs available
Mp3Sharp
If you could get the mp3 to/from the server, it would be great. To play it on the device, use advice from another StackOverflow question. Enable selecting part of the song, send the info to the server which will then return you the cut mp3 file.
Sounds good to me, at least in theory. (you didn't post any code, so I guess we're just theorizing ;)

Converting uploaded videos to .flv and having them added to my website

I plan to open a smaller and more specialised Youtube like site where users can upload their videos in a variety of formats and it will be converted to .FLV, and then posted on the website.
Most of the code I can handle myself, but I wanted to get some feedback on the uploading and converting stage of this. I'm planning to have the converting done on a separate server, independent of the one hosting the site. How would I go about converting the videos?
I checked out ffmpeg, would this be the best option to use? I want the videos in both high and low quality so it would be preferable to choose the bitrate.
Thanks.
Yes, ffmpeg would be the best option. It's simplest and most versatile.
Take a look at videopress.com - the video sharing service for wordpress.com. The entire solution is open source and uses ffmpeg to transcode video into multiple formats for embedding in websites.
You can access the code at http://code.trac.wordpress.org/
You should be able to either use this out of the box or customise if for your particular project.
You might also find something like Panda (http://pandastream.com) useful. It's an open source video encoding service.

Resources