Category "video"

how do I save the videos in an specific bitrate using ffmpeg?

I am trying to save some videos in specific bitrate (8000k) and for this, I used the following code: ffmpeg -i input_1080p60 -c:v libx264 -pix_fmt yuv420p

How to fix an error with connecting an IP camera using opencv in java?

I downloaded the app to the IP camera phone and I want to get the video via opencv,but it gives an error public class Main { static {System.loadLibrary(Core

Convert m4f files into single mp4 video

I have downloaded a video on the android app, but it can play only in the app. The app data folder in file manager contains following files: master.mpd file; On

Insert text on top of video canvas, and export as MP4

Let's say you have a HTML5 <video> element with an MP4 video source: #video { width: 400px; } #text { font-size: 30px; background-color: yellow; } &l

ffmpeg - transcoding.c - why the last packet is discard

Using ffmpeg examples transcoding.c. (https://github.com/FFmpeg/FFmpeg/blob/release/4.1/doc/examples/transcoding.c) This is read by ffprobe.exe (ffprobe.exe -i

WebCodecs > VideoEncoder: Create video from encoded frames

I would like to create a video file from multiple images uploaded to my site. Until now, what I do is take these images, draw them 1-by-1 on a canvas, and use t

How to play YouTube Video in mp3 with YouTube Url or video Id in android studio

I want to play the youtube video in mp3 from the URL or the video Id. I'm finding the solutions from the last 5 days on the internet but there is not any answer

Video autoplay (HTML/CSS) not always working on phone, but sometimes it is

I'm trying to create a simple website and want to just have some videos autoplay. Now I'm aware there are some changes that make this a little bit harder than i

Get video from RAM after capture started (DeckLink Duo 2)

I've managed to create a basic code which captures video from a DeckLink Duo 2 device. The project I've been working on should record a video (with no audio) fr

Change html background to image from video if on mobile

I'm currently developing a website which uses an autoplay video background, however this scales badly on mobile and only sits in the top third of the screen...

c++, ffmpeg tanscoding: time_base differs depending on the container

I transcode video (mkv and mp4). When mkv transcoded to mkv, output is fine (output video fps and duration are same as input), but if mkv transcoded to mp4, out

Adding video captions tracks dynamically puts them in the wrong order

When I try and add video text tracks to videoJs player, it adds them in the wrong order where the new track appears above the previous track. I have created a j

Enable / disable captions using React-Player

I'm using React-Player, and pretty new to this library. Here is my code where I'm using React-Player: <ReactPlayer ref={video}

Serving local webcam video stream to web with "multipart mixed replace" HTTP response

This article shows how to stream a local webcam to the browser with Python + Flask + OpenCV + multipart HTTP response. After launching the following self-contai

Invalid radius value in BlurMask Ffmpeg

I'm using boxblur filter to blur specific area of video using cropping library, when i fire command sometimes it works well but sometimes it's showing me error.

Crossfade Animation with multiple Images using Ffmpeg

I'm creating video with Multiple images using Ffmpeg and i'm using given link - (Remember most important thing is All the images have different sizes) https://s

What is the difference between storing videos for mobile app on streaming services like Youtube/Vimeo vs storing on cloud storage like Firebase/AWS?

I am making a React app that will display some Images/Videos to the users. To store videos, I chose Vimeo and use ReactPlayer to display the video - I simply pa

How to play video from URL in videoview in Android?

I am trying to implement video player in Android using VideoView. I have video uploaded on server I am fetching video from the server and trying to play in Vide

switching the audio and video devices while recording is on in reactjs

I am creating a demo application in which user can record a video using ReactJs. I am able get the list of devices, and record the video. I am stuck and couldn'

How can I loop one frame with ffmpeg? All the other frames should point to the first with no changes, maybe like a recusion

I want to make a long video from a single image in ffmpeg. I need it to be fastly encodeable and at the end the video should have a small file size. Is it pos