Questions tagged [ffmpeg]

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

How to detect if video had been sized up (Scaled up) in resolution?

On Internet, I can see many videos/movies claim to have FHD (1920x1080) resolution, but on watching they seem to be shot in lower resolution and resized/scaled up using encoder or transcoding tool to ...
0
votes
0answers
11 views

ffmpeg trim and concat videos cause rizing assync with audio

I have two video and two audio files - conversation between two people, record started at the same time. If i mix audio tracks and overlay video tracks side by side all in sync from begining to end of ...
0
votes
0answers
14 views

Can anyone help me with a command line to convert .asf to .mp4 using ffmpeg?

I am using the command line ffmpeg -i test1.asf -c:v libx264 -strict -2 test1.mp4 but I get the below error 'test.asf: Invalid data found when processing input' Any suggestions, please? thank you
0
votes
0answers
20 views

Get rid of carriage return for batch calls to ffprobe

I wrote the below code and the results.txt file that is created has a carriage return in it and it's for some reason as far as I can tell messing up reading in the data back into the BITRATE variable. ...
1
vote
1answer
14 views

How can I programatically identify video frames containing a fixed rectangular area of a certain color?

I have video material containing frames with a rectangular area of uniform color interspersed with other content. I would like to identify these frames, with the intent of removing them. The ...
0
votes
1answer
8 views

ffmpeg conversion - vp8 with alpha

I'm trying to convert a mov file (with alpha channel) to webm, vp8 with alpha, on windows. ffmpeg -i C0016.mov -s 960x540 -vcodec vp8 -pix_fmt yuva420p -metadata:s:v:0 alpha_mode="1" ...
1
vote
1answer
8 views

FFMpeg: scale and then overlay keeping overlay aspect ratio

I'm trying to scale a video, and then apply an overlay keeping the aspect ration of the same. This adds the overlay, but it stretches it to the same aspect ratio of the video which is what I'm trying ...
0
votes
1answer
14 views

ffmpeg mov_text subtitle too small when converting mkv to mp4

I want to remux a mkv file into mp4. I used the following command. ffmpeg -i "input.mkv" -c:v copy -c:a copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:s mov_text "output.mp4" Problem:...
0
votes
0answers
15 views

Changes in file size and quality after ffmpeg VOB/mp4 conversion

Question I wish to know — in my own particular case — why the conversion of VOB files to mp4 files using ffmpeg results in files of only about one quarter the size, whether this reduces the quality ...
0
votes
0answers
19 views

Partially downloaded torrent mp4 files, how to cut and merge the playable parts? [closed]

I have partially downloaded mp4 video files from torrent. When you play that file it plays for sometime then it gets stuck (because the data is not downloaded yet) then I have to manually seek it to ...
-1
votes
0answers
26 views

VP9 codec compresses 100x better than AVC?

My GoPro Hero Session camera created the file GOPR0194.MP4, which is a 12-minute video. The file size is 2,257,011,431 bytes. Then I typed the command ffmpeg -i GOPR0194.MP4 GOPR0194.webm which ...
0
votes
1answer
124 views

How can I remove ENCODE İNFORMATİON from mediainfo for H265 HEVC .mkv?

I want to know how I can remove encode settings from the mediainfo with mkvpropedit or ffmpeg? İn this post: Removing MP4 encoding information I found this command: ffmpeg -i INPUT -c copy -bitexact -...
1
vote
1answer
51 views

ffmpeg vertical pan over an image (top to bottom scrolling effect)

I have a UHD wide image (3840px) which is very tall (11568px). I'd like to make a video like this: 3840 x 2160 resolution, mp4 output file starts and ends black image takes up full width of the UHD ...
0
votes
1answer
18 views

FFmpeg: Make video appear after x seconds

I have a video clip that I use as a background, then another clip that contains some text, is there a way to make this second clip start playing after x seconds? background: 00:00:00|------------------...
0
votes
1answer
22 views

ffmpeg: Make letters appear one at the time, like a typewriter

How can I show letters one at the time using FFMpeg, I'm talking about something like this: Thank you.
0
votes
1answer
17 views

I used ffmpeg to concatenate to videos and it got stuck and produced a huge file. Where is the mistake?

I have this short videoclips that i recorded either with my webcam or with my phone. The ones that come from my webcam are in Matroska container, and the ones from the phone in mp4. Each piece is ...
1
vote
0answers
21 views

Widely compatible video format with lossless audio

I'm a software developer. My software produces animated video files with music. The video files should be compatible with a wide range of software, and they should have excellent audio quality. The ...
0
votes
1answer
19 views

