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

HandBrake strips out all my video

I am using HandBrake for the first time because so far I have not been able to get any other encoder/converter to work. I heard a bunch of good things about HandBrake so I am disappointed that I cant get it to work properly. I have a 133MB WMV file…
Grapho
  • 1,654
  • 15
  • 33
3
votes
2 answers

RGB-frame encoding - FFmpeg/libav

I am learning video encoding & decoding in FFmpeg. I tried the code sample on this page (only the video encoding & decoding part). Here the dummy image being created is in YCbCr format. How do I achieve similar encoding by creating RGB frames? I am…
learner
  • 1,197
  • 6
  • 22
  • 34
3
votes
0 answers

What does the MediaRecorder start failed 38 mean and how do I solve it?

I am getting this message in my logcat. E/MediaRecorder(25487): start failed: -38 The thing is, that my mediarecorder runs just fine. However, I am a bit worried as I have no clue what that means. Can someone help? How can I fix that?
user2426316
  • 7,131
  • 20
  • 52
  • 83
3
votes
2 answers

MediaCodec Video Streaming From Camera wrong orientation & color

I'm trying to stream video capturing directly from camera for android devices. So far I have been able to capture each frame from android camera's onPreviewFrame(byte[] data, Camera camera) function, encode the data & then successfully decode the…
3
votes
2 answers

API's for Android 4.4 screen recording?

One of the features of Android 4.4 (Kit Kat) is that it provides a way for developers to capture an MP4 video of the screen using adb shell screenrecord. Does Android 4.4 provide any new API's for applications to capture and encode video, or does…
spaaarky21
  • 6,524
  • 7
  • 52
  • 65
3
votes
1 answer

How to continuously extract video frames from streaming RTMP using avconv / ffmpeg?

We're dealing with streaming video on RTMP and my goal is to extract frames from the stream at a given interval, e.g. every 1 second. Currently I run a command in a loop, which takes a frame and exports it as base64 JPEG: avconv -i -y -f…
mvbl fst
  • 5,213
  • 8
  • 42
  • 59
3
votes
3 answers

Capture video from vlc command line with a stop time

I'm trying to capture a video from an RPT stream to my pc (Ubuntu 12-04 LTS). I'm using vlc from command line as below: cvlc -vvv rtp://address:port --start-time=00 --stop-time=300 --sout file/ts:test.ts but vlc ignores the command --stop-time and…
sioale
  • 77
  • 1
  • 2
  • 10
3
votes
1 answer

Any solution for a video encoder on WP8

Any solution for a video encoder on WP8 ? I have custom camera frames and need to record video from them. But I can't find any video encoder for WP8
Tri Nguyen
  • 480
  • 3
  • 16
3
votes
1 answer

Android encode video with ffmpeg while it is still recording

I want to develop an android aplication which allows me to continuously record a video and upload parts of the video to a server without stopping the recording. It is crucial for the application that I can record up to 60 min without stopping the…
Andreas Pabst
  • 31
  • 1
  • 2
3
votes
1 answer

How to encode a video from a series of snapshots?

I an interfacing with a type of video stream that is about 30fps of video that is mostly static (like a still picture). I only get updates from the stream when there is movement in the video. So if the video is static for 5 minutes, I only get the…
NotDan
  • 31,709
  • 36
  • 116
  • 156
3
votes
1 answer

Images to Video converter in Android

I would like to convert multiple images(frames) to a video(MP4) in an android device. Also, I would like to convert video(MP4) into multiple images(for each frame). I have limited knowledge on FFMPEG, but installing FFMPEG in Android may consume…
3
votes
2 answers

How can I stream very long H.264 videos over HTTP without long startup times? (or: MOOV atom too large)

I want to stream videos of public meetings that are often 10 hours long. Users will generally be starting at some point in the middle of the video and jumping around frequently. H.264 in an MP4 container seems like the current best option for…
michael
  • 1,757
  • 2
  • 12
  • 9
3
votes
0 answers

Is there a good set of ffmpeg presets to target multiple platforms available anywere?

I'm working on a web app that would let users upload a video. The user's video should then be played on apps on a few platforms: web, via flash iOS native player Android phones - hopefully all players, even low-end devices I plan to do the…
Prody
  • 5,182
  • 6
  • 44
  • 62
3
votes
1 answer

MediaElement.js - Best cross-browser filetype/encoding to use?

I've implemented a video player in my website using MediaElement.js. Users can upload videos to the site, and the player allows them to watch the videos in-browser on the site. I've run into issues, however, with different browsers being able to…
dsw88
  • 4,400
  • 8
  • 37
  • 50
3
votes
1 answer

HandBrake; Multiple Inputs

How can I encode and concatenate multiple videos using HandBrake / HandBrakeCLI?? In HandBrakeCLI when I run: HandBrakeCLI -i file1.MPG -i file2.MPG -o out.m4v -O -e x264 -r 23.976 --pfr the output only contains the second file!
Hamed Tabatabaei
  • 695
  • 1
  • 7
  • 16