Page 1 of 1

"Timebase not supported" error in transcoding.

Posted: 01 Apr 2007 00:42
by Prestwick
Hello there chaps!

I'm using VLC 0.8.6 on Ubuntu 6.10 Server. It also has ffmpeg installed too.

Basically, I am trying to transcode a divx video file to a mpeg-4 video file and mpga audio and then stream via HTTP.

However, I am hitting a major snag as for some reason, VLC can't seem to encode in MPEG-4.

Here is the log file in question -> here.

However, one specific part, where VLC appears to start to try encoding video this happens:
stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`mp4v'
main debug: looking for decoder module: 24 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: looking for encoder module: 8 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG-4 Video
main debug: using encoder module "ffmpeg"
main debug: removing module "ffmpeg"
stream_out_transcode debug: decoder aspect is 785454:432000
stream_out_transcode debug: source pixel aspect is 0.999999:1
stream_out_transcode debug: scaled pixel aspect is 0.999999:1
stream_out_transcode debug: source 640x352, crop 640x352, destination 640x352, padding 640x352
stream_out_transcode debug: encoder aspect is 785454:432000
main debug: looking for encoder module: 8 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg warning: timebase not supported by mpeg 4 standard
(mpeg4@0x81ba4b0)
ffmpeg error: cannot open encoder
stream_out_transcode error: cannot find encoder ((null))
ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped
This has puzzles me as I have ffmpeg and support for MPEG-4 installed. The only clue to my mind is that it complains that timebase is not supported by mpeg 4 standard and that ffmpeg cannot open encoder.

Can anyone help me figure this out?