Questions tagged [codec]

Shorthand for "Encoder/Decoder". A codec allows to convert data into a different representation and decode it again. Codecs are mostly used in signal transmission, e.g. for audio/video playback or streaming.

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

How to use Docker FFMPEG and HLS on my website

I want to use a Docker container to convert an mkv video to an HLS "video". This is my command for it: docker run --rm \ -v /mnt:/config \ linuxserver/ffmpeg \ -i "/config/test....
NormalUser's user avatar
-1 votes
0 answers
17 views

Quantify Compression Artifacts in Videos? [duplicate]

Suppose I want to compare the visual quality of various video codecs, and I want a way to quantify it. Is there an easy way to do this? I have the lossless source file, so a rudimentary way might be ...
joejoejoejoe4's user avatar
1 vote
0 answers
22 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
1 vote
1 answer
657 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
31 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
0 votes
1 answer
28 views

Why does the same timestamp represent different points in an MP3 in different media players?

I have an MP3 file that's 11 minutes long. When I jump to, say, 6:15 in the song in some media players (VLC, the web browser), that timestamp represents a different point in the song than in other ...
Paul's user avatar
  • 101
0 votes
0 answers
183 views

How to send av1 encoded stream to a mediamtx server?

I want to test streaming av1 encoded video from the command line but I don't have enough expertise to know if I'm doing something wrong or if it's simply unsupported. So far I've tried gst-launch-1.0 ...
Managor's user avatar
  • 101
0 votes
1 answer
286 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
0 votes
0 answers
55 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,481
0 votes
0 answers
24 views

Identify supported video file format and convert accordingly

I have a small video advertising device that I want to change the video on. Inside it has an AK2117 multimedia chip. The documentation states it has a WMA Decoder (bit rate 32-384 Kbps, 8-48KHZ), ...
13thrune's user avatar
1 vote
1 answer
171 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
1 vote
0 answers
38 views

One IP camera playing, one isn't. Codec incompatibility?

I am new to video codecs and would like to understand my problem better. I am using Siemens camera display in TIA V17 to display the RTSP streams of some IP cameras... IP camera A: Supports H264 but ...
dcJ's user avatar
  • 11
2 votes
1 answer
325 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
1 vote
1 answer
2k views

mpv: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory

System: Linux 6.1.21-1-MANJARO After updating/upgrading my system, mpv no longer works. It seems ffmpeg is using libavcodec 60 and mpv is using 59. Though I'm not 100% sure this is the issue. Any help ...
notabot's user avatar
  • 13
0 votes
0 answers
341 views

No video out from ffmpeg h264_v4l2m2m encoder on rtmp or fifo file

I am using ffmpeg to stream /dev/video0 to rtmp server. I use -codec:v h264_v4l2m2m as encoder. What ever I try I get no video out on the stream. On my command line if I just replace -codec:v ...
gaamaa's user avatar
  • 1
0 votes
1 answer
74 views

What are the constraints for lacking encoder support in FFmpeg?

According to the documentation, there are several video and audio codecs with missing encoder support. Is this typically because: A) The encoder is copyright protected. B) The encoder implementation ...
Skretzo's user avatar
  • 11
0 votes
0 answers
140 views

Trying to export videos from AE into xdcam hd 422 codec format with .mp4

Here the requirement specs * 16:9 aspect ratio, 1920*1080 pixels, .MP4 * Frame rate: 25 * fps Bit rate: 50Mbit/s CBR * Codec: XD CAM HD 422 * Sound: Stereo track 1 & 2, 10dp to -12dp4 As ...
Maclad's user avatar
  • 1
1 vote
0 answers
78 views

Why does running Netflix not cause a bump in video decode?

I don't have any performance issues - just curious about the internals of web browsers. My understanding is Netflix uses H.264, VP9, or against some devices AV1. I wasn't able to figure out which ...
Grant Curell's user avatar
8 votes
2 answers
1k 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
  • 275
1 vote
0 answers
306 views

Rebuild .m4a file with ffmpeg

I have a couple of corrupt m4a file that I'd like to try to repair by rebuilding the container, so I thought ffmpeg could do that easily. However, when I run this, even on a valid file, I get an error:...
mrgou's user avatar
  • 233
1 vote
1 answer
258 views

How can most apps play AAC for free?

Web says that AAC is not a free format, and decoding software must pay the fee. I have downloaded a sample AAC file, and tried playing it with free apps. On Android, Google Files, VLC, and Musicolet ...
Damn Vegetables's user avatar
2 votes
1 answer
966 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
152 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
  • 123
0 votes
0 answers
3k views

Windows 11's new media player cannot play opus encoded audio in mp4 file

