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
0
votes
1 answer

do pre-roll ads appear on embedded youtube videos on iOS?

We are contemplating using youtube to store and encode our videos for our iOS app. If we do so, will the pre-roll ads that appear on youtube via the web also appear on mobile?
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
-1
votes
1 answer

H.264 to MPEG2 conversion

I have videos which code and format is h.264. I need to transform this videos to mpeg2 format (the same codec: h.264). Everything I try doesn't work... Any idea? I think it can be done with ffmpeg. Thank you.
gekon
  • 27
  • 2
  • 6
-1
votes
1 answer

H.265 encoding slow on Raspberry Pi 4

OpenCV is so slow on video encoding, like 20 frames per minute, (On 8GB Pi4, 256MB GPU memory, 850MHz GPU Clock, and 2147MHz on CPU Clock) I think, threading it to one core for taking frames, another one for saving to video will make a better…
-1
votes
1 answer

Transcoding MPEG-1 to MPEG-H (H.265/HEVC)

Transcoding MPEG-4 video to MPEG-H in order to reduce the size in half without losing perceivable quality is relatively easy with a 2-pass approach presented within FFMPEG documentation. The scheme that I've been using is to extract the bit_rate…
Alexander Shukaev
  • 16,674
  • 8
  • 70
  • 85
-1
votes
1 answer

what does 26 mean in h.264?

Whenever I searched about H.264, there is plenty information about video-encoding, media-container so forth, but why I can not find any effective source to explain what is meaning of 26 in H.26{1,2,3,4,5}?
http8086
  • 1,306
  • 16
  • 37
-1
votes
1 answer

Encoding system for an image?

Like we have ASCII encoding system for characters. Then what is the encoding system used for other things such as an image, audio or video etc?
-1
votes
1 answer

Speed up video encoding

My task is to create html5 compatible video from input video (.avi, .mov, .mp4, etc.). My understanding is that my output should be .webm or .mp4 (H264 video, aac audio). I use ffmpeg for conversion and it takes a lot of time. I wonder if I could…
eshangin
  • 99
  • 1
  • 11
-1
votes
1 answer

FFmpeg streaming low CRF results in low quality

I am streaming(live chat) with FFmpeg using the following parameters. ffmpeg -f dshow -rtbufsize 100M -i video="device":audio="device" \ -c:v libx264 -crf 30 -preset ultrafast -tune zerolatency \ -c:a aac -f mpegts…
Max Paython
  • 1,595
  • 2
  • 13
  • 25
-1
votes
1 answer

Separate server for video encoding?

I'm making a website that will handle video upload and encoding. My idea was to have the main server handle both client requests and video processing. But from my understanding, video encoding is cpu intensive. So I'm not sure if its a good idea to…
-1
votes
1 answer

RGB video ADC Conversion Color Palletes

I'm trying to better understand analog to digital video conversion and was hoping for some direction. Way I understand it, a dedicated 10-bit ADC chip will read the voltage of R, G, and B input pins, translate this to 10-bit RGB and output in…
jparanich
  • 8,372
  • 4
  • 26
  • 34
-1
votes
1 answer

Strange FPS and frame number while re-encoding a video

I am re-encoding a video using below command: ffmpeg -i input.mp4 -q 20 output.avi The video is 10 mins approx, i.e, it has around 18K frames. However, I am getting last frame number as 5061, but the re-encoded video is playing for all 10 mins. I…
mdasari
  • 423
  • 4
  • 11
-1
votes
2 answers

FFmpeg quadruple video resolution?

Is it possible to upscale a 1920x1080 video (lossy h264@20000kbit/s, recorded with shadowplay) to 3840x2160 without any quality loss from upscaling the video so that 1 pixel becomes a square of 4?
Atemu
  • 295
  • 3
  • 12
-1
votes
1 answer

Converting RGB frames to YUV420P using FFmpeg/C++

I tried a code based on this tutorial. What this does is it writes first 5 frames of a video into memory in RGB format. I need to convert these RGB frames to YUV420P format so that I can pass them to YUV420P encoder. I tried using the sws_scale but…
learner
  • 1,197
  • 6
  • 22
  • 34
-1
votes
1 answer

What video HTML5 video formats does the new Blackberry 10 OS support?

Blackberry is releasing a new OS (BB10) and smartphone Z10 on January 30th and it is said to have a HTML5 compatible browser, does anyone know which HTML5 video formats it supports. (e.g H.264, WEBM, OGG etc?) I would assume H.264 but looking for…
user17050
  • 44
  • 2
-2
votes
1 answer

FFmpeg: Frame sizes of the generated video are extremely larger than the expected

I am recording frames (screen buffer) as NumPy arrays during the game which runs on the resolution of "400x225". Each frame array is a size of 270.1 kB. After saving those frames, I create an mp4 file with the following bash command (The game runs…
bbasaran
  • 364
  • 3
  • 15
1 2 3
63
64