How can I automate creating a sequence from a set of clips?

I have a large amount of DV footage, which I want to convert into a video per day. I've tried doing this by scripting ffmpeg: ffmpeg -safe 0 -f concat -i day1-files.txt -fflags +igndts -ac 2 -ar 32000 ...
0
votes
1answer
28 views

Change Text Animation Direction With FFMPEG

"drawtext=fontfile="+fontPath+":text="+topText+":fontcolor=#FFFFFF:fontsize=40:box=0:boxcolor=black@0.2:boxborderw=5:x=min(4*(tw\\+10)-(abs(4-2*(t-1)))*(tw+10)-tw\\,w/3.5):y=...
1
vote
3answers
35 views

Can't see differences between videos?

I back up my data to pairs of external hard drives, and recently (in the process of transferring the contents to larger external hard drives) found that some of the data between them has diverged. ...
0
votes
1answer
49 views

ffmpeg vf scale shifts colors to washed out

Im trying to scale video down. No matter what I do the colors are always washed up as a result. original: After scaling: Code I run for it ffmpeg -i input.mkv -vf scale=1028:-1 output.mkv log: log ...
0
votes
0answers
27 views

FFMPEG drawText direction change [duplicate]

How I can change direction from right to left? "drawtext=enable='between(t,2.5,6.5)':fontsize=50:fontcolor=Green:fontfile='ariblk.ttf': \ text='textline1':x=min(4*(tw\+10)-(abs(4-2*(t-2.5)))*(tw+...
0
votes
1answer
22 views

How to convert single image to video in infinite loop and set duration of 15 seconds using FFMPEG

Can anyone help me with a command line for the below scenario please using FFmpeg? Convert single image.jpg to output.mp4 for 15 seconds. Thank you.
0
votes
1answer
26 views

Convert interlaced(?) video to progressive

I have a video with the following details: Format : MPEG-TS File size : 6.49 GiB Duration : 1 h 35 min Overall bit rate mode : Variable ...
0
votes
0answers
22 views

Streaming video file to YouTube Live with FFmpeg - Automatically resume after crash?

ffmpeg -re -i [FILENAME] -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/[STREAM KEY] I'm able to use this command to stream a video file to YouTube Live without re-encoding. If FFmpeg crashes for ...
0
votes
1answer
18 views

Possible to repair corrupted VOB file?

Trying to encode episodes from a DVD. One episode appears to be corrupted and will not play on the disk, nor will it be accepted by Handbrake of ffmpeg. However, by copying the VTS file, VLC will play ...
0
votes
0answers
9 views

How to save HDR 10 bit MKV videos as an image sequence?

I tried both vlc and virtuadub2, they both save out washed out images. Both show and save out washed out images. How can I save out these images so they look in proper HDR space?
1
vote
0answers
69 views

Do you always need to convert videos with a YUV color space for compositing in Blender?

I have a 10 bits .mov file with YUV color space encoded prores 422HQ of some green screen footage. -Do we always need to convert videos with a YUV color space for compositing work? If I want to ...
0
votes
0answers
7 views

Perspective transformation (“corner pin”) over the border? [duplicate]

Is there any video editing tool to perform a perspective transformation ("corner pin" in Adobe Premiere or "power pin" in After Effects or "perspective" in ffmpeg) over ...
0
votes
0answers
11 views

How to use ffmpeg to edit such a video??

This video is very interesting. It plays normally for 2 seconds and zooms in for 4 seconds. A lot of noise is added to the audio (seems to be bass boost?) Although I can use Adobe Premiere to edit ...
0
votes
1answer
19 views

How can one resume an interrupted ffmpeg job or pause by design and save some kind of state file?

Attempting to convert a series of mp4's for the umpteenth fricking time using hvec 265 codec to save a buttload of storage space. And this does indeed work quite well but i do not have the luxury of ...
1
vote
1answer
116 views

How do I download FFmpeg build for windows 7 64 bit? (Zeranoe’s are offline.)

There are two windows build on ffmpeg.org gyan.dev BtbN The first one can’t be downloaded securely. The second one has lots of files. Which files should I download?
0
votes
0answers
15 views

FFMPEG: cut clips from a long video with “fast seek” while maintaining accuracy

I have this 3 hour long video which consists of: < 1-5 seconds of black frames > -- < clip > -- < 1-5 seconds of black frames > -- < clip > -- ... I could successfully get the ...
1
vote
1answer
25 views

Why doesn't FFMPEG output frames as jpg? How can I fix my code?

