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
8 views

What is the best deblock value? How to preserve more details?

What is best deblock value for encoding hevc how can I preserve more details? And my other question İs -1,-1 better than -3,-3? I don't understand the value. if someone could explain I would be ...
0
votes
2answers
15 views

Convert Horizontal 1920x1080 mp4 video to Vertical 1080x1920 mp4 with Actual content size of 1080x608

How to convert horizontal 1920x1080 mp4 video to vertical 1080x1920 mp4 with actual content size of 1080x608 I know ffmpeg can do it, but don't know how to do it.
0
votes
0answers
11 views

What value should bufsize be if maxrate is 3700?

What value would be the best if maxrate is 3700? which would be better if set it to 3700 or 4600 or 7000? I dont understand the value. İf someone could explain I would be appreciated
0
votes
1answer
33 views

ffmpeg compress video in fast motion in high quality

I would like to compress a video and in the same time to be in fast motion, and this must have as a result a high quality fast motion video. I tried to run this ffmpeg command which compress video ...
0
votes
1answer
10 views

is there a way to manipulate (pad, slice) a computed PTS timestamp within ffmpeg / drawtext?

I've been able to get most of the manipulations I want on various PTS/timestamp things.. except this one. I have a case where we have a running PTS that gets stamped via drawtext. I currently use ...
5
votes
2answers
11k views

Concate two video file with fade effect with ffmpeg in linux

is there anyway to concate two video file with fade effect with ffmpeg in linux? something like this: ffmpeg -f concat -i input.txt -c copy "--with:fade:out-in" output.ogg
0
votes
1answer
21 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
1answer
20 views

Which rate control algorithm best preserves quick movement?

I gathered the following rate control algorithms are commonly used when encoding modern video formats like h264, HEVC or VP9. With a constant quantizer (-qp in terms of ffmpeg) all frames are encoded ...
0
votes
1answer
10 views

can I use ffmpeg drawtext filter as a passthrough/identity filter? (and/or performance question)

Background: I have a script which needs to apply a variable number (from zero to 'a few') drawtext filters to a base stream, and I'm trying to balance performance and coding/maintenance concerns. ...
0
votes
1answer
109 views

Comparing FFProbe to WavAgentBeta

Wav Agent outputs the following when I drag the same file in, so the data has to be in the file somewhere, and I just don't know how to look for it. WavAgent: StartTC: 13:09:21:18 Now FFMpeg with the ...
0
votes
2answers
248 views

Error:-[libx264 @ 000001fa2ffdd080] height not divisible by 2 (244x207)

I was looking to put an audio visualiser filter on my podcast file(mp3)and got the necessary code from here.But on running the code,the terminal gave an error"height not divisible by 2".I tried my ...
0
votes
0answers
15 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
1answer
461 views

FFmpeg Can't Capture Window Rendered with Secondary GPU

Edit: I am using the terms "primary" & "secondary" cards below loosely. I'm just assuming the Intel card is considered the first card. I recently discovered how to use my secondary graphics card (...
1
vote
1answer
966 views

How to merge videos with FFmpeg with smooth transitions

Sorry if my question is dumb, but I'm new to FFmpeg. I have some videos. They all have the same video codec, resolution and framerate. Audio streams also have the same format. For example, MP4 files, ...
0
votes
0answers
19 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. ...
0
votes
2answers
208 views

FFMPEG: is it possible to offset output frames from a selection of specific frames?

I'm doing some ffmpeg (4.1.3) transcodings by extracting specific frames from the source, in this case, the source can be either a movie or an image sequence, all working fine with the following ...
0
votes
1answer
69 views

FFMPEG - Crop and Chromakey not working together?

Having an issue with the chromakey portion not working after the scale. Any ideas? ffmpeg -i background1080.png -i file.mp4 -filter_complex "[1]scale=1612:906[inner];[0][inner]overlay=154:170; [1:v]...
2
votes
1answer
4k views

ffmpeg convert mp4 to mov with dnxhd codec

I'd like to convert an mp4 file to DNxHD for use with DaVinci Resolve. Here is my attempt of doing the conversion using ffmpeg: C:\FFMPEG\bin\ffmpeg.exe -i "H:\Downloads\test.mp4" -vcodec dnxhd "...
5
votes
2answers
1k views

