Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

FFMPEG cant render from transparent webm a transparent png frame

I want export every frame like original source, in webm video is alpha/transparent video track, and if I try export with my base command will export with black background. ffmpeg \ -hide_banner \ -...
aClassicKoder's user avatar
1 vote
0 answers
103 views

How to preserve contrast/highlights when converting ProRes HDR 10-bit to SDR using hevc_videotoolbox?

I'm trying to convert a 4K HDR 10-bit video clip to BT.709, preserving as much color as possible while allowing the clip to be played where HDR is not supported. With the command below, the output is ...
jslp's user avatar
  • 21
2 votes
0 answers
66 views

How to know my audio codec will support the output container in. Fluent-ffmpeg [closed]

I am building a YouTube downloader. As YouTube doesn’t store high quality video with audio and store them separately so I have to merge them on server. For merging I am using a Node.js server with ...
Rakesh's user avatar
  • 21
1 vote
0 answers
2k views

FFmpeg Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input

I'm having trouble using FFmpeg to host an RTSP server for continuous video streaming. The command I'm using is: ffmpeg -report -v verbose -re -stream_loop -1 -i store-aisle-detection.mp4 -c copy -f ...
randompersonhehe's user avatar
2 votes
1 answer
969 views

Why does ffmpeg alter timestamps when "-codec copy" is given, and how to prevent this?

I am currently trying to remove certain audio tracks from a bunch of m2ts files (mainly to save space), using ffmpeg. In doing so, I would like the removal of those tracks to be the only action that ...
Binarus's user avatar
  • 1,835
2 votes
0 answers
153 views

Video Encoded using FFmpeg is not being played in Azure Kinect Viewer

I captured a video using a Kinect Azure DK device and could play it back using Azure Kinect Viewer (v.1.4.1). However, when I encode a video using FFmpeg, the commands are given below. I can not ...
Ashutosh Singla's user avatar
0 votes
0 answers
254 views

Best Lossless Video Codec for 8 bpc RGB image sequences?

I render 3D animations, many of which take days or even weeks to render at a time, and I need to keep a lossless archive of the output files. The output format from the render engine is 8 bit per ...
EllipticalInitial's user avatar
1 vote
0 answers
56 views

FFMPEG: Sync issue between mp3 and mp4 converted from the same input webm file

Using this command to create 2 files : ffmpeg -y -i input.webm -c:v copy -c:a libmp3lame -b:a 128k -strict -2 -f mp4 rec_50ae1a2a3da64cf1a5f46c53de757d6e-1692704540213.mp4 -vn -acodec libmp3lame -b:a ...
Shashwat's user avatar
7 votes
1 answer
12k views

How to select maximum resolution and specify a format/codec in yt-dlp?

I use yt-dlp frequently and like it. But there is a problem I can't find documented anywhere. yt-dlp -v -f "bv*[height<=720]+ba*[ext=m4a]" -N 4 "https://www.youtube.com/xxx" ...
Bart Lederman's user avatar
1 vote
0 answers
236 views

Force media info rewrite with ffmpeg

I have a bunch of video files created by MKVToolnix that have a Codec ID like: V_MS/VFW/FOURCC / HEVC. I tried to run this: ffmpeg -i test.mkv -c copy test.avi to turn it to avi and then this: ffmpeg ...
Fabio's user avatar
  • 11
2 votes
1 answer
2k views

Is it okay to re-encode videos from traditional lossless codec to modern lossless codec to save space and preserve quality?

Lossless video codec means almost zero information loss. After some internet search I found that there are some traditional opensource lossless codec like huffyuv, lagarith, utvideo and ffv1, which ...
ArchBug's user avatar
  • 21
0 votes
0 answers
219 views

Official source for portable embedded Chromium binaries, for kiosk use, with H264 support

I am using Chromium in kiosk mode, for an embedded computer project. We can find portable snapshots on https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win_x64/ ...
Basj's user avatar
  • 1,900
1 vote
1 answer
928 views

