Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
4 views

Convert video files to supported formats and with correct codec to reproduce on Epson projector

I have the EPSON EH-DM3 projector and it supports the following formats only: and here are more specific info: now I'd like to be able to reproduce my videos on it by simply converting them before ...
0
votes
0answers
8 views

getting blurred video after encoding with ffmpeg

I am encoding a lot of videos later I am storing these videos. I am playing these through a browser. I have observed the blurred video while playing the recorded video file only at the very starting, ...
1
vote
1answer
28 views

FFmpeg/FFprobe marks non-idr keyframes as keyframes

I have a video clip I want to get the positions of all keyframes from. To achieve this, I tried running various ffmpeg/ffprobe commands, but all of them return similar output. From first 20 seconds of ...
0
votes
0answers
24 views

creat an online video maker website with ffmpeg or other tools

I want to create an online video maker website with after effects templates. something like renderforest.com. I did some research and came up with ffmpeg tool.but when i want to edit animated texts on ...
0
votes
0answers
10 views

Convert HLS Stream from h264 to ts live?

Is this possible? I need to do this for Plex Live TV DVR Proxying to work
0
votes
0answers
7 views

Best way to work with h265 on Linux / Kdenlive

I have Samsung NX1 which has a "capture codec" h265. I am working on Linux platform where I use Kdenlive for editing. When I directly import captured h265 video (UHD, 25fps) to Kdenlive and try to ...
-2
votes
0answers
15 views

I want full-screen ffmpeg video encoder. Skip images and audio copyright. Thank [on hold]

I want full-screen ffmpeg video encoder. Skip images and audio copyright. Thank ffmpeg -y -i input.mp4 -i filter.png -af "[0:a]atempo=1.15,volume=1.6,pan=stereo|c0
0
votes
0answers
14 views

How to reindex a mkv with ffmpeg

I would like to know what parameters I should use to index a mkv video file with ffmpeg. Tried google and searched the ffmpeg site as well, but couldn't find anything. When I try to jump forward in ...
0
votes
0answers
21 views

Extend video without re-encoding/encoding/re-compressing/transcoding

I want to change the audio of a video but the audio is longer than the video, when I mux them (ffmpeg -i "audio.m4a" -i "video.webm" -acodec copy -vcodec copy "out.mkv") the video that comes out doesn'...
0
votes
1answer
37 views

ffmpeg - live stream into a browser video tag (localhost only)

I'm building an application, that is basically a video chat, where a user connects using WebRTC with another users (operator) browser, and should be able to talk to a third person. The WebRTC part is ...
0
votes
0answers
9 views

Audio streams in mpegts out of sync with each other

I have an mpegts stream that contains multiple video and multiple audio tracks. Because I'm looking for 1:1 assignment of audio channels, and do not want the various issues such as low pass filters, ...
0
votes
0answers
15 views

Is there a way to Scissor extract part of a video and re-insert it without re-encoding?

I have a h.264 video file, and I need to do some modifications to a 30 second chunk of the otherwise 3 minute video. I no longer have the original files that I exported out as an h.264. So I could do ...
0
votes
0answers
20 views

How to use FFMPEG for batch intros?

I have about 200 videos that I need to add 5-10 seconds of a JPEG to the beginning of without having to manually edit each video. I know nothing about about FFMPEG but people say it can get the job ...
0
votes
1answer
22 views

“shift +” while rendering in ffmpeg, how to undo?

I was rendering a video in ffmpeg and accidentally pressed "shift" and "+", and the below started happening. What is this doing and how do I stop it and is it creating something I need to delete or ...
1
vote
1answer
31 views

Do video containers influence the video quality?

https://en.wikipedia.org/wiki/Comparison_of_video_container_formats Understanding containers and codecs I'm just confused because the information above seems to indicate containers are simply chosen ...
1
vote
1answer
19 views

How to split video in small clip?

I'm trying to split a video (50-100Mo) into several small clips of a few seconds each. I don't need re-encoding, hence my use of codec copy. However some of the resulting clips don't have any video. ...
0
votes
1answer
25 views

Is there image degradation when you apply the same chroma subsampling iteratively?

I have digitalized a set of old family VHS tapes. As you know, VHS relied on chroma subsampling. And the capture device creates files with the 4:2:2 tag. Now, when I encode again with ffmpeg to get ...
0
votes
0answers
15 views

How can I encode a Low-Motion H.264 without Jerkiness?