FFmpeg graph2dot tool

In FFmpeg Filters Documentation is the section 3 graph2dot is this about graph2dot program: The graph2dot program included in the FFmpeg tools directory can be used to parse a filtergraph ...
1
vote
1answer
18 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 ...
5
votes
1answer
967 views

Largest input image size when encoding a video?

I got a bunch of really large 16 bit videos, approaching 65535×65535 pixels in size. These are essentially high quality timelapse panoramas. I want to convert them to a 7680×4320 movie (8K UHD, 8 bit)....
0
votes
1answer
10 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" ...
0
votes
2answers
2k views

How to add correctly ssa/ass subtitles to video with ffmpeg or VLC

I want to add ssa subtitles to video. I've tried with VLC. If I play the video and add subtitles file VLC shows correctly the ssa subtitles but if I convert/save the same video adding the subtitles ...
1
vote
1answer
11 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
17 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:...
1
vote
1answer
117 views

ffmpeg - Draw a box and scale its size with time

I need to draw a box that grows in size horizontally over a video (scaling its width as time goes by) Since drawbox does not support the 't' (as in time) variable, I'm at a loss here. I've seen some ...
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
50 views

FFMPEG greyedge filter randomly produces black frames

I needed to correct video illumination and found an awesome filter called greyedge. The problem is that when applying this filter to my videos it often produces black frames. So I've made a test to ...
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 ...
1
vote
3answers
37 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
2answers
1k views

Can ffmpeg input mp4 and convert it to m4b or m4a?

Can mp4 audio/video be converted to m4b using ffmpeg command line tool.(in vb.net) I've spent the last few days trying various query combinations to find an answer but to no avail. What I have found ...
1
vote
1answer
233 views

FFmpeg rtmp listen not working correctly: Connection Refused

Im trying to convert rtmp into an HLS stream using ffmpeg as the rtmp server. In the docs they mention that providing -listen 1 makes ffmpeg act as an rtmp server yet the behaviour is very weird. ...
1
vote
2answers
1k views

Time lapse video with motion blur

Based on some of my videos I would like to make time-lapse videos with motion blur. My inspiration is this YouTube video: Time-lapse with motion blur from video with Avidemux, AviSynth and VirtualDub ...
0
votes
1answer
60 views

ffmpeg : how to reduce bit rate of transport stream

I'm aiming to reduce the bit rate of a video contained in a transport stream. The command (ffmpe.exe) is as follows : ffmpeg -i "udp://127.0.0.1:40101" -map 0:v -c:v libx264 -b:v 256k -maxrate 256k -...
4
votes
3answers
5k views

FFMpeg concat demuxer corrupted output (freezed video on some concatenated parts)

I have big videos with different types of properties and trying to collect some part of these videos by ffmpeg. I use this command to cut specific parts: scale video >> scale png >> pad ...
-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
127 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
818 views

Intra-frame H.264 / H.265 compared to DNxHR or Prores as intermediate codecs for editing

IMPORTANT: ISSUE SOLVED (STILL A COUPLE OF QUESTIONS, THOUGH), I POSTED SOME INFO BELOW THE ORIGINAL POST AS AN UPDATE IF SOMEONE FINDS THIS USEFUL: Quick question: what are the advantages of using ...
2
votes
3answers
1k views

How do the super resolution filters in FFmpeg work?

I need to incorporate a small amount of 1080p HD shots in a 2160p 4K composition. I'm not impressed by default upscaling techniques like lanczos/bicubic/trilinear; it seems like my television does a ...
0
votes
2answers
292 views

How to add lower third text graphics to a video using FFmpeg

I'm trying to add text to my video. Something like this: So far I've tried this command, but the text doesn't wrap: ffmpeg -i input.mp4 -vf \ "format=yuv444p, \ drawbox=y=ih/PHI:color=black@0.4:...
1
vote
1answer
57 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
20 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
20 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
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
116 views

Concatenate multiple files using FFmpeg

I started to learn FFmpeg syntax a couple of days ago. I'm trying to read the official docs, it's not easy. So I want to build up a video files which consists of different videos, and audios. Let's ...
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
20 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 ...
0
votes
1answer
23 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
29 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
2 3 4 5
33