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

Efficiently compressing an AVI video

I have a few AVI videos of very high bit-rate ( 6.0 Second video is 72 MB in size ). I want to put these videos in a Microsoft PowerPoint presentation, and since there are a few 10 such videos the ...
0
votes
1answer
14 views

How to remove video streams from .wmv with FFmpeg?

I'm working on a method to programmatically remove video and subtitle streams from video files of various formats and have been having some trouble with most .wmv files. Below is what I believe to be ...
0
votes
1answer
13 views

ffmpeg concatenation of MP3 files to single M4A file fails

Instructions from this site, Can ffmpeg input mp4 and convert it to m4b or m4a? fail to concatenate and convert multiple MP3 files into one M4A file. I downloaded the ffmpeg static build for Windows ...
0
votes
0answers
6 views

Styling subtitle

I got some bunch of Kdrama and some subtitles, i mux them for watching but found the subtitle looks bad it need some style, thanking fully i am using VLC and it can style the subtitle itself and make ...
0
votes
0answers
7 views

Output Motion stream as discoverable compressed stream (ffmpeg)

I have a raspberry pi 3b+ (Manjaro Linux) Motion server broadcasting a webcam over the network. Motion creates an MJPG stream over HTTP. This consumes a lot of resources by any player playing the ...
0
votes
1answer
16 views

Remuxing with ffmpeg from mkv to mp4 creates an variable FPS file

I tested with multiple ffmpeg versions, and all of them remux an constant FPS mkv to a variable FPS mp4... ffmpeg -i "$file" -map 0:a:m:language:por\? -map 0:v:0 -c:v copy -c:a copy -f ...
0
votes
0answers
21 views

Want to Blend Frames when Converting from 60fps to 30fps with FFmpeg

I have created some videos of a game I played to upload to YouTube. The game plays at 60fps & the original videos have been recorded at 60fps. However, YouTube re-encodes them down to 30fps using ...
0
votes
0answers
7 views

FFmpeg to replace first and last 20 seconds of multiple videos with new clips

I have a lot of videos that need the intro and outro's replaced. I'm new to FFmpeg and haven't got a clue where to start! I think I need to keep the audio from the original too, if possible.
1
vote
1answer
27 views

Cropping 2048x1152 (16:9) to 1.85:1 removing black bars

for the past 48 hours I tried to crop the black bars of a 2048x1152 (16:9) video to a 1.85:1 aspect ratio (which is 2048x1107) so that the encoded video shows exactly what is meant to be. First ...
0
votes
1answer
21 views

Downloading a video with full capacity of my PC with FFMPEG

I am trying to download a M3U8 Video with help of FFMPEG. My command for downloading is : ffmpeg -i "www.videourl.comm/video-inut.mp4" -c copy -bsf:a aac_adtstoasc output.mp4 But FFMPEG is ...
0
votes
1answer
24 views

I want to produce a scrolling image

I have an image (say .png) of big vertical size. I want to create a video that shows this image slowly scrolling from the top to the bottom. How? ffmpeg? pymovie?
0
votes
1answer
13 views

How do I crop multiple areas of each frame of the video using ffmpeg?

For each frame I want to crop multiple areas using ffmpeg but I am not sure how to proceed. This is what I have done to crop one part of the image, fmpeg -i video.mp4 -filter:v "fps=1,crop=759:41:...
1
vote
1answer
85 views
+100

A specific MP4 file is not playable with avfoundation in iOS

I have an mp4 video file that I want to play it in iOS using avfoundation. Unfortunately, the file is not being played and save into the default gallery (photos) even it has h264 video codec and aac ...
1
vote
1answer
26 views

How can I prevent YouTube from distorting the audio in my QuickTime video?

I recorded about 20 MP4 clips: most on my Android phone with the stock camera, a couple from Facebook (downloaded from the mobile web view), and one from a Zoom session. I cropped or scaled and padded ...
0
votes
1answer
37 views

Trying to stabilize a video with FFMPEG so that it looks like it was taken with a tripod

I have tried to stabilize this video this video using ffmpeg. I have tried deshake and vidstabdetect/bidstabtransform. I would like the outcome to look like it was taken from a tripod I have tried it ...
0
votes
0answers
16 views

FFMPEG: crop a video every 10s without losing the quality