I'm trying to decode a video into its frames with the following code: ` Decode the video into 30 fps frames with ffmpeg check_call(['ffmpeg', '-i', 'file:'+clip_name+'.mp4', '-vf', 'fps=30', 'frame_%...
2
votes
0answers
36 views

How to perform a “lighten only” operation in ffmpeg for prop flicker removal

I have footage shot from a helicopter and I would like to remove the rotor blades. Since the blades are so fast it seems feasible to use the pixel values from the next frame (usually the sky) wherever ...
1
vote
0answers
47 views

FFmpeg :How to convert to XDCAM HD-422 correctly? (or how to force frame order to BBIBBPBBPBBPBBI like XDCAM HD-422 )

I exported some XDCAM HD-MXF files with Adobe Premiere and Edius,both exported files are the same, I was surprised to see the order of their frames because they are like this : BBIBBPBBPBBPBBI... But ...
0
votes
0answers
34 views

ffmpeg or ffplay time index not matching with VLC

I am trying to trim many smaller videos out of one big video. I have watched the entire big video using VLC and noted the time index where each video stops and starts. Next, I use ffmpeg to trim each ...
1
vote
1answer
34 views

Resuming a partially-completed encode with FFmpeg

Summary Given a partially completed encode that: Was encoded using h264 in the Matroska container Was cut short by manually stopping FFmpeg by typing 'q' in the console ...what are the ways to ...
0
votes
0answers
13 views

FFMPEG - No profile monochrome12 in included libx265 encoder?

I am trying to convert 12bit grayscale videos using FFMPEG (version 2020-09-24-git-14d6838638-full_build-www.gyan.de). The included HEVC encoder is version 3.4+26-ga82c6c7a7. The problem I am having ...
0
votes
0answers
17 views

FFMPEG, incorect pad color

I'm trying to set the pad color of a video to the color #DE060B of the main fill of this video. But at result, I get a completely different color (#DC1F0F) ffmpeg -y -i video5.mp4 -filter_complex [0:...
0
votes
0answers
21 views

How to convert 10 bit .mov file to .exr/tiff file using ffmpeg?

I am a windows user. I have a 10 bit .mov file 1920 X 1013 encoded prores hq 422, 24 fps of green screen footage-and I can't play that file properly, as I understand, because of the prores codec. My ...
0
votes
0answers
14 views

ffmpeg rtmp broadcast on youtube speed below 1x

i made an python and opencv program that produce frame per second around 8-15fps with MJPEG output format where MJPEG address served on localhost webserver (0.0.0.0:5000) and, i do attempt to ...
0
votes
1answer
43 views

How to cut part of MP4 file using FFmpeg without reencoding?

I have MP4 file. It's duration is 18 minutes 22 seconds. I want to cut part form 7:35 to 14:01 and to save this part as another MP4 file without reencoding. How to do it using FFmpeg?
0
votes
0answers
14 views

FFMPEG - MXF to DASH FrameRate

I'm converting a MXF file to DASH using FFMPEG, but having a hard time maintaing the frame rate, if you can see from the below input file has a frame rate of 25, but the mpd file has a frame rate of ...
1
vote
1answer
25 views

Removing black frames with constant framerate

i'm trying to create a video made of jpgs (camera-snapshots every hour) with removal of black frames (snapshots at night). It works BUT, whenever a black frame has been removed (or ignored), the video ...
0
votes
0answers
13 views

FFMPEG: Quickly finding frames that match an image

I have a long video and I need to find approximate cutting points that match a particular image. Based on Finding frames in video that match an image I can find the cutting points I need, but this is ...
0
votes
0answers
10 views

Why video I created with ffmpeg and videoshow was not created

I created a video from screenshots in node.js with videoshow and I divided it into chapters with ffmpegand the video created excellent but when I have around 1000 images and 40 chapters it does not ...
0
votes
0answers
22 views

Playback from FFMPEG x265 freezes video but not audio

So I am re-encoding an old AVI: https://pastebin.com/KqcHMVAx I have written a batch to re-encode a bunch of similar AVI's and the same problem occurs with each. When I try and play the resulting MKV ...
0
votes
0answers
22 views

Trim (remove frames from) live video from webcam

I have a webcam that captures video stream. After 30 seconds I want to remove 1 sec of the video from the start and keep capturing the video stream and so on. In short, I only want to save the latest ...
0
votes
0answers
36 views

FFmpeg Zoom in and out video every x seconds

I want to zoom in 3 seconds every 6 seconds and then zoom out. I can do this, but the sound slips is out of syncing. What would be the reason ? ffmpeg -i "test.mp4" -vf "zoompan=z='if(...

1
2 3 4 5
33