I tried recording a few soothing nature videos to use as desktop backgrounds. For this, I put my camera in a fixed position and recorded a river on a calm day. The video from the camera is fine, one ...
0
votes
0answers
24 views

VOB to MP4 Lossless

I am trying to convert a large quantity of VOB files to MP4 with as little quality loss as possible. Everything I try is reducing the bitrate down to 1024k, which results in a reduced quality. Is ...
0
votes
0answers
13 views

ffmpeg How to copy mp3 cover art to opus

I have a mp3 file that contains a cover art : $ ffprobe myMP3File.mp3 Input #0, mp3, from 'myMP3File.mp3': Duration: 00:02:12.36, start: 0.025056, bitrate: 323 kb/s Stream #0:0: Audio: mp3, ...
0
votes
1answer
26 views

FFmpeg keep different sar and dar in multiple videos

I have two video that I'm working through filter_complex. First video is 1280x720 [SAR 1:1 DAR 16:9] and the second video is 1280x720 [SAR 203:640 DAR 203:360] I would like to merge the files with ...
0
votes
0answers
27 views

error converting 1080p images into 4k video (zooms in)

Edit: TLDR: As far as I can tell I'm missing something in the command below that is specific to creating 4k video files (or video files with resolutions over 1080p anyways). *Edit 2: Using h.265 its ...
0
votes
0answers
7 views

Upscale + sharpen not working in conjunction [duplicate]

ffmpeg input.png -vf scale=3840:-1 -filter "unsharp=lx=13:ly=13:la=1.0" output.png Hi I'm trying to apply a scale to 4k on a 1080p image and an unsharpen right after in a single command. When I do ...
0
votes
1answer
32 views

Unknown bitstream filter prores_metadata