How do I accurately cut video and audio with ffmpeg

So when I try to cut out a portion of a video I do this ffmpeg -i originalClip.mp4 -ss 00:00:14 -t 00:00:21 -codec copy outputClip.mp4 And the video comes out with amazing quality and the sound is on ...
John V Dole's user avatar
3 votes
1 answer
1k views

Kdenlive proxy clips vs. transcode to editor-friendly format

When should I use proxy clips vs. the "transcode to editor-friendly format" option? They both seem to accomplish the same goal, that is, providing the video in a format that the editor can ...
The Bic Pen's user avatar
8 votes
2 answers
2k views

FFmpeg incorrect colourspace with hardcoded subtitles

Problem I have a MKV file which has 1 video and 1 subtitle stream, of which I want to hardcode the subtitle stream and output a MP4 file. Example file, images and results can be found here. mediainfo ...
YTZ's user avatar
  • 305
2 votes
1 answer
2k views

Only convert codecs(preserve audio and subtitles)

I have a video file h265 mkv which has dual audio and multiple subtitles. I want to convert it to h264 since it doesn't require further transcoding on my jellyfin server. But I haven't been able to ...
fx_32's user avatar
  • 21
0 votes
0 answers
223 views

How to cut 1 video into many different videos with different lengths? ( FFMPEG)

I need to cut a video with a length of several minutes into many different videos, In all but the videos cut from the original video will have different short lengths. what do i need to do? This is ...
alexdo's user avatar
  • 145
0 votes
1 answer
59 views

Songs of Conquest can't play cutscenes after winning a mission on Ubuntu 18.04

Songs of Conquest can't play a cutscene / video after winning a mission in campaign on Ubuntu 18.04. After you win a mission, there should be a bard singing a song. The screen just stays black. How do ...
stupidstudent's user avatar
1 vote
0 answers
144 views

How to export mestimate filter motion vectors into a separate file with ffmpeg binary?

So mestimate filter can be used to compute the motion vectors in a video. They can also be displayed. Is there a way to export them into a separate file using the ffmpeg binary? I would love to have ...
Hitokage's user avatar
  • 121
0 votes
0 answers
970 views

Bitrate over Codec for the best quality?

AFAIK bitrate means how many bits are used to record the audio/video within one second, while codec (or file format) means the compression method to store the clip. To me, the higher the bitrate, the ...
midnite's user avatar
  • 571
0 votes
0 answers
406 views

How to convert old videos to a new format that is playable in most modern browsers?

I found a stash of old video clips I'd like to share online with a HTML5-video player. But none of them opens in Chrome. I guess the codecs are not supported. What format should I convert to? What is ...
Andreas Zita's user avatar
1 vote
0 answers
394 views

Codec parameter is overridden by file extension when using ffmpeg

I'm using ffmpeg to transcode some video files and for this post we'll take test.mkv. test.mkv has an audio track at index 2 that is AAC 7.1. I want to keep the track but also add a AAC stereo version....
Cas's user avatar
  • 111
0 votes
0 answers
5k views

Save a local file URL .m3u8 stream using youtube-dl

I have a local .m3u8 file containing stream information. I would like to use youtube-dl or a fork to download the stream. When I pass the local file to youtube-dl it gives the error that it is ...
pkamb's user avatar
  • 4,463
1 vote
0 answers
2k views

Calculate PSNR, VMAF, SSIM using FFmpeg

I am trying to calculate PSNR, VMAF, SSIM using FFmpeg after I reencode to 10-bit H.265 codec but I keep getting an errors: "An invalid or unaligned stack was encountered during an unwind ...
WickedChester's user avatar
1 vote
1 answer
4k views

Could not find tag for codec none in stream #1, codec not currently supported in container vs Non-monotonous DTS in output stream

I'm trying to record video from my ip camera stream with ffmpeg in command line. fmpeg -rtsp_transport tcp \ > -i rtsp://192.168.0.250/stream1 \ > -c copy \ > -map 0 \ > -f segment \ &...
Kracozebr's user avatar
  • 113
