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
6
votes
3 answers

Give input to ffmpeg using named pipes

I have a C program which generates a series of images and I wanted to make them into a video which should be streamed in real time or stored in a file. While reading up ffmpeg documentation I came across repeatedly that ffmpeg can take input from…
Akilan
  • 269
  • 1
  • 2
  • 9
6
votes
0 answers

Export Mapbox-GL to video

I want to create user generated maps and paths and export them to video. On this page, https://uber.github.io/kepler.gl/#/demo/ukcommute, I see that they export to a photo. Is it possible to create a video from a mapboxGL map?
Founder
  • 626
  • 6
  • 19
6
votes
1 answer

Cannot play certain videos

I'm trying to play movies on the Android device from our server. It is not a media server, just a regular Apache server. We use the same API to access the videos on the iPhone and it works fine. On the Android device, certain videos work, and…
Jai
  • 61
  • 1
  • 3
6
votes
1 answer

OMX.qcom encoder random crash

The app is based on Grafika's camera capture activity (https://github.com/google/grafika/tree/master/src/com/android/grafika). The user taps on a button to record a video. A random crash is happening on Nexus 5x. Posted below are 2 logs of when it…
Ziad Halabi
  • 964
  • 11
  • 31
6
votes
0 answers

Can we limit max fps by using FFMPEG?

I want to limit max fps when I process a video. For example: set limit up to 30 frames per second. If I process a video with 24 fps then I don't change fps but if I process the video with 60 fps then I change fps to 30. Can it be done by using only…
Oleksandr
  • 3,574
  • 8
  • 41
  • 78
6
votes
3 answers

Using RTMP or RTSP protocol in C#

Do you know any library that allows me to send from C# an encoded audio/video stream to a streaming server using RTMP or RTSP communication protocol ?
Tudor
  • 69
  • 1
  • 1
  • 2
6
votes
2 answers

How can I create an H.264 encoded movie from a set of images in c#?

I have been doing a lot of searching today for C# libraries which will allow me to create H.264 encoded video files. Does anyone know if any such libraries or 3rd party components exist?
jessegavin
  • 74,067
  • 28
  • 136
  • 164
6
votes
0 answers

Reducing lag in wifi-direct video streaming application

Currently, I have a working prototype app that streams the output from one phone's camera to another phone's screen. However, the delay between the stream and the actual video ranges from 1 second to up to 5 seconds. For my particular use case, I…
Doronz
  • 704
  • 8
  • 21
6
votes
1 answer

H264 NAL unit prefixes

I need some clarification on H264 NAL unit delimiter prefixes (00 00 00 01 and 00 00 01), I am using Intel Media SDK to generate a H264 and pack it into RTP. The issue is that so far I was looking only for 00 00 00 01 as a unit separator and…
Rudolfs Bundulis
  • 11,636
  • 6
  • 33
  • 71
6
votes
3 answers

Count frames in H.264 bitstream

How to count/detect frames (pictures) in raw H.264 bitstream? I know there are 5 VCL NALU types but I don't know how to rec(k)ognize sequence of them as access unit. I suppose detect a frame means detect an access unit as access unit is A set of…
user500
  • 4,519
  • 6
  • 43
  • 56
6
votes
1 answer

Why low qmax value improve video quality?

Maybe my questions doesn't make sense due to not understanding but please explain me what I miss because I did read posts and wiki and still it's not clear to me. As I understand setting low value for qmax will improve the quality by increasing the…
theateist
  • 13,879
  • 17
  • 69
  • 109
6
votes
2 answers

Getting QualComm encoders to work via MediaCodec API

I am trying to do hardware encoding (avc) of NV12 stream using Android MediaCodec API. When using OMX.qcom.video.encoder.avc, resolutions 1280x720 and 640x480 work fine, while the others (i.e. 640x360, 320x240, 800x480) produce output where chroma…
6
votes
2 answers

Failed to instantiate mediaextractor when using setDataSource()

I am trying to extract Track 0 (video track) of an avi file using MediaExtract and encode to h264 format using MediaCodec. Here is how i configured mediaCodec public MediaCodec configure_codec(){ Log.d("OUT","configure starts"); …
Nirmal Sheet
  • 93
  • 2
  • 6
6
votes
4 answers

Can you splice a 1 min clip out of a larger file, without transcoding it?

I have a site that allows people to upload large video files in various formats (avi, mp4, mkv and flv). I need to generate a 1 minute "sample" from the larger file that has been uploaded, and the sample needs to be in the same format, have the same…
user15063
6
votes
1 answer

Encoding FBO textures to H.264 video directly on GPU

I am planning to write an app in which I need an ability to encode video from a given image sequence that comes from an FBO attached texture.I want to leverage the strength of GPU parallelism and do it all maximum "server side".So I found NVidia has…
Michael IV
  • 11,016
  • 12
  • 92
  • 223