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

What video containers are 'sequential' in their file encoding?

If for example I have two video files, both of similar characteristics, file type, encoding, resolution, etc and starting at the same point but A goes on for 10 seconds while B goes on for 20. If A's file size is 10MB and B's is 20MB, if I read in…
user1561108
  • 2,666
  • 9
  • 44
  • 69
0
votes
1 answer

How to build Chromium from source with the missing codecs (on Windows)

My question is related to MP4 codec support in Chromium, but that one is specifically about the Chromium Embedded Framework. Also, of its two answers, one appears outdated, and the other does not appear to be about building from source. I would like…
Finn
  • 652
  • 7
  • 16
0
votes
0 answers

Convert MPEG4 to H264

Does anyone have any ideas on how to convert a mp4 file(mp4/aac) with MPEG4 codec to H264 codec. I can't using ffmpeg on command line since this needs to be done on server. I muxed audio and video and created a movie with the MPEG4 codec, but when I…
inava
  • 19
  • 8
0
votes
1 answer

OpenCV checking if video-codec is installed on machine (C++)

Problem: I want to implement a safe version to process data into a video via OpenCV, this should work on Windows, Mac and Linux. The data has to be saved in a lossless video-codec. Saving the file under my current setup is no problem at all, and I…
Patrick Abraham
  • 208
  • 2
  • 10
0
votes
1 answer

What are I-frames and do they affect the video size?

There are multiple parameters that define a video, as you may know they are frame rate, bit rate, resolution,... and some more. I noticed that there are some new parameters that I didn't know about including what is called by B-frames and I…
user9609225
0
votes
1 answer

HTML5 video tag is not supporting .mp4 video file with codec MPEG4

I have .mp4 files with codec MPEG4 but I am facing problem when i try to display those videos in web page. Note: I can able to play same videos in windows media player and Movies player. I don't know how to resolve this issue. My Questions are:…
K Kiran kumar
  • 157
  • 2
  • 2
  • 11
0
votes
1 answer

How to add MOV file header to raw data written file with ffmpeg?

I am going to record H264 encoded video stream data in iOS using swift. I am not familiar with video codec formats so don't know how to do this. But I've tried to write the H264 raw video data to the file sequently and see its file Info. I am…
gstream
  • 525
  • 6
  • 18
0
votes
0 answers

Videochat without using webrtc?

I say "without" using webrtc because, webrtc currently supports very few codecs, I would like to make a videochat using a custom or experimental codecs, so I'm starting with implementing basic udp websockets, but how do I implement something like…
aditya sista
  • 131
  • 1
  • 12
0
votes
1 answer

Video formats with lossless interpolation frames?

I'm playing with image-optimized diffs for storing edits to artwork. Version control seems to treat images as binary blobs, which means changes to common compressed formats like PNG/JPEG rewrite ≈90% of the file, so updates eat roughly the same…
Tigt
  • 1,330
  • 2
  • 19
  • 40
0
votes
1 answer

How to extract frames with FFMpeg? (FFMpeg output is pixelated)

I want to extract frames from movies with ffmpeg.exe. But the output is very pixelated even if I use -qscale:v 1 Here is my command line: ffmpeg -i^ "d:\movies\snow flakes.mov"^ -qscale:v 1^ d:\frames\frame%%03d.jpg^ …
Gabriel
  • 20,797
  • 27
  • 159
  • 293
0
votes
0 answers

Can I add a custom synchronous meta channel to H264 or VP8?

I am new to video codec specs, so maybe this a noob question :) I want to encode frame synchronous meta data with a web video. Is there a standard way with H264/265 OR VP8 to do that? What do I have to Google for? If not, can I use off screen…
wzr1337
  • 3,609
  • 5
  • 30
  • 53
0
votes
0 answers

New version of Matlab (R2017a), won't open video files (.avi) that my old version (R2014a) can run fine

I'm using VideoReader as follows: video_object=VideoReader('filename.avi'); This runs totally fine on R2014a, but the same code, for the same video files and on the same operating system, returns the following error in R2017a: Error using…
Han
  • 1
  • 1
0
votes
1 answer

Economically store images with similar background

We have a lot of images with similar background (can be represented as the camera on the street, make a 1 photo per minute). It is necessary to optimize their storage, ie, convert into something that will take up less space than the batch of jpeg…
0
votes
1 answer

OpenCV (C++): write produces big file compared to input

I am trying to read a video file using OpenCV (C++), apply a filter to each frame and write a new modified frame into an output file. The crucial parts of the code are these: int out_format = CV_FOURCC('M','P','4','2'); // can be another…
diningphil
  • 416
  • 5
  • 18
0
votes
1 answer

Fix motion blur in still frames from mpeg2video

I'm extracting still frames from a video using the basic code: ffmpeg -i video.MXF -vf fps=1 output_%04d.png In some videos, this yields images that, when the camera was moving, look much blurrier than when watching the video (see example…
Evan
  • 1,960
  • 4
  • 26
  • 54