0 votes
1 answer
1k views

How is this ffmpeg '-map' documentation? Okay?

Regarding ffmpeg: Attach various codecs to various filtergraph output streams -- How? Is the following 100% correct? There are 5 types of '-map's: 1, Input-absolute: index (i) all input streams (e.g. -...
markfilipak's user avatar
0 votes
0 answers
632 views

2160p HEVC 4K video not playing

This video is not playing in pc I have tried vlc 3.0016, Media Player classic and pot player but did not able to figure out the correct configuration to run the video. Any suggestion of any other ...
anil uchadiya's user avatar
0 votes
1 answer
567 views

Resize an MP4 with AAC/H.264 encoding in 16:9 to a smaller 16:9 file

I have a 1920x1080 (16:9) MP4 file with Codecs: AAC, H.264 that I would like to shrink to various smaller sizes, for example: 1280x720 or perhaps 640x360. As far as I know, those values are clean 16:9 ...
creamcheese's user avatar
0 votes
1 answer
4k views

Range of "global_quality" value for h264_qsv encoder?

What is the range of the -global_quality setting for ffmpeg's h264_qsv encoder (4.3.2-2021-02-27-full_build-www.gyan.dev, Windows)? Ffmpeg's documentation for the encoder (archive) states: The ...
Jason C's user avatar
  • 10.9k
0 votes
1 answer
9k views

ffmpeg : Could not find codec parameters for stream 1 (Video: vp8, yuv420p): unspecified size?

I have an RTP stream coming from Kurento Media Server. I would like to record this stream to a file using ffmpeg. I'm running the command ffmpeg -protocol_whitelist file,crypto,udp,rtp -i a.sdp -c:v ...
Thomas Carlton's user avatar
1 vote
3 answers
1k views

ffmpeg several streams with different video and audio setting using --filter_complex and tee pseudo muxer from same source

I'm capturing video with embeded audio from decklink mini recorder and need to create 6 different streams. I've created the filter for the video and it works, but cannot figure it out how to set ...
Velislav's user avatar
0 votes
0 answers
236 views

Vokoscreen VP9 Codec in Debian 10 Buster

Kdenlive for Debian Buster allows me to render using the VP8 and VP9 codecs. Also, I think Vokoscreen 3.0.8 for Win 10 allows me to record using VP9. Unfortunately, when I install Vokoscreen 2.5.0 ...
Shawn Eary's user avatar
1 vote
1 answer
617 views

AV1 extract keyframes

Using this file [1], I can run this command with no problem: ffmpeg -i crushed-between-two-portals.mp4 %d.jpg but if I run either of these commands [2]: ffmpeg -i crushed-between-two-portals.mp4 -vf &...
Zombo's user avatar
  • 1
0 votes
1 answer
120 views

What is a MOJO codec and how can it be used with ffmpeg

NComputing VCast has this MOJO format that can play fast on their thin clients. As described here: https://support.ncomputing.com/portal/en/kb/articles/vcast-what-is-the-difference-between-web-media-...
cyberquarks's user avatar
2 votes
0 answers
2k views

Extract timestamp of I-frames of video using ffmpeg

If I understand correctly, I-frames are the frames that are unaltered during video compression. I want to extract the exact timestamps of these I-frames and save the output in a txt file. How do I do ...
connor449's user avatar
  • 121
1 vote
0 answers
2k views

FFMPEG - Transcoding webm to mp4 - wrong duration

I have a webm file that I want to convert to a mp4 file. The result is a mp4 file with a different duration than the webm (much longer). Webm file (via WeTransfer, example.webm, 421kb) About the ...
Ofir Baruch's user avatar
7 votes
2 answers
5k views

What are the differences between the HuffYUV and ffvhuff codecs in FFmpeg?

Doing ffmpeg -codecs | grep -i huffyuv shows that my FFmpeg build supports three different versions of the HuffYUV lossless video codec: DEVI.S ffvhuff Huffyuv FFmpeg variant DEVI.S ...
Hashim Aziz's user avatar
0 votes
1 answer
68 views

Join vides of different formats

I have a collection of videos that have been recorded and encoded with various different devices and codecs. I try to make one movie out of them. I thought it's a good idea to bring them all to the ...
pfnuesel's user avatar
  • 316
2 votes
0 answers
388 views

Why has bitrate changed after remuxing with ffmpeg?

I am running this command to remux a .VOB file into a .mov file, without re-encoding. ffmpeg -i input.VOB -c copy output.mov The details of the movies' codec, framerate and bitrate in QuickTime's ...
Rachel's user avatar
  • 21
0 votes
1 answer
215 views

Compressing video consisting mainly of text and still images (Powerpoint slides)

(NB This question is largely a duplicate of Best video codec for filmed powerpoint presentation but that question is 7 years old and I hope to see if there is new advice. I don't have enough ...
Dave Winterborne's user avatar
2 votes
2 answers
2k views

Chrome video decoding GPU or CPU

If I watch a video on the internet in the chrome browser, and the video is encoded with H265 or VP9 (or the future AV1), and I have a Nvidia GPU (GTX 1080): Is the video decoding happening on the GPU ...
Stefan B's user avatar
  • 123
6 votes
1 answer
30k views

H.264 video support in Chromium, missing codec?

Been using Chromium for a while, but it occurred to me that most video content does not work. YouTube does, but Vimeo does not, and most video streaming sites as well as random webpages with embedded ...
Rog's user avatar
  • 73
1 vote
1 answer
4k views

Video-Codecs in Chromium missing

I use a Version 81.0.4032.0 (Entwickler-Build) (64-Bit) Chromium Browser on my Windows 10 computer. On Facebook Videos and some Gifs are not running. So I opened the Console and found this logs: ...
TheIngo's user avatar
  • 11
0 votes
0 answers
9k views

ffmpeg: Could not find codec parameters for stream 0 - Video: none (H265 / 0x35363248)

I am trying to find a way to concatenate videos I am getting from an NVR. To my understanding, the video is encoded with H265, but I am not able to find more information on the specific codec (...
jiko's user avatar
  • 31
2 votes
1 answer
3k views

Compressing Grayscale 8-bit PNG Sequences with ffmpeg

I typically deal with many high-resolution PNG sequences, many of which are RGB (24-bit) or entirely grayscale (8-bit). Because adjacent frames in the sequences are very similar, it is important that ...
EllipticalInitial's user avatar
5 votes
2 answers
817 views

Do video containers affect video quality ? Or is it just the codec?

Do video or audio file containers (extensions) have any repercussion with the video in itself ? Or is the codec used the only thing that has a repercussion ? For example I have the exact same video ...
Nicryc's user avatar
  • 707
0 votes
1 answer
2k views

Extracting AAC LC audio from mp4 using ffmpeg

Here is the info of the file that I am working with General Format : MPEG-4 Format profile : Base Media Codec ID ...
Aivan Monceller's user avatar
3 votes
1 answer
6k views

Lossless Video Codec supporting Alpha Channels

Suppose I have a sequence of PNG image files which may or may not contain an alpha channel (assume those that do have an alpha channel actually utilize it). While PNG files themselves have their own ...
EllipticalInitial's user avatar
1 vote
1 answer
4k views

VLC Playback Stutters with ProRes-encoded Video

I have a 4K 60fps 3.46 GB video file that was encoded from a lossless 8bpc RGB mov video file using the following ffmpeg settings: ffmpeg -i 8bpcRGB.mov -c:v prores_ks -profile:v 2 -bits_per_mb 540 -...
EllipticalInitial's user avatar
0 votes
0 answers
435 views

How to extract an elementary video stream from Avigilon .ave container?

I would like to figure out how to extract a H.264 video stream from an Avigilon .ave custom container. Unlike with here where they are using ffmpeg to extract the elementary video stream, when I try ...
andor kesselman's user avatar