logo       

MPEG-2 Problems: msg#00270

video.ffmpeg.user

Subject: MPEG-2 Problems

Greetings,
I've been testing some code for outputting MPEG-2 videos and I've been having some problems. First I checked what was wrong with my code, then tried to verify things with the main ffmpeg program. It seems the program does the same. The problem that I'm getting is that the MPEG-2 video format that ffmpeg outputs doesn't seem to be correct. In all of the players I've tested with, the duration time of the video is WAY off (such as really huge or even a negative number), and others can't even play it. Here's a sample invocation of ffmpeg that I've used:

ffmpeg -i ffmpeg-sample.mpg test.m2v

The "ffmpeg-sample.mpg" is the file produced by the output_example program, but the problem persists with any kind of input video. I did try converting the file with:

ffmpeg -i ffmpeg-sample.mpg -vcodec mpeg2video test.mpg

This used the mpeg output format and mpeg2video codec, which the regular mpeg output format seems to be for MPEG-1.

Anyone else experience this? Any solutions? Is the mpeg2video output format "complete" or what? Thanks in advance. :-)

--
Brian Brice
In order to know recursion, you must first know recursion...


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise