mpeg

How can I reverse engineer a DirectShow graph?

I have a DirectShow graph to render MPEG2/4 movies from a network stream. When I assemble the graph by connecting the pins manually it doesn't render. But when I call Render on the GraphBuilder it renders fine. Obviously there is some setup step that I'm not performing on some filter in the graph that GraphBuilder is performing. Is t...

How to programatically create videos ?

Is there a freely available library to create a MPEG (or any other simple video format) out of an image sequence ? It must run on Linux too, and ideally have Python bindings. ...

Can the ffmpeg av libs return an accurate PTS?

I'm working with an mpeg stream that uses a IBBP... GOP sequence. The (DTS,PTS) values returned for the first 4 AVPackets are as follows: I=(0,3) B=(1,1) B=(2,2) P=(3,6) The PTS on the I frame looks like it is legit, but then the PTS on the B frames cannot be right, since the B frames shouldn't be displayed before the I frame as their P...

convert jpeg file to mpeg still frame format

Anyone know how to convert a jpeg image to mpeg still frame format? I'd love to do it in java but a linux command line process would be ok. (I saw something on code project that does this for c sharp). ...

Frame accurate synchronizing of subtitle files with MPEG video using DirectShow

This is a problem I have been dealing with for a while, and haven't been able to get a good answer (even from Microsoft). I'm using the generic dump filter to write hardware compressed MPEG files out to disk. In the graph, I also have a SampleGrabber filter that gets called on every frame. From the SampleGrabber callback, I get a subt...

Programmatically transcode MPEG-2 videos

I need to be able to programmatically transcode mpeg-2 files to .mp4, .mp3, .wmv, .rm (optional), and .flv (optional), and hopefully generate a thumbnail as well. I found the Java Media Framework, but it frankly looks pretty crappy. This will be running a Linux server, so I could shell out to ffmpeg using Commons Exec - does ffmpeg do ev...

MPEG file not loading entirely the first viewing

I've got several MPEG files that I'm using on my site. The first time the user clicks on the link, it will open up and play about 3/4 of the video, while the second time it will play entirely. Was thinking it might be a proxy issue, but it is happening in both dev and prod. Any ideas? ...

mpeg 2 decoding

I want to understand how video and audio decoding works, specially the timing synchronization (how to get 30fps video, how to couple that with audio, etc.). I don't want to know ALL the details, just the essence of it. I want to be able to write a high level simplification of an actual video/audio decoder. Could you provide pointers to ...

How does MPEG4 compression work?

Can anyone explain in a simple clear way how MPEG4 works to compress data. I'm mostly interested in video. I know there are different standards or parts to it. I'm just looking for the predominant overall compression method, if there is one with MPEG4. ...

How can I create a thumbnail from an mpg video with C#?

I'd like to process a directory of mpg's in a batch to have a thumbnail using C#/.NET. Does anyone have any good suggestions on how I could do this? ...

How to receive MPEG-TS multicast from Windows

We currently have a system with live video encoded to an MPEG-TS multicast stream, being received by televisions with STBs. In addition to televisions we'd like to embed the video in our Windows application. I know that VLC will receive the stream, but would prefer both a solution that I can embed in an existing application without play...

How might I write a Flash app to play snippets from larger videos?

I want to write a Flash applet(or any other possible app) to embed in my website that will play part of a video (for example: from the 0:20 to 0:40). The video is in MPEG format. I'm new to Flash - any suggestions on how to get started on this? ...

What bitrate can I expect with MPEG?

What bit-rate (approximately) can I expect MPEG encoders to produce for 160x120 "ok-quality" webcam stream? How much CPU-demanding will the encoding be? The decoding? Are there any better encoding formats for that purpose? (In terms of bit-rate or CPU) ...

Opencv MPEG7 descriptors

Hi all! I am working on the system that compares images. MPEG-7 standard provides some descriptors which can be used for that e.g: Dominant Color, Color Layout, Edge Histogramm, Color Coherence Vectors. Do you know where i can get a source code for some of these methods? Thx! ...

Multiple audio streams in a MPEG-4 file

The MPEG-4 file format allows multiple streams to be present in a file. This is useful for videos containing audio in multiple languages. In the case of such a video, the audio streams are synchronized to the video. Is it possible to create a MPEG-4 file the contains desynchronized audio streams, i.e. the audio track are played on afte...

How to play live stream MPEG4 in silverlight 3

Hi All, I have a MPEG4 stream from a camera. I want to play that stream using silverlight media player. Please help me to achieve this. ...

PHPMotion - Do I need ffmpeg etc if I just upload in .flv?

My shared host won't let me install ffmpeg and some similar libraries, will it work if I just upload in flv? ...

Concatenation of files using ffmpeg does not work as I expected. Why?

I execute the following command line for ffmpeg.exe -i C:\Beema\video-source\DO_U_BEEMA176x144short.avi -i C:\Beema\video-source\DO_U_BEEMA176x144short.avi -i C:\Beema\temp\9016730-51056331-stitcheds.avi -i C:\Beema\video-source\GOTTA_BEEMA176x144short.avi -y -ac 1 -r 24 -b 25K C:\Beema\video-out\9a062fb6-d448...

parse userdata field of all key frames of MPEG header from rtp video stream using GStreamer

How to parse MPEG stream using GStreamer..? I need to process all userdata field of only key frames(not P-Frames) of MPEG stream. MPEG stream is coming through rtp protocol. I am able to display the video using GStreamer pipeline, but, my final requirement is to parse userdata field of all key frames and overlay that info into the displ...

MPEG to AVI library

Hi, I am searching for a library that can convert MPEG to AVI. Is there a good one for this purpose? Thanks in advance. (My program is written in VC++, Thanks) (I am using DirectShow.But I don't know how to use it to convert MPEG to AVI ? I know how to build graph and render video that already has an appropriate codec) ...