h.264

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

iPhone "cannot play" .mp4 H.264 video file

Hi folks, I'm trying to setup a simply mobile page for a client with a link to an .mp4 video file. Lke so: <a href="My_Video_File.mp4" target="_blank">Watch MP4 Video</a> And then I've obviously got my video file sourced properly and the .mp4 has the following characteristics: Dimension: 480 * 272 Codecs: AAC, H.264, MPEG-4 SDSM, MP...

Can Tao.FFmpeg use H264 for video encoding?

Can Tao.FFmpeg use H264 for video encoding? (what shall be done to enable it?) So I can encode video into MPeEG2 but how to encode into h264? ...

Flash video streaming - getting my toes wet

I'm working on a project that will involve having a couple thousand short videos online. I haven't done anything with online video before and this is all a bit new to me, so I am looking for some general advice... I would like to use Flowplayer, and I would like to encode the videos as H264s. I am enamoured with Flowplayer's slow moti...

H.264 Video over MPEG-2 TS -- how to be sure my test data is "good"?

So I'm trying to build some code that uses the FFMPEG libraries to read and display video packaged in an MPEG-2 Transport Stream encoded with H.264. I often find myself with intermittent problems playing the video. However, I don't really know how to ensure that the source video is in fact free of problems. Does anyone know where one ...

Streaming h264 encoded frame over vlc

Hello , I have integrated a TI lib for .h264 encoding on davinci board with processor dm6446 I could verify the encoded bit stream when saved on hdd and using Elecard stream analyser. But i could not stream it over rtsp and view in vlc player. the vlc player would switch to tcp /ip and then stop showing message as nothing to play. On fu...

MP4 file seeking problem from direct URL

I'm running Silverlight 4, and player is the one came with Expression 3 templates to play a file directly from URL i.e. http://mysite.com/video1.mp4. The file is encoded using Expression Encoder 3 by applying a preset from h.264 under 'Encoding for Silverlight'. The very first problem I encountered was that video doesn't play until it d...

Problem to Decode H264 video over RTP with ffmpeg (libavcodec)

I set profile_idc, level_idc, extradata et extradata_size of AvCodecContext with the profile-level-id et sprop-parameter-set of the SDP. I separate the decoding of Coded Slice, SPS, PPS and NAL_IDR_SLICE packet : Init: uint8_t start_sequence[]= {0, 0, 1}; int size= recv(id_de_la_socket,(char*) rtpReceive,65535,0); Coded Slice : cha...

MP4 container writer in Java

I would like to find a FREE MP4 (container) writer for Java. I do not need an encoder, only something which can write the correct atoms given their expected values. Bonus for such a library that also can write "valid" F4V. I would prefer a pure Java solution rather than something using JNI or external executables. ...

GPU or hardware-based h.264 encoder with API?

We'd like to stream h.264 video to a browser based on frames generated on the server. The frames would be synthetic, i.e. not coming from another "real movie", mpeg, etc. We'd be generating them separately as part of a simulation, potentially using OpenGL/DirectX to render individual frames. In my naive approximation, we'd have a bitmap ...

How to create videos with transparency/alpha-channel

What is the best way to create a video with an alpha channel, suitable for flex/flash? Does it need to be FLV, or can it be MP4/MOV as well? ...

Corruption when reading an H264 encoded video file in Matlab on MacOSX

I am attempting to read an H264 AVI file on OSX with Matlab, but it appears that the video is corrupted. When I display the frame it appears that the image is segmented by vertical grey lines and I can see a segmented and faded version of the actual image data repeated 3 times within the same frame. On my windows box I am able to read in...

ffmpeg vstats problems, Missing frames and misleading information!

The Problem I have is when using ffmpeg to encode a YUV using libx264 I don't get all the frame information in -vstats output. It raises the question of how reliable ffmpeg is, and therefore can any 'codec benchmark' review based on ffmpeg be trusted? I am analysing codec's to determine how they perform. I am using ffmpeg and its -vstat...

FFmpeg Encoding(cli example) for Wowza Workflow and Source Formats

Hi, I have looked quite a bit for some guidance on this topic, but here is my question (several parts)... What is the best workflow, utilizing ffmpeg, to encode video for video-on-demand streaming for Wowza Media server? More specifically... Part 1: I have source videos of approx. 2 minutes each, that are 720p. I would like these to...

Streamming a h.264 coded video over UDP

Hi there, I don't know too much about h.264, but the thing is that I've got this video in h.264 in a mp4 container which I would like to stream over UDP. My question is simple, is there any tweaks I can maybe do while coding the video so that it comes out fairly tolerant to some "light" packet loss? I know that compressed video usually...

How to play MPEG4 Visual with HTML5 <video>?

I currently use this to play AVC (H.264 or MPEG-4 Part 10) videos. <video controls preload> <source src="xyz.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> </video> However, that doesn't work for MP4V (MPEG-4 Visual or MPEG-4 Part 2) videos. I tried codecs="mp4v.20.8, mp4a.40.2" but that doesn't seem to work either. Does a...

Saving H.264 RTP stream without re-encoding ?

My C++ application receives a H.264 RTP video stream. Right now it decodes the stream, saves it into a YUV file and later I use ffmpeg to re-ecode the file into something suitable to watch on a Windows PC (eg. Mpeg4 AVI). Shouldn't it be possible to save the H.264 stream into a AVI (or similar) container without having to decode and re...

Trying to upload large mp4 to amazon s3. All other files work, but the ones im uploading.

Hello all, I have built an s3 uploader to select a file and upload it via amazon's s3 class. I have it working and it uploads all other media except for these particular mp4 files that im am building this for. I have even tested it with larger sized files. It only seems to be these mp4 files. File: MP4 AVC/H.264 1280x764 (60M average ...

ffmpeg conversion command to output to h.264 for iPad

I'm looking for a good (general) conversion command that will convert any input file to h.264 sized for the iPad. Currently I have this command that works, that was adapted from robert.swain With presets: /Applications/Miro.app/Contents/Helpers/ffmpeg -i INPUT -acodec aac -ab 160000 -s 1024x768 -vcodec libx264 -vpre slow -vpre ipod64...

Quicktime QTKit takes a lot of CPU power. Is there any flag or solution to make it realtime capable?

I use QTKit with a QTCaptureMovieFileOutput to capture my iSight Cam. Below you see a short excerpt of the code, which sets the compression options: while ((connection = [connectionEnumerator nextObject])) { NSString *mediaType = [connection mediaType]; QTCompressionOptions *compressionOptions = nil; if ([mediaTy...