video-encoding

How to convert a .flv file into .mp4/.ogg format for playing on smartphones with ffmpeg?

Simple like this is not enough: ffmpeg -i input.flv output.mp4 Anyone knows how youtube managed to convert arbitrary video files to the format acceptable by smartphones? ...

Video on Blackberry Smartphones?

What video codecs and file formats does the Curve and Storm support? ...

How to encode and stream a video from an iPhone

I'm capturing CGImageRef frames using UIGetScreenImage() on an iPhone 3GS 3.1.3 and want to stream this over the interwebs in any appropriate, well known format. What video codec libraries are available that would allow me to encode the raw pixel data into a video? (i'm not too familiar with video codecs, but am familiar with network pr...

How to copy compressed streams within and AVI file with VfW

Hi, I'm using VfW for opening an AVI file with multiple (2) internal streams. One of the streams is a compressed video stream. I want to copy a short segment of the stream as-is without re-compressing. I managed to use CreateEditableStream() and EditStreamPaste() to extract and copy the relevant part of the stream, but when I use AVI...

Image sequence to video quality

I have been experimenting with creating a video from a sequence of images. When I use the suggested ffmpeg method: ffmpeg -f image2 -i image%d.jpg video.mpg The video is not really as good as I hoped it would be :/ For example with VDUB, If I export avi from the same image sequence its perfect qulality, however the file size can be ...

Does flash media server 3.5 do any server side video conversion?

I'm building an web app where users can upload video files, formats to be determined, to a flash media server and I'd like to know if flash media server can convert any types of video formats to flv files suitable for streaming back to other users? If anyone has a link to reference materials on the subject it'd be much appreciated. Tha...

iPhone HTTP Streaming .m3u8 and .ts files - how to create using ffmpeg

I'm trying to get apple-validated http media streams using ffmpeg and am getting errors. Here are some error examples: WARNING: Playlist Content-Type is 'application/x-mpegurl', but should be one of 'application/vnd.apple.mpegurl', 'audio/x-mpegurl' or 'audio/mpegurl'. WARNING: 258 samples (88.966 %) do not have timestamps in track 256...

Making Video files Android ready for playback over HTTP

I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video. If we use H.263(video) - AAC LC (Audio) audio-video cod...

Converting videos for iPhone - ffmpeg

Hi folks, I'm using the following command in order to convert .avi video files ffmpeg -i -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 320×240 -vcodec libx264 -b 96k -flags +loop -cmp +chroma -partitions +parti4×4+partp8×8+partb8×8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 ...

Maintain aspect ratio when converting video? - ffmpeg

Hi folks, I'm trying to convert movies from .avi to an iphone readable format wherever I look, people suggest the following options for ffmpeg ffmpeg -s 320x240 -aspect 320:240 [...] This does not bode well for videos with a different aspect ratio! How can I keep the aspect ratio from changing? Is there a way to set the size dy...

Preferred video compression, size and resolution

Hello guys, I'm building a video sharing website for a couple of clients of mine, I've the option of selecting what format, resolution, codecs etc that my clients will use when uploading a video. The website doesn't need HD videos and they will not be seen on a fullscreen mode, I was going to ask them to upload the videos using: as th...

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 ? ...

Saving Movies from AVCaptureVideoDataOutput Video Frames

With the new video features in AVFoundation that are included with iOS4, it is possible to access the raw video frames as they are captured by the camera by using AVCaptureVideoDataOutput. I would like to overlay text and other information on top of these frames, then output them to a movie file which at some point will be saved to the...

What video formats are compatible with the assets library?

What video formats are compatible with the iPhone's assets library? In other words, for what video formats will ALAssetsLibrary's videoAtPathIsCompatibleWithSavedPhotosAlbum return YES? I can't seem to locate any information on this in the iPhone Reference Library. ...

How many video formats would I need? - Web

Hi folks, I'm wondering how many different formats for each video would I need in order to support all major devices? Among the major devices I'm thinking: Android phones + iPhone + iPad. Is it also good practice to encode videos with different bitrates? There is too much conflicting info out there, and I am really confused. Any i...

Parallelization and H.264 (or probably any compression codec)? Why's it so hard?

My limited (and probably wrong?) understanding of video compression is that intra-frames are completely independent. In other words, all the picture data for a intra frame (key frame) is stored in its entirety for that frame. It's the following inter frames (P and B frames in H.264, I think) that depend on the data in other frames to b...

Need help in choosing tool/technology for a golf video authoring software

Hi I am looking to build a application that would aid in analyzing golf swing. I am trying to build it as a learning tool (see skill-set information below). Key requirements (1) Ability to overlay Lines, Circle/Ellipse over the swing Ability to draw a line along the shaft line Ability to draw a line along the Spine Abili...

Does anyone know how I can add webcam into my website for Augment Reality?

Does anyone know how I can add web-cam into my website so all my users can print the AR code and view it on my website? Thanks. ...

File formats for streaming videos in HTML 5 in regular and mobile devices?

I'm putting together a site that will include some instructional videos that will be 1 to 3 minutes long. The users will be accessing these through standard and mobile browsers. I'm particularly concerned with users of i-devices, such as iPhone/iPod Touch/iPad. To deliver the videos, I'm will probably use videojs.com player - it seems l...

Best video codec to encode analog graph information / AVI

I have an application that captures analog measurements several times a second - to give you an idea how it looks like - here is a sample frame (obviously the curve changes as the measurements chage): I need this application to record these frames into an AVI or any other video file that would be playable on windows without a custom c...