Questions tagged [video-codecs]

Questions related to video compression and decompression methods. This includes popular video codec standards like H.264, MPEG4.

A video codec is a device or software that enables video compression or decompression for digital video. The compression usually employs lossy data compression.

More details at http://en.wikipedia.org/wiki/Video_codec

171 questions
0
votes
1 answer

pyvnc2swf not working? outputs video of duration 0sec

i need to convert video from swf to flv. im using pyvnc2swf : edit.py but it's not working. shows no errors but outputs a file with one blank frame. here is the command: /usr/share/pyvnc2swf/edit.py -o outlet.flv -s 1 1.swf output: Using pygame…
Ashy saini
  • 327
  • 5
  • 12
0
votes
0 answers

ffmpeg custom compile options with hardware/software support

My last compile enabled nvidia/cuda but even though I included --enable-nonfree in the configure, I had issues encoding videos, with outputs like: ffmpeg -hwaccel cuvid -c:v h264_cuvid -resize 1920x1080 -i Input.mkv -c:a copy -c:v h264_nvenc -preset…
0
votes
0 answers

Linux Mint 21.1 MATLAB 2022b VideoReader/initReader Could not read file due to an unexpected error. Reason: Unable to initialize the video properties

I have installed MATLAB 2022b on my LInux Mint 21.1. My laptop is an Acer Swift 3 with an Nvidia MX250 dedicated gpu. I have installed the drivers for the gpu, namely the nvidia-driver-525 and nvidia-utils-525 package. The Nvidia X Server Settings…
Xen
  • 1
  • 1
0
votes
0 answers

How to dump decoded frames from a mp4 file

I was working with a android project in which it captures live feed from a cam and saves it as a mp4 file. My target is to to decode this mp4 video file using media-codecs ( android internal software decoder) and dump this raw data. Using the…
christo
  • 1
  • 2
0
votes
0 answers

What is DTRACE_BLOCK_STATISTICS in VTM software and how to implement it?

I am using VVC and VTM software. What is DTRACE_BLOCK_STATISTICS in vtm software, and how can it be use in the commandline? whether can it be used to extract certain information from a video, if so how can I get the difference of max and min pixel…
0
votes
0 answers

How do I develop a video codec in C/C++?

How do I develop a video codec in C/C++? What do I need? I'm trying to understand how Video Codec Developers came up with video codecs, and honestly I'm getting nothing out of my reasonings, can someone help me by giving me an beginner-frendly…
Matteo
  • 1
0
votes
0 answers

I want to konw how to use DTrace module to trace "D_BEST_MODE and D_MODE_COST" channel in Versital Video Coding

I have read the dtrace_next.h file in VTM10 and wrote the configuration command according to the manual, but it doesn't work,The command in debug mode is as follows -c encoder_randomaccess_vtm.cfg -c RaceHorses.cfg…
ans
  • 1
0
votes
1 answer

How do I check video codec in Flutter?

I am using flutter. I'm working on using a file-picker to select a video and then upload it. But I want to filter the video of h.265 codec, how can I do that? It's frustrating because you can't filter codecs with just the mp4 extension. I can't…
0
votes
1 answer

Best video codec for smooth 1920x1080 playback on older machines (quality not important)

I'm new to Video technology, so any feedback (such as if I've underspecified the problem) would be greatly appreciated. I need to display an animation (currently composed of about a thousand PNGs) on Windows and am trying to determine the best video…
Tom West
  • 1,759
  • 2
  • 13
  • 20
0
votes
1 answer

Moviepy videos not playing on YouTube

I am trying to upload videos made using moviepy to YouTube but when i finally upload them, i can't play them. The video playback stops at 6 seconds. (e.g. https://www.youtube.com/watch?v=CLSWs63ygH0). I've tried changing the audio codec from mp3 to…
0
votes
0 answers

How to encode h264/hevc in real time with ffmpeg AMF, without delay?

amf encoding will delay one frame, I added the option but it doesn't work. av_opt_set(codec_ctx->priv_data, "usage", "ultralowlatency", 0) doc of AMF Video Encode SDK says: In the Transcoding mode the encoder needs to accept at least 3 input frames…
21pages
  • 1
  • 1
  • 1
0
votes
0 answers

ffmpeg H.264 to VP9 always creates larger output files on Zoom Meeting Recordings

ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f null -row-mt 1 NUL && ^ ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 2 -c:a libopus -row-mt 1 output.webm input.mp4 file size is 197,007 KiB and output.webm is 197,132…
Sam
  • 33
  • 4
0
votes
0 answers

Unknown data between h264 NAL units in an AVC file

I want to understand a weird observation I had while working with h264 encoded AVC files. In such files, each NAL unit is preceded by 1/2/4 bytes that encode the size of the NAL unit (without the size header). However, there has been some cases…
Diram_T
  • 21
  • 3
0
votes
1 answer

Is there a AV codec that allows composite bitrate?

Is there a codec that would allow one stream of data where there would be a baseline of data for the lowest quality and where more data could be sent from a source that would increase the quality and vice versa? Usually, we have multiple versions of…
user17644273
0
votes
1 answer

FFmpeg libxh264 error on Slackware current

Well, here are specs which gives you heads up before suggesting ... bhaskar@Slackware_06:46:54_Sat Nov 20: :~>ffmpeg -codecs | grep h264 ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11.2.0 (GCC) …
unixbhaskar
  • 129
  • 2
  • 3
  • 12