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
2 answers

Real-time video encoding for mobile

Does anyone know a good way to do real-time video re-encoding (Target formats being 3GP s263 AMR narrowband and MP4 mp4v mp4a, but not at the same time of course. Input files would be WMV, but the more input formats supported the better)? Currently…
fyjham
  • 7,004
  • 2
  • 32
  • 40
4
votes
2 answers

segment does not contain sync frame

Whenever I split a video using Apple's mediafilesegmenter, using the following command: medifilesegmenter video.ts -t 10. I get the following error for each segment except the first: segment does not contain sync frame Before splitting I've…
Jap Mul
  • 17,398
  • 5
  • 55
  • 66
4
votes
0 answers

Running FFMPEG in Android

Possible Duplicate: ffmpeg for a android (using tutorial: “ffmpeg and Android.mk”) I have tried several things running FFMPEG in android, searched around the whole net,No fruitful or direct solutions available. Refereed this and related was very…
4
votes
1 answer

Faster encoding of realtime 3d graphics with opengl and x264

I am working on a system that sends a compressed video to a client from 3d graphics that are done in the server as soon as they are rendered. I already have the code working, but I feel it could be much faster (and it is already a bottleneck in the…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
3
votes
1 answer

Mobile HTML5 video format, video size and FPS

I'm about to create a mobile website using HTML5 and want to use the HTML5 video tag. I want the website to work with iPhone, iPad, Android and other smartphones/devices. Which video format should I choose? mp4? Which size should i use for width…
Martin
  • 2,302
  • 2
  • 30
  • 42
3
votes
2 answers

Encoding and streaming continuous PNG output image files as live video streaming on Web browser

I have an Open GL application that renders a simulation animation and outputs several PNG image files per second and saves these files in a disk. I want to stream these image files as a video streaming over HTTP protocol so I can view the animation…
3
votes
0 answers

Given a streaming video, how to calculate the size(in bytes) of the video that should have been downloaded to play the video till time t

I'll try to make myself as clear as possible. I am streaming a video and I'd like to know for each time t in the video, the no. of bytes that should have been loaded in client's machine to play the video from start to time t. I want this info as an…
prongs
  • 9,422
  • 21
  • 67
  • 105
3
votes
1 answer

how to encode videos for the web and mobile phones using ffmpeg

I'm running a website where users can upload their videos and they are all trancoded to the same format (mp4 a.t.m.). Up until now I've been using zencoder (transcoding as a service). But I want to start transcoding the videos on my own server. What…
demux
  • 4,544
  • 2
  • 32
  • 56
3
votes
1 answer

H.264 - Relationship between video bitrate and quality

I have been given the task to convert an uncompressed movie to H.264 format. The original movie takes up 80G. I am hoping to bring it down to 10G without losing much in quality. It appears most 2-hour long BD movies that are in H.264/AVC format run…
Peter
  • 11,260
  • 14
  • 78
  • 155
3
votes
2 answers

Encode video using ffmpeg from javacv on Android causes native code crash

NOTE: I have updated this since originally asking the question to reflect some of what I have learned about loading live camera images into the ffmpeg libraries. I am using ffmpeg from javacv compiled for Android to encode/decode video for my…
gtcompscientist
  • 671
  • 5
  • 18
3
votes
2 answers

AVCodecContext settings for H264 (1080i)

I'm trying to configure x264 for 1080i capturing. Most of these settings below are found in different examples. However, compiled together they don't work. ffmpeg API reports no error, but avcodec_encode_video() always returns zero. Some of the…
user1090249
3
votes
5 answers

Play back an RTSP in Flash

I have an IP camera streaming video through RTSP, and I am able to pick up the stream in VLC (rtsp://192.168.1.50:554/live.sdp). What I need now is a way to show this stream in a Flash application I am developing (probably through the FLVPlayback…
Timothy
  • 143
  • 1
  • 7
3
votes
2 answers

Trying to determine h.264 profile & level pragmatically

Ideally the solution would be in python and cross platform, but that's probably not too likely, so all I require is it work in linux, and I can use a c extension to interface w/python if necessary. I see there is a python binding for ffmpeg which I…
kryptobs2000
  • 3,289
  • 3
  • 27
  • 30
3
votes
2 answers

Encoding Video in Java

I am trying to create a screen recorder type thing and I cannot figure out how to encode multiple BufferedImages into a watchable format like mp4. I would prefer pure Java code and I cannot use anything that the end user has to install before…
user1036756
  • 137
  • 2
  • 5
3
votes
2 answers

h264 bitstream types

I am trying to inspect h264 bitstream coming from hardware encoder on TI Davinci board. 00 00 0b c8 25 88 84 27 e4 a2 8e 32 77 87 ec 16 86 37 d7 8e 99 e1 8c 3b 8b ce fe a5 fc e9 9c f3 34 87 9f d7 ff 66 7d c1 ce ed 62 18 05 35 00 08 0f f6 69 12 08…
Alex
  • 2,837
  • 5
  • 25
  • 27