Questions tagged [video-conversion]

Video conversion deals mostly with converting videos from one codec to a second one or to resize the image size. It is also possible to change the container format as well.

Videos must be converted for several reasons from one codec to a second one or need to be resized to fit on smaller screens. In some cases devices can record or play just a view formats. With video conversion videos can been converted to be playable on a other device.

179 questions
0
votes
1 answer

ffmpeg.exe : Missing MFPlat.dll in Windows Server 2008 R2

I am using ffmpeg to convert .m3u8 playlist to single mp4 file. I download the Windows EXE Files from http://ffmpeg.org/download.html#build-windows successfully. But when I open the ffmpeg.exe, an error message appears that says MFPlat.dll is…
Shyam Narayan
  • 1,009
  • 2
  • 14
  • 28
0
votes
1 answer

Is there way to increase speed of burning subtitles to a video in ffmpeg

Currently, I do it this way: ffmpeg -i video.mkv -vf subtitles=video.mkv out.mp4 But with some videos, it takes too long around 55mins but with handbrake, it takes only 10 mins to burn subtitle to video even though I tweaked the setting for…
0
votes
0 answers

ffmpeg pipe to generate h264 chunks from numpy array or bgr24 bytes

is there a possibility if someone can help me with FFmpeg pipe to generate h264 chunks from NumPy array This is what I am doing now: process = ( ffmpeg .input('pipe:', format='rawvideo', pix_fmt='bgr24', s='{}x{}'.format(self._deeptwin.image_width,…
0
votes
1 answer

Convert byte[] to Video (mp4 or any other palyable format)

I am creating a bot that will record the Microsoft team live sessions. Audio recording is working fine but facing problems in generating the video file. The process I am following is that I am converting the video data into a byte array and then…
0
votes
0 answers

Setting fixed keyframes in a h265 video using FFMPEG

I'm trying to cut a video and convert it into h265, but the output file isn't seekable in the same way as the original video (for example, instead of jumping to a keyframe every 1 second, the keyframes can be 15 seconds apart). I've been trying to…
TheTomer
  • 143
  • 3
  • 11
0
votes
1 answer

Batch converting multiple video formats in nested directories

I'm running Arch/Gnome and am trying to convert a few hundred gigs of family videos from various formats (mov, wmv, mkv, avi mainly, but a few curveballs too) into trusty mp4s. My scripting knowledge is strictly amateur, so far I have; for i in…
0
votes
1 answer

Converting video into frames by openCV

while converting video into frames , it does converted but it show this error 4 while success: 35 success, frame = cap.read() ---> 36 grayFrame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) 37 if(success==False and…
blac040
  • 127
  • 2
  • 9
0
votes
1 answer

How to convert a video into m4v format in python without saving to a file

I would like to convert videos into m4v format in python without saving video to a file. I tried ffmpeg - ffmpeg -i v1.mp4 v1.m4v . It works great but it needs to store the output to a file. My code runs on google app engine where storing files is…
Aseem
  • 5,848
  • 7
  • 45
  • 69
0
votes
0 answers

How to Get Video Lossless Rotation When Re-encoding Using FFmpeg?

I'm looking for how to rotate a video without losing any quality when re-encoding. I currently use ffmpeg -i "inputvideo" -crf 0 -vf transpose=2 -acodec copy "outputvideo". Although -crf 0 should be lossless, I found there is difference after…
0
votes
0 answers

Can I create a file that simulates lower bit-depth output on another device using FFMPEG?

I've got a device with a 640x480 display and RGB565 video output. It plays XVID/MP3 video files in an AVI container. When I convert an MP4 file with FFMPEG (which I'm doing now), I use libxvid to create the output file. These are ending up as a YUV…
GuyWithDogs
  • 683
  • 1
  • 4
  • 18
0
votes
1 answer

Can video containing malware be cleaned through format conversion?

I'm trying to find out if video containing malware can be cleaned by converting the video to a different format. Similar to how images containing malware can be cleaned by converting them to .BMP. I expect it's not that simple due to the complexity…
Markus
  • 665
  • 2
  • 9
  • 22
0
votes
0 answers

Convert frames to video on demand

I'm working on a c++ project that generates frames to be converted to a video later. The project currently dumps all frames as jpg or png files in a folder and then I run ffmpeg manually to generate a mp4 video file. This project runs on a web…
user3900456
  • 2,003
  • 3
  • 25
  • 33
0
votes
0 answers

Is there a way to fit a given time frame of a a video to fit a specific file size?

Is there a ffmpeg command to fit part of a video into a certain file size? For example, if it is a 645mb video that is 70 minutes long, and I want 7 parts (each part 10 mins)- to limit each part to 93 mb (the average estimated file size)? (I…
Exosylver
  • 135
  • 1
  • 14
0
votes
2 answers

Automatic ffmpeg conversion of only completed, fully uploaded files

Maybe it would be best to start by describing the scenario. We have a Debian server with ffmpeg that we use to covert various video files into FLV. The files are supplied by a number of different people via FTP and are kept in the "uploads"…
Shmoyko
  • 59
  • 1
  • 4
0
votes
1 answer

How to combine two ffmpeg command together - Adding Intro Outro and an image in between

I need help in combining two ffmpeg commands together. First command - Insert an image in the middle of a video ffmpeg -i output.mp4 -i image.png -filter_complex "[0:v][1:v] overlay=(W-w)/2:(H-h)/2:enable='between(t,05,08)'" -pix_fmt yuv420p -c:a…