Hi, I am a newbie trying to convert some avi files with subtitles into mpeg2 for svcd burning. I followed instructions on the ffmpegx website. It then starts to starts to encode, but then fails once it reaches 100%. I didn't really play around with the settings. i also got a .mpv file, which was not what the insturctions said should result. The resulting video has not sound and the subtitles only last until the middle. Could any of you help and let me know what I am doing wrong? Here is a screen shot of the logfile. I took out some of the middle part.
Encoding started on Tue Jul 12 02:32:56 EDT 2005
/Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.ff/
/Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.ff/: File exists
-f 5 -b 2661 -q 6 -B 260 -V 230 -a 2
INFO: [yuvscaler] yuvscaler (version 1.7.0) is a general scaling utility for yuv frames
-F 1
INFO: [yuvscaler] (C) 2001-2002 Xavier Biquard <xbiquard@free.fr>
INFO: [yuvscaler] yuvscaler -h for help, or man yuvscaler
MPlayer dev-CVS-050123-19:55-3.3 (C) 2000-2005 MPlayer Team
Mac OSX static build for ffmpegX
AltiVec found
CPU: PowerPC
CommandLine: '-noframedrop' '-vo' 'yuv4mpeg' '-ao' 'pcm:waveheader' '-v' '-osdlevel' '0' '/Users/nciyeu/Desktop/VIdeos/SS/SS1.avi' '-aid' '2' '-sid' '1'
get_path('font/font.desc') -> '/Users/nciyeu/.mplayer/font/font.desc'
font: can't open file: /Users/nciyeu/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Unoptimized OnScreenDisplay
Using Darwin accurate timing
Terminal type `unknown' is not defined.
get_path('input.conf') -> '/Users/nciyeu/.mplayer/input.conf'
Can't open input config file /Users/nciyeu/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('SS1.avi.conf') -> '/Users/nciyeu/.mplayer/SS1.avi.conf'
Playing /Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.
[file] File size is 179388416 bytes
STREAM: [file] /Users/nciyeu/Desktop/VIdeos/SS/SS1.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x22D6
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 34269 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 480
==========================
list_end=0x1138
==> Found video stream: 0
====== STREAM Header =====
Type: sdiv FCC: divx (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0 Len: 34269
Suggested BufferSize: 74573
Quality 10000
Sample size: 0
==========================
found 'bih', 108 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 480
biPlanes 1
biBitCount 24
biCompression 1482049860='XVID'
AVI: invalid audio stream ID: 2 - ignoring (nosound)
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x21CA
==> Found audio stream: 1
====== STREAM Header =====
Type: sdua FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 22869504
Suggested BufferSize: 7229
Quality -1
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=256
mp3.fdwFlags=0x4000000
mp3.nBlockSize=32769
mp3.nFramesPerBlock=256
mp3.nCodecDelay=0
===========================
list_end=0x22D6
AVI: dmlh found (size=248) (total_frames=34269)
list_end=0xAA0825E
Found movie at 0x280C - 0xAA0825E
Reading INDEX block, 68528 chunks for 34269 frames (fpos=0x0)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1C4A)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
AVI video size=154829062 (34269) audio size=0 (0)
VIDEO: [XVID] 640x480 24bpp 23.976 fps 866.6 kbps (105.8 kbyte/s)
[V] filefmt:3 fourcc:0x58564944 size:640x480 fps:23.98 ftime:=0.0417
get_path('sub/') -> '/Users/nciyeu/.mplayer/sub/'
get_path('default.sub') -> '/Users/nciyeu/.mplayer/default.sub'
Using (default) progressive frame mode.============================================= =============================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
================================================== ========================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [yuv4mpeg] 640x480 => 640x480 Planar YV12
VO: Description: yuv4mpeg output for mjpegtools
VO: Author: Robert Kesterson <robertk@robertk.com>
INFO: [yuvscaler] SVCD output format requested in NTSC norm
INFO: [yuvscaler] input: frame size: 640x480 pixels (460800 bytes)
INFO: [yuvscaler] input: frame rate: 23975999/1000000 fps (~23.975999)
INFO: [yuvscaler] input: interlace: none/progressive
INFO: [yuvscaler] input: sample aspect ratio: ?
INFO: [yuvscaler] from 640x480, take 640x480+0+0, NOT_INTERLACED/PROGRESSIVE
INFO: [yuvscaler] scale to 640x360, 640x480 being displayed, NOT_INTERLACED/PROGRESSIVE
INFO: [yuvscaler] Scaling uses the RESAMPLE algorithm,
INFO: [yuvscaler] without line switching
INFO: [yuvscaler] without time forwarding
INFO: [yuvscaler] Without luminance correction
INFO: [yuvscaler] Without chrominance correction
INFO: [yuvscaler] black lines: 60 above and 60 under
INFO: [yuvscaler] black columns: 0 left and 0 right
INFO: [yuvscaler] frame rate: 23.976 fps
INFO: [yuvscaler] Scaling ratio for width is 1 to 1
INFO: [yuvscaler] and is 4 to 3 for height
INFO: [yuvscaler] Specific downscaling routing number 7
INFO: [yuvscaler] output: frame size: 640x480 pixels (460800 bytes)
INFO: [yuvscaler] output: frame rate: 23975999/1000000 fps (~23.975999)
INFO: [yuvscaler] output: interlace: none/progressive
INFO: [yuvscaler] output: sample aspect ratio: ?
INFO: [mpeg2enc] Selecting SVCD output profile
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager"
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
G-2 video to /Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.ff.mpv
INFO: [mpeg2enc] Horizontal size: 640 pel
INFO: [mpeg2enc] Vertical size: 480 pel
INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
INFO: [mpeg2enc] Frame rate code: 1 = 24000.0/1001.0 (NTSC 3:2 pulldown converted FILM)
INFO: [mpeg2enc] Bitrate: 2661 KBit/s
INFO: [mpeg2enc] Quality factor: 6 (Quantisation = 6) (1=best, 31=worst)
INFO: [mpeg2enc] Field order for input: none/progressive
INFO: [mpeg2enc] New Sequence every 9999 Mbytes
INFO: [mpeg2enc] Assuming non-video stream of 260 Kbps
INFO: [mpeg2enc] Search radius: 16
INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15
INFO: [mpeg2enc] Setting colour/gamma parameters to "unspecified"
INFO: [mpeg2enc] Progressive format frames = 0
INFO: [mpeg2enc] Using default unmodified quantization matrices
INFO: [mpeg2enc] Buffering 39 frames
INFO: [mpeg2enc] SETTING AltiVec for QUANTIZER!
INFO: [mpeg2enc] SETTING AltiVec for MOTION!
INFO: [mpeg2enc] SETTING AltiVec for TRANSFORM!
INFO: [mpeg2enc] SETTING AltiVec for PREDICTION!
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
% 0.0% 0 0
quant=6.00 total act= 21400.5
3 12% 255% 0.0% 0 0
V:1000.0 23976/23976 10% 261% 0.0% 0 0
V:1000.0 23977/23977 10% 261% 0.0% 0 0 (skipped the rest.....)
(then .....)
V:1429.3 34269/34269 10% 251% 0.0% 0 0
ds_fill_buffer: EOF reached (stream: video)
V:1429.3 34269/34269 10% 251% 0.0% 0 0
EOF code: 1
uninit video: ffmpeg
Exiting... (End of file)
INFO: [yuvscaler] End of stream!
INFO: [yuvscaler] Normal exit: end of stream with frame number 34270!
INFO: [mpeg2enc] Guesstimated final muxed size = 410923175
wait, encoding to mp2 audio with mp2enc...
/Applications/ffmpegX.app//Contents/Resources/mencvcdX: line 213: /Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.ff//audiodump.wav: No such file or directory
INFO: [mplex] mplex version 2.2.2 ($Date: 2003/05/13 20:27:15 $)
INFO: [mplex] File /Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.ff.mpv looks like an MPEG Video stream.
**ERROR: [mplex] Unable to open file /Users/nciyeu/Desktop/VIdeos/SS/SS1.avi.ff.mpa for reading
Results 1 to 5 of 5
-
-
The video size of 640x480 that you used is wrong. NTSC SVCD is always 480x480. Try again and if you get again the same error, keep the .mpv file, then convert your AVI to audio only by using the 'movie audio to mp2' preset, finally combine the mpv and mp2 files by using the "Mux as.. SVCD" tool.
-
Thanks for the heads up. i did what you said and i produced ,mpg file. I use roxio toast 6 for burning, and it wouldn't allow me to burn the file because it wad bigger than the disc. i also couldn't use the edit function to specify a time sequence. Is there an easy way to split the file at this point, or should I split the video and audio files in the beginning and then mux them separately? Thanks for the help
-
It is around 2.7 GB. I did use the SVCD setting. I tried using the VCD setting, but it also didn't alow me to choose the trim the movie.
To recap the steps I did before:
1. avi and srt file encoded to mpeg (it did not encode properly), giving me only mpv
2. avi audio encoded into mp2 separately
3. muxed both files as svcd
4. Cannot burn the resulting mpg file because it is too big
Thanks
Similar Threads
-
Encoding .Avi to Svcd?
By mrjust in forum Newbie / General discussionsReplies: 4Last Post: 16th Jan 2011, 13:40 -
.rm to .avi problems
By xNovaXx in forum ffmpegX general discussionReplies: 2Last Post: 21st Feb 2010, 19:54 -
Problems Converting AVI to SVCD
By wiseguy109 in forum Video ConversionReplies: 3Last Post: 6th Oct 2007, 14:17 -
avi to vcd/svcd
By neynme in forum DVD RippingReplies: 7Last Post: 26th Aug 2007, 20:25 -
I have converted avi to vcd and svcd im looking to convert avi to dvd
By dbztoolkit in forum Newbie / General discussionsReplies: 1Last Post: 11th Jun 2007, 12:14