I have an mp4 video of 1080x720. I would like to crop the video to 480x270 without quality loss every 10s in video and then scale to 1080x720 (10s zoom in and then back to default repeat to the end of ...
0
votes
1answer
21 views

FFMpeg Force Codec

I am dealing with a video that as a codec tag of none, but the actual codec is GHEC. I am aware this is a proprietary codec from GeoVision. The video will not play unless I use ffplay with the -...
0
votes
0answers
17 views

How to replace non-looped audio to video as looped using FFMPEG?

my command is this "ffmpeg -i nonloop.wav -i input.mp4 -vcodec copy -max_muxing_queue_size 9999 -map 0:0 -map 1:0 -shortest output.mp4" that produces 0:00:01 duration video with audio ...
1
vote
0answers
23 views

Merging frames with ffmpeg

I have a 240fps video and I want to merge/average every 4 frames into 1, resulting in a 60fps video with a motion blur type effect. Any ideas how I can do this with ffmpeg?
0
votes
1answer
15 views

Why concat in ffmpeg 4.2.3 says too many arguments?

I am trying to flip 180 degrees parts of a video file from action camera. When i was using "[clpABCD][clpEF][clpG]concat[out1]" -" instead of "[clpABCD][clpEFG]concat[out1]" -" ffmpeg said Too many ...
0
votes
0answers
12 views

ffmpeg 4.2.3 bug. Pressing “y” do not overwrite the file

ffmpeg 4.2.3 bug: Do not overwrite the file even "y" is pressed ffmpeg -f concat -safe 0 -i VIDEOFILES_short.txt -filter_complex \ > "[0:v] setpts=PTS-STARTPTS[v1]; \ > [0:v] setpts=PTS-...
0
votes
0answers
11 views

ffmpeg 4.2.3 error, Could not find codec parameters for stream 4 (Unknown: none): unknown codec:

ffmpeg 4.2.3 error, Could not find codec parameters for stream 4 (Unknown: none): unknown codec: This error is for gopro videofiles, where they can processed very fine with different ffmpeg command......
0
votes
0answers
10 views

How to change orientation 180 degrees to only two videofiles out of multiple, with compression to happen only once?

How to merge with ffmpeg multiple action camera (gopro) video files (eg. 30+) into one, and change the orientation 180 degrees to only two of these video files with encoding / compression to happen ...
0
votes
1answer
14 views

ffmpeg 4.2.3 freezes in encoding which is extremely slow

I tried to encode some video files, from GOPRO action camera. The whole fuzz is about two specific video files that the video orientation is 180 degree. Therefore, I thought to implement complex ...
0
votes
0answers
8 views

Ffmpeg freezed while encoding 37mb video file from Action Camera

I tried to encode three video files from my action camera and ffmpeg freezed. The video file was 37mb, without any prior manipulation. ffmpeg -i GOPR0019.MP4 -i GOPR0019.MP4 -i GOPR0019.MP4 -...
0
votes
0answers
7 views

Avidemux but with visual video and audio editor

is there a program similar to Avidemux that allows one or more videos to be added and edited (simple trim & shift) but with a visual video and audio editor and allows for multiplexing (copying of ...
0
votes
1answer
13 views

Too many arguments in ffmpeg, concat, filter_complex command, what I am doing wrong?

I am using the following ffmpeg command with filter_complex: ffmpeg -i GOPR0013.MP4 -i GOPR0013.MP4 -filter_complex "[0:v:0]fps=32,scale=1920:1080[v1],[v1]vflip[vF1],[vF1]hflip[clip1], [clip1] [1:v:0]...
0
votes
1answer
10 views

How to Merge Multiple MP4 videofiles using concat of ffmpeg while transposing 180 degrees two MP4 videofiles

How to Merge Multiple MP4 videofiles using concat while transposing 180o two MP4 videofiles? Currently, i am using the following ffmpeg (concat) command: ffmpeg -f concat -safe 0 -i VIDEOFILES.txt -...
0
votes
0answers
76 views

When using ffmpeg, getting “Non-monotonous DTS in output stream 0:1; This may result in incorrect timestamps in the output file.” errors

I have an m3u8 file consisting of .ts files like: #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:7 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-DISCONTINUITY #EXT-X-...
0
votes
0answers
13 views

(ffmpeg - mpg to mpg) packet too large, ignoring buffer limits to mux it

I have a strange error message from ffmpeg when I just try to tagg and put a title on audio stream. These metadata concern a mpg file. First, here's my command : ffmpeg -i input.MPG -map 0:v:0 -map ...
0
votes
0answers
8 views

ffmpeg: Convert single stream from DTS to AC3, but preserve original stream

I have an mkv file that contains a video stream, subtitles and multiple DTS audio lines. I would like to remove all lines except one, convert this one from DTS to AC3 but leave the DTS in the output. ...
0
votes
2answers
29 views

ffmpeg - Apply padding to input images while combining multiple images and audio track

I am using below command to create a slideshow using ffmpeg: ffmpeg -r 1 -i IMG_%04d.jpeg -i audio.mp3 -c:v libx264 -c:a aac -pix_fmt yuv420p -r 24 -y output.mp4 -vf pad=ceil(iw/2)*2:ceil(ih/2)*2 I ...
1
vote
1answer
22 views

(ffmpeg - Audio) Two streams, One Channel, Two Languages

I need your help with a command line for ffmpeg that I just started to use. Here's the deal : I have a .MOV file witch contains 18 audio streams (for 7.1). Stream 1 to 10 is for original language ...
0
votes
0answers
24 views

Audio and video out of sync after hstack/amerge

I am using ffmpeg to combine two videos in one side-by-side. This is a recorded 1:1 video-call (WebRTC); each stream recorded separately by the media server. I've come up with this command, which ...
0
votes
0answers
31 views

How to add metadata tags without altering video structure/format? FFmpeg

I'm modifying DASH-formatted segments, and my aim is to add extra information to the video segment using metadata tags. I'm using ffmpeg to record video from my webcam and store segments named like: ...
0
votes
1answer
9 views

what is the best digital output format for miniDV tapes

I have many tapes that I want to encode with some current, compact codec. this is the output from ffprobe: [dv @ 0x5642a174c5a0] Estimating duration from bitrate, this may be inaccurate Input #0, dv, ...
0
votes
1answer
31 views

How to apply multiple chroma keys in ffmpeg?

I tried creating two separate colorkey filters (as these seem to work better than chromakey filters) like this: ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex '[1:v]colorkey=0x6AA999:0.1:0.2[...
0
votes
1answer
25 views

ffmpeg add loop to this line of code i have

windows 7 64 bit running latest ffmpeg command-line. ffmpeg -i "song.mp4" -i "2.mp3" -filter_complex "[1:a]adelay=3000|60000[1a];[0:a][1a]amix" -vcodec copy -y "output1.mp4" I want to loop the 2.mp3 ...
0
votes
0answers
8 views

Post-production editing audio/video out of sync

I am trying to add two videos using ffmpeg and the output video/audio is out of sync (and fast forwarded). Goal is to put intro.mp4 before the original file clip.flv My approach is to Change the ...
0
votes
2answers
16 views

Merge multiple video files using ffmpeg by adding multiple compress options

I would like to merge multiple video files, performing in the same time complex compressing options. How can I do that? The following ffmpeg command resulting this error: Filtergraph 'scale=1280:...
0
votes
1answer
12 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
0answers
26 views

ffmpeg audio ADTS error when m3u8 has id3v2 tag

I'm trying to download a video from a VOD service. But when I access it using ffmpeg and try saving ffmpeg will fail with audio error. If i skip audio I can save the video, no problem. Here is ...
0
votes
0answers
32 views

How do I set video thumbnail as first frame of video?

I want to see thumbnail in google photos which show first frame as thumbnail Most answers (for example FFMPEG add image at beginning of MP4 as first frame) fail becouse I am on windows and do not ...
0
votes
0answers
36 views

ffmpeg non-existing SPS 0 referenced in buffering period

Hello Guys I just wanna ask if this log is normal or not? I'm just curious. I can play the output mp4 without problem. I just want to know what is this log I used ffmpeg version 4.2 because the ...
1
vote
1answer
13 views

ffmpeg conversions lead to incorrect time on vlc

I am converting a video using the following: $ ffmpeg -y -analyzeduration 2147483647 -probesize 2147483647 -i /home/michael/Desktop/transcodingtemp/output.mkv -max_interleave_delta 0 -filter_complex "...
0
votes
0answers
8 views

ffmpeg scale subtitle file from HD to anamorphic SD

I have a 1080p source video that I'd like to scale to anamorphic (widescreen) SD. I'm scaling the video just fine, and the subtitle (hdmv_pgs_subtitle) is scaled, too, but appears stretched and right-...
1
vote
0answers
22 views

Why has grayscale a higher bitrate than YUV with H.265/HEVC?

For compression purposes, I am re‐encoding a grayscale video to the H.265/HEVC codec. Although the input video is more or less perfectly grayscale in aspect, it is provided in the yuv420p pixel format....
0
votes
0answers
20 views

Changing FPS from 29.97 to 30 in ffpmeg creates short blank at end of video, audio is fine

I am trying to merge 5 parts of a continuous video using ffmpeg. For some reason, the 1st part is encoded at 29.97 FPS, while all the others are at 30 FPS. part #1 : 29.97 fps, 29.97 tbr, 19200 tbn, ...
0
votes
0answers
28 views

How to create widely readable video stream with ffmpeg?

As for test I use just a file with data as input and I would like to stream it as video. For this purpose I used ffmpeg: C:\tools\ffmpeg-20200523-26b4509-win64-static\bin\ffmpeg.exe -y -f rawvideo ...
0
votes
0answers
17 views

ffmpeg skip first or more segments

Commonly I try options in case of skip the begin of video: ffmpeg -i -ss 2 input.mkv -ss 4 (then 3 or 5) -codec copy output.mkv I can split video by segments, then skip first segment and concatenate ...

1
2 3 4 5
31