When I type the following ffmpeg command: ``` ffmpeg -i input.mov -c:v prores -profile:v 3 -c:a pcm_s16le -bsf:v prores_metadata=bt709 output.mov I have the following error: Unknown bitstream ...
0
votes
0answers
21 views

HLS doesn´t start with first EXT-X-Stream

I'm currently in the process of switching from MP4 to HLS. I am using FFMPEG to convert my mp4 files to m3u8 and .ts, which works fine. but am experiences some unexpected behaviour with the resolution ...
0
votes
1answer
14 views

Where/when should I specify unsharpen when converting images to video?

Edit: its not liking it when I specify .exr as the output file....not sure if there's a fix to support exr in ffmpeg. Just pretends its .png then unless you can help with that as well Hi so I ...
0
votes
1answer
20 views

Highest quality convert of wav to aac to fit in mp4 container?

Edit: These should probably be merged as they both go back to the same issue now: https://sound.stackexchange.com/questions/45177/exporting-wav-as-m4a-creating-sync-issue-in-audacity So I need to ...
1
vote
0answers
14 views

Calculate Average Color for Whole Video with ffmeg

I would like to calculate the average/median color of a whole video clip (not single frames). Is there a straight forward way to calculate such statistics with ffmpeg or any similar open source tool? ...
0
votes
1answer
37 views

Is there a way to upscale without re-encoding?

Basically I need to take a h.264 8 bit 1080p render and upscale it to 4k without re-encode. Is it possible? And if it is, does the container matter? Cause ideally it needs to be mp4 container, ...
0
votes
1answer
55 views

How to precisely trim video with ffmpeg? -ss and -t are off by more than a half second

To put this plainly, -ss and -t don't work very well or even consistently. I'm trying to take a single input file1 and only encode from a certain start point, -ss, and for only a certain time, -t. I'...
0
votes
1answer
18 views

How to deinterlace GRAY video and convert it to .avi?

I have binary data stream from analogue camera and convert it to .avi with this λ ffmpeg -f rawvideo -pix_fmt gray -s:v 700x220 -i orbita_d.bin -c:v rawvideo -pix_fmt yuv420p out.avi what do I need ...
0
votes
1answer
21 views

Lossless A/V delay with ffmpeg

I downloaded this video but its' audio has approximately a 600ms advance compared to its' audio. How can I fix that in a lossless manner (i.e -c copy) with ffmpeg ?
0
votes
1answer
27 views

Fast VP9 still image encoding

I use this command to create "myFile.webm", a VP9 video with one still image : $ ffmpeg -i myOriginialPureAudioFile.opus -loop 1 -i myAudioFile_640x360.png -shortest -threads 4 -speed max -c:a copy ...
0
votes
1answer
44 views

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video with a still image?

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video with a still image ? I tried PAL and NTSC framerates with 48kHz stereo and and image size of 640x360 and kept ...
1
vote
0answers
24 views

Best FFmpeg codec for Final Cut import

Is there an ideal FFmpeg codec to use when the video file is designated to be imported into Final Cut Pro X?
0
votes
0answers
10 views

How to reencode old divx/xvid to modern formats without loosing quality and reduce bitrate

I would like to reencode old videos from divx/xvid and maybe more to h264/h265. They have better compression rates for the same quality. Goals: get lower bitrate because the new encoder should be ...
1
vote
0answers
22 views

FFMPEG gives improper “duration” in metadata

Scenario: I have 5 minutes of gameplay footage. I wanted a 10 second clip in the middle of it as a webm to share. ffmpeg -ss 3:36 -i gameplay.mp4 -copyts -to 3:46 -c:v libvpx -an -b:v 2500 -threads 7 ...
0
votes
1answer
29 views

Running ffmpeg WITHOUT editing path variable

So I'm a long time user of ffmpeg, and I know perfectly well how to install it for command line use using the environmental variable editor. What I want to know is how to run ffmpeg by directly ...
0
votes
0answers
8 views

Cannot send desktop capture to a local ffserver?

I am simply trying to send a ffmpeg stream consisting of a desktop capture to a local ffserver on Linux: # ffserver >/dev/null 2>&1 & # ffmpeg -video_size 1600x900 -framerate 25 -f ...
0
votes
1answer
25 views

How to render png's as h.265 12 bit video?

ffmpeg -framerate 500/21 -i %d.png -i audio.wav -c:v libx264 -crf 0 -pix_fmt yuv422p10le -c copy output.mkv I have the above command for converting a png sequence of images into 10 bit h.264 video ...
0
votes
1answer
32 views

How to resolve ffmpeg error “input contains (near) nan/+-inf”?

I'm trying to convert some old WMVs into MP4s, but ffmpeg will not do it. I keep getting the following error: input contains (near) nan/+-inf audio encoding failed Exact command used is: ffmpeg -...
2
votes
1answer
24 views

How to stack three videos side by side with ffmpeg

I'd like to combine three videos into one vertically stacked video. The three videos have different width and height. I can combine them horizontally successfully with this command: ffmpeg -i s1.mp4 ...
0
votes
2answers
62 views

Extract PTS, Frame Number from a TS file using the bytes representation of it

I am trying to write a Python script which will connect the TDT with the PTS in a MPEG-2 TS. So far I have managed to convert the TS file into a .dat file where I have all the hex representation of ...
0
votes
1answer
20 views

ffmpeg creating a boomerrang video

I'm trying to use ffmpeg to create a "boomerrang" video. Where it would take in one video, play that video forward, then play it backward, and once more forward all at 1.5x speed. I'm been able to do ...
1
vote
1answer
21 views

Use ffmpeg to extract 15 frames at specific intervals

I'm new to using ffmpeg, but I want to extract 15 consecutive frames (resized to 320x240) at specific time intervals from an existing video. What I have so far is this: ffmpeg -ss 30 -i inVideo.mp4 -...
0
votes
0answers
29 views

Stream PNG image with alpha channel

So, what I would like to achieve is to stream a PNG image (containing alpha background) to localhost in order to use it as input to watermark the main video stream. So for example I have a ffmpeg ...
0
votes
0answers
8 views

ffmpeg: “Referenced QT chapter track not found”

Using ffmpeg to replace audio in a QuickTime with audio from a WAV. Anyone know why I'm getting Referenced QT chapter track not found? Command: $ ffmpeg \ -i "$video" -t 25 \ -i "$audio" -map 0:v -...
0
votes
0answers
20 views

FFMpeg set language as Unknown or unspecified in a QuickTime MOV

I have to transcode with FFMpeg some video with multiple audio where various audio track are not language related, just music and so on. I would like to assing as language something like Unspecified, ...
0
votes
1answer
20 views

If I use a normal build of ffmpeg how take advantage of video acceleration for scale?

I generally use ffmpeg for encode in h264 and also resize media My common command is something like: ffmpeg -i in.mov -c:v libx264 -preset ultrafast -b:v 5000k -s:v 1280x720 out.mov I have an ...
0
votes
0answers
13 views

Set audio channel title in a MOV file with ffmpeg

Today I received some materials in a MOV container. The MOV file is done pretty well and if you see in VLC they assigned also the channels names (channel title). This is something that I would like ...