2022 Developer Survey is open! Take survey.

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
28 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 ...
user avatar
  • 481
3 votes
3 answers
1k 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 ...
user avatar
  • 562
0 votes
1 answer
34 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
0 votes
0 answers
20 views

Wecamoid Codec Configuration for Webcam

I bought and installed a webcam: NexiGO N30-AF. I'm currently using Ubuntu v21.10, and initially planned on using Cheese, as it worked in the past, but it seems to have a universal bug, as you can ...
user avatar
  • 350
1 vote
1 answer
246 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 ...
user avatar
0 votes
0 answers
68 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....
user avatar
  • 101
0 votes
0 answers
147 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 ...
user avatar
0 votes
1 answer
30 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 ...
user avatar
2 votes
1 answer
69 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:...
user avatar
0 votes
0 answers
21 views

how to play ascreen recording with codec error created due to computer shut down midway into the reccording., not able to play in vlc

how to play ascreen recording with codec error created due to computer shut down midway into the reccording., not able to play in vlc but contents are present in recording in the form of GB data
user avatar
0 votes
0 answers
671 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 ...
user avatar
  • 3,555
0 votes
0 answers
51 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 avatar
0 votes
0 answers
308 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 ...
user avatar
1 vote
0 answers
392 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 ...
user avatar
1 vote
1 answer
514 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 \ &...
user avatar
0 votes
0 answers
23 views

Encoding to g723_1 with different codec ID - 0xA100 instead of 0x0042

Does FFMpeg have the ability to encode to g723_1 codec id 0xA100 instead of using 0x0042. FFmpeg seems to support decoding of this codec ID. ffmpeg -i test.wav -acodec g723_1 -ar 8000 testg723_1.wav ...
user avatar
1 vote
0 answers
17 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 ...
user avatar
0 votes
1 answer
235 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. -...
user avatar
0 votes
0 answers
77 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 ...
user avatar
1 vote
2 answers
113 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, ...
user avatar
0 votes
1 answer
161 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 ...
user avatar
0 votes
1 answer
543 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 ...
user avatar
  • 9,800
0 votes
0 answers
217 views

ffmpeg nvenc buffer limitation overflow

what does this error mean in ffmpeg when using nvenc encoder? i'm having trouble setting -bufsize:v 800000000 as it doesn't seem to do anything with nvenc.... i get this error: [hevc_nvenc @ ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
0 answers
32 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 ...
user avatar
  • 281
1 vote
3 answers
202 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 ...
user avatar
0 votes
0 answers
73 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 ...
user avatar
0 votes
1 answer
193 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 &...
user avatar
  • 1
0 votes
1 answer
63 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-...
user avatar
0 votes
0 answers
74 views

How can I reduce the file size of a video encoded with wmv2 in ffmpeg?

I have some videos of a slide presentation with audio and need to put them in a wmv container. These videos are intended to be viewed with Windows Media Player. I initially made the mistake to use the ...
user avatar
1 vote
0 answers
397 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 ...
user avatar
  • 111
0 votes
1 answer
116 views

the .m3u8 video being downloaded converted to mp4 result in trouble

why did the .m3u8 video being downloaded converted outright to mp4 result in lower resolution quality? It's anyway either done by vlc or ffmpeg cli Please one expert solve it to be got the same good ...
user avatar
0 votes
1 answer
53 views

Two files with apparently the same codecs, but one doesn't work on my TV

So, I have these two files. File 1 works perfectly on my TV, but file 2 doesn't (TV says file format not supported). But checking the MediaInfo, it appears that the codecs are the same. Am I missing ...
user avatar
1 vote
0 answers
596 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 ...
user avatar
0 votes
0 answers
191 views

Audio is scrambled up when using ffmpeg concat demuxer

I am using ffmpeg's concat demuxer to join different mp4 videos. First I have reencoded all videos with the following command: ffmpeg -i "${file}" -c:v libx264 -c:a aac "${out}" ...
user avatar
  • 294
4 votes
2 answers
2k 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 ...
user avatar
  • 10.3k
3 votes
2 answers
6k views

Is FDK-AAC still better than FFmpeg's native AAC encoder?

I wrote this about a year ago while working through my own way trying to compile a FFmpeg for Windows, based on the premise in the FFmpeg wiki that: The Fraunhofer FDK AAC codec library. This is ...
user avatar
  • 10.3k
0 votes
1 answer
55 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 ...
user avatar
  • 294
0 votes
2 answers
2k views

Realtek codec driver won't install - keeps "uninstalling"

So I downloaded the latest Realtek codec driver (Win10, 64-Bit) and after running the installer, it says that the current one must first be uninstalled for the new one to be installed. Ok. Let the ...
user avatar
  • 1
0 votes
1 answer
66 views

How to set the MixMonitor extension that match the RTP codec used?

I have a dialplan where I am using the application MixMonitor. This application take a file path, and the extension is used to define the format of the file (wav, alaw, ulaw, g729, ...). For the ...
user avatar
  • 251
1 vote
1 answer
2k views

ffmpeg loudnorm: normalize audio volume with two pass

https://trac.ffmpeg.org/wiki/AudioVolume#LoudnessNormalization However, it is recommended to run the normalization with two passes, extracting the measured values from the first run, then using the ...
user avatar
  • 359
1 vote
0 answers
165 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 ...
user avatar
  • 11
0 votes
1 answer
89 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 ...
user avatar
0 votes
0 answers
456 views

Windows Media Player not playing MP4 files, even after I try to install Klite codec pack and media.player.codec.pack

Windows Media Player not playing MP4 files, even after I try to install Klite codec pack and media.player.codec.pack I have looked at "windows media player cannot play the file" mp4 but ...
user avatar
  • 21.6k
0 votes
2 answers
1k views

How to transcode to hevc losslessly using ffmpeg hevc_qsv encoder?

I'm using ffmpeg -hwaccel qsv -c:v h264_qsv -i Intro.mkv -strict -2 -c:v hevc_qsv -preset veryslow -c:a copy Intro-hevc.mp4 to transcode a h264 mkv video to hevc mp4. Although the file size is ...
user avatar
1 vote
1 answer
3k views

H.264 Codecs on Chromium Linux

I have been using Chromium for a while, but I found was that I can't watch Netflix because the H.264 codecs are not available. I have already done some research on this, but nothing works. I have ...
user avatar
  • 21
2 votes
2 answers
1k views

FFMPEG conversion from MP3 to FLAC - why is the file so large?

So for various reasons I'm converting an MP3 to a FLAC with the following: ffmpeg -i x.mp3 -map 0 -map -0:v -compression_level 5 x.flac x.mp3 is 21MB and the resultant x.flac is 102MB I assume, ...
user avatar
  • 21
1 vote
1 answer
670 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 ...
user avatar
  • 113
0 votes
1 answer
608 views

NVIVO 12 - The Media File Format Not Recognized

I installed NVIVO 12 on a windows server 2019 machine and a Windows 7, and still get this error when I'm importing media files with .m4a, .mp3 (low and high quality), and .wav extensions. I wanted to ...
user avatar
  • 103

1
2 3 4 5
9