youtube-dl-gui allows choosing to download a video as an .mp4 file or an .mkv file. According to VLC, both options end up having the audio portion encoded as Opus audio. However, attempting to play ...
404 Name Not Found's user avatar
0 votes
1 answer
19 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
0 votes
0 answers
15 views

Which FFmpeg video codec is natively supported in Windows 10 and Windows Media Player? [duplicate]

I need to generate a video that will run on Windows 10 with Windows Media Player without having to install any codec or anything else. I plan to generate that video using flags like the below. What ...
user13654090's user avatar
1 vote
0 answers
48 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
  • 111
0 votes
1 answer
592 views

h264_cuvid @ 0x55e14e670bb0 ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps8) failed

I have ubuntu18.04, NVIDIA GTX1060, NVIDIA driver 11.4, cuda version 10.2, cudnn version7.6.5. Yesterday, I got it done with following configuration and it worked perfectly with my test video(ffmpeg ...
sway wang's user avatar
0 votes
0 answers
533 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
  • 521
3 votes
3 answers
7k views

How do I find out what Audio Device Codec my laptop have?

I have a Dell Inspiron Laptop. Now, usually, when you make a custom PC, you see something like ALC 892/897 Audio Device Codec name in motherboard specifications (that you are planning to use). So ...
Vikas's user avatar
  • 652
0 votes
1 answer
309 views

How does G729 Codec compress down to 8kbps?

As per https://en.wikipedia.org/wiki/G.729: It has a sample frequency of 8kHz, so every second it takes 8000 Samples: Sampling frequency 8 kHz/16-bit (80 samples for 10 ms frames) It has a fixed ...
Flying Thunder's user avatar
0 votes
0 answers
158 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
2 votes
1 answer
1k views

Realtek ALC289 codec not found on the whole internet

I'm trying to find a codec on internet to make my microphone work on my Dell XPS 13. Since I've installed ubuntu 20.04, my microphone stop working, whether I try the built-in microphone or an external ...
kambentester's user avatar
1 vote
0 answers
266 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
1 vote
1 answer
1k views

How to split m4b file into many tracks on linux

I do have an audiobook with m4b extension, and I wish to split it into many tracks so that it becomes more manageable on my mobile. Through splitting m4a into multiple files with ffmpeg, I ...
Mostafa Touny's user avatar
0 votes
1 answer
151 views

Verify k-lite codec windows 10 file SHA256

I'm trying to verify the k-lite codec I downloaded to my WINDOWS 10 laptop. The site lists the .exe file to download with a link and lists the md5 and sha256 hashes. I'm trying to verify the hashes ...
DATAfiend's user avatar
2 votes
1 answer
123 views

ffmpeg : Not keeping original codec for Audio Track

I have 3 versions of the ffmpeg command and none of them are perfect... I am stuck. Below are the examples I have and the issues I face with each version: ffmpeg -i "%%a" -map 0:v:0 -map 0:a:...
Joel Samson's user avatar
0 votes
0 answers
3k 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,215
0 votes
0 answers
635 views

Downloading songs from YouTube, which codec to use?

I want to mass download songs from YouTube using cli app called spotdl, I'm confused as it offers audio in different codecs, there is Opus at ~120kbps-149kps,48KHz AAC at ~133kbps-192kbps,44.1KHz ...
User's user avatar
  • 101
0 votes
0 answers
3k views

FFMPEG Convert image format with best possible output?

With the standard command you can theoretically convert almost anything (ffmpeg -i input.png output.tiff), but I'm afraid that the output will differ from the input in terms of quality and/or ...
SideSky's user avatar
  • 101
1 vote
0 answers
1k 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
3k 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
1 vote
0 answers
19 views

Are the ffmpeg libraries able to suggest the audio codec? [closed]

I want to write a small audio data converter for a very special goal. I'd like to use different audio formats as input without investigating the input by myself and before selecting codec. Is there a ...
Mick P. F.'s user avatar
0 votes
1 answer
954 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
454 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
1 vote
2 answers
374 views

ffmpeg: Attach various codecs to various filtergraph output streams -- How?

I have 2 ffmpeg audio outputs mapped out from a filtergraph, thusly: -filter_complex "[0:1]..bla-bla-bla..[ac3];[0:2]..bla-bla-bla..[dts]" -map "[dts]" -map "[ac3]" Next, ...
markfilipak's user avatar
0 votes
1 answer
407 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
3k 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.5k
0 votes
1 answer
7k 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
0 answers
54 views

Windows' USB Audio Codec summing audio inputs

I set up a small video conferencing room with a USB webcam (Logitech BRIO) and a hardware audio mixer (Behringer Xenyx QX1204 USB) to support several (analog) microphones (Rode Wireless GO via VXLR ...
albert's user avatar
  • 283

1
2 3 4 5
9