Questions tagged [video-encoding]

This tag should be used for questions related with programmatically handling of video encoding in any format. For questions related to trimming and modifying videos use [video-editing], and [video-processing] for questions related to processing videos with filtering video frames.

Video encoding (and video compression) reduces redundancy in video data with algorithms and codecs. Most of the techniques are to combine spatial image compression and temporal motion compensation.

See also:

Read more:

950 questions
4
votes
4 answers

Tell libavcodec/ffmpeg to drop frame

I'm building an app in which I create a video. Problem is, sometime (well... most of the time) the frame acquisition process isn't quick enough. What I'm currently doing is to skip the current frame acquisition if I'm late, however FFMPEG/libavcodec…
chouquette
  • 971
  • 1
  • 7
  • 12
4
votes
9 answers

HTML 5 Video not working on IE9

Why video on this page and this page working in all browser but not in Microsoft Internet explorer 9? Any fix for it? This video is not playing on My IE 9.0.8112.16421 My OS is Windows 7 64 bit
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
4
votes
2 answers

How to read MKV bytes as video?

I am receiving fragment of MKV video in bytes. I need to take 1st frame of it for later processing without saving video in disk. For similar problem with image I use OpenCV or PIL and everything works fine, however, I am not able to do the same with…
py_ml
  • 478
  • 1
  • 5
  • 13
4
votes
2 answers

Multiple side-to-side video streams in one file without transcoding

I am investigating a possibility to store video streams which are coming from few sources already coded in h264 without video transcoding as the device I would like to use for this project won't be capable of transcoding combined video on the…
Serg Fillipenko
  • 141
  • 1
  • 2
4
votes
0 answers

Adding text to video

I'm trying to add text to a video. I've been using the Accord framework so far, and this is what I currently have: using (var vFReader = new VideoFileReader()) { vFReader.Open(@"\video.mp4"); using (var vFWriter = new VideoFileWriter()) …
Frederik Hansen
  • 506
  • 4
  • 21
4
votes
1 answer

Converting video files uploaded by user & serving it using django, python

I need to take any video file uploaded by the user, convert it into flv or webM & then display it to the user. Now after doing some research I came to the conclusion that I must use ffmpeg to do the conversion but I am unsure on how to take care of…
Chantz
  • 5,883
  • 10
  • 56
  • 79
4
votes
2 answers

need to create a webm video from RGB frames

I have an app that generates a bunch of jpgs that I need to turn into a webm video. I'm trying to get my rgb data from the jpegs into the vpxenc sample. I can see the basic shapes from the original jpgs in the output video, but everything is tinted…
Mike
  • 1,169
  • 9
  • 26
4
votes
2 answers

ffmpeg libx264 encoder different machines different output

I'm new to development with ffmpeg and I was wondering if it is possible to get the same bit exact output by running ffmpeg with the libx264 encoder on different machines (compiled using different compilers) with the same input file and same…
yfu
  • 73
  • 7
4
votes
2 answers

FFMPEG drops supposedly corrupt frames from original video while transcoding using h264 encoder

I am using h264 for optimising MP4 for web. I have a video which has some supposedly corrupt frame(s) within it's initial 1-2 seconds. (Frame provided below) On transcoding using : ffmpeg -i orig.mp4 -c:v libx264 -crf 25 -vf scale="-2:min(ih\,720)"…
t6nand
  • 710
  • 1
  • 8
  • 20
4
votes
2 answers

Streaming video library for C#

I'm looking at options for adding streaming video to a social web site written in ASP.NET/C#. I have a great deal of experience with Flash too, so I'm comfortable using FLV players, but I'd definitely go Silverlight if the right library is…
DavGarcia
  • 18,540
  • 14
  • 58
  • 96
4
votes
1 answer

Which audio codecs are supported for HLS?

Does HLS protocol specify audio codec? If it does, which are supported? I've tried to search, but found different lists: MP3, HE-AAC or AC-3 according to wikipedia AAC, AAC-LC, HE-AAC (accPlus) v1 & v2, MP3 according to this AAC-LC, HE-AACV1-2,…
Nelson Tatius
  • 7,693
  • 8
  • 47
  • 70
4
votes
0 answers

Record and play h.264 video in memory using Jcodec

I am working on a project that requires h.264 video to be written to memory and then read from memory. In other words, using a byte array rather than a File. The only java encoder library that I can find is JCodec.      I am using version 0.2.0 of…
SolarFlare
  • 51
  • 3
4
votes
1 answer

Create video from camera frames

I've been playing around with v4l2 and I finally managed to connect to my laptop's camera and set it to stream. At the moment I save the frames as 1.jpg, 2.jpg etc. Thinking on a basic level, I need a storage container for those jpegs and then a…
user3017869
  • 543
  • 2
  • 6
  • 16
4
votes
1 answer

Watermark a video programmatically

So I am looking for a way to watermark videos uploaded to my site programmatically. I have looked at ffmpeg-php however this will not work as I am using shared linux hosting. I'm wondering if anyone knows of a way that I can programmatically add a…
Bot
  • 11,868
  • 11
  • 75
  • 131
4
votes
2 answers

How to encode uploaded video files to .flv format in PHP

My platform is PHP JOOMLA MYSQL. I want to encode and load uploaded video files of different formats to .flv, .mp4 & .avi I want this process either done on the upload process or after completing the upload process as a separate process. I do use…
Rahul TS
  • 1,208
  • 7
  • 26
  • 53