|
Re: MPEG-2 Problems: msg#00272video.ffmpeg.user
On Thu, 2006-02-23 at 17:16 -0600, Brian Brice wrote: > 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. :-) You might want to supply the CONTAINER, which in this case should be vob (mpeg2 program stream). If you don't, mpeg1 systems stream will be used.
ffmpeg-user mailing list ffmpeg-user@xxxxxxxxxxxx http://mplayerhq.hu/mailman/listinfo/ffmpeg-user |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | (no subject): 00272, retroneo |
|---|---|
| Next by Date: | MPEG TS: 00272, Gilad Novik |
| Previous by Thread: | MPEG-2 Problemsi: 00272, Brian Brice |
| Next by Thread: | Re: MPEG-2 Problems: 00272, Brian Brice |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |