VideoHelp Forum




Results 1 to 6 of 6
  1. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    I'm trying to convert avi with srt subtitles to DVD format on ffmpegx. I have a mac osx 10.4.1.

    I used the encode AVI to mpeg2enc settings. I also loaded the srt subtitles. Below I have pasted the first and last piece of the Process information. The whole thing would have been too long to paste.
    If anyone has advice it would be appreciated.....thnx
    =============
    Encoding started on Sun Jul 8 17:34:09 EDT 2007
    /Users/hanan/Movies/AzureusDownloads/LOLARENNT/LolaRennt.avi.ff/
    -f 5 -b 2287 -q 3 -B 260 -V 230 -a 2
    -F 3
    ++ WARN: [mpeg2enc] MPEG bitrate must be a multiple of 400 - rounding up
    INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
    INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
    INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
    MPlayer dev-CVS-060307-04:23-4.0.1 (C) MPlayer Team
    FIXME:Hardenabling SSE and SSE2 without detection
    Mac OSX static build for ffmpegX
    CPU: Intel (Family: 6, Stepping: 6)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    get_path('codecs.conf') -> '/Users/hanan/.mplayer/codecs.conf'
    Reading /Users/hanan/.mplayer/codecs.conf: Can't open '/Users/hanan/.mplayer/codecs.conf': No such file or directory
    Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
    codecs.conf.
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    Using Darwin accurate timing
    AVI: invalid audio stream ID: 2 - ignoring (nosound)
    ined.
    get_path('input.conf') -> '/Users/hanan/.mplayer/input.conf'
    Can't open input config file /Users/hanan/.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('LolaRennt.avi.conf') -> '/Users/hanan/.mplayer/LolaRennt.avi.conf'
    Playing /Users/hanan/Movies/AzureusDownloads/LOLARENNT/LolaRennt.avi.
    get_path('sub/') -> '/Users/hanan/.mplayer/sub/'
    [file] File size is bytes


    ============
    wait, encoding to mp2 audio with mp2enc...
    /Applications/ffmpegX.app//Contents/Resources/mencvcdX: line 213: /Users/hanan/Movies/AzureusDownloads/LOLARENNT/LolaRennt.avi.ff//audiodump.wav: No such file or directory
    INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
    **ERROR: [mplex] Unable to open file /Users/hanan/Movies/AzureusDownloads/LOLARENNT/LolaRennt.avi.ff.mpa for reading.

  2. Member
    Join Date
    Jun 2003
    Location
    United States
    Search Comp PM
    I may be way off base but it looks like you have an invisible folder (the "dot"mplayer) in the path. Might want to trash and reinstall ffmpegX.

  3. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Your output from the Intel side looks very different from my PPC output, so comparing logs isn't too helpful. E.g. I'm not seeing the
    INFO: [yuvscaler] ... -lines.

    Originally Posted by hananke
    -f 5 -b 2287 -q 3 -B 260 -V 230 -a 2
    -F 3
    -b 2287: you have set the target video bitrate to 2287, which is quite low for DVD. Leave it at the ffmpegX default of 4000 (or the mpeg2enc default 7500) for better results.
    -a 2: you have left the target aspect ratio at setting 2 (4:3), which isn't optimal for a widescreen movie.
    -F 3: you have the target framerate at setting 3 (25 fps) for PAL, which is unusual for North American users.
    But the conversion itself won't fail over these.
    The bitrate makes me wonder, though, what did you set for target Video size?

    Originally Posted by hananke
    AVI: invalid audio stream ID: 2 - ignoring (nosound)
    Uh-oh
    Originally Posted by hananke
    wait, encoding to mp2 audio with mp2enc...
    /Users/.../.../.../.../foo.avi.ff//audiodump.wav: No such file or directory
    INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
    **ERROR: [mplex] Unable to open file /Users/.../.../.../.../foo.avi.ff.mpa for reading.
    Fatal error: no sound, no muxing, no DVD.

    You may want to try Decode with Quicktime, as that setting uses ffmpeg instead of mp2enc for the audio parts, which may get you different results.

  4. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    Thanks for the feedback.
    Ok, this is what I did. I removed then re-installed ffmpegx. Then I tried again to encode the movie w/subtitles using the default fmpeg settings.
    Here is the first part of the info/process....it goes on and on so I couldn't past it all.
    ===========

    Encoding started on Wed Jul 11 02:26:15 EDT 2007
    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, avi, from '/Users/hanan/Documents/AzureusDownloads/The Children of Heaven (1997)/Children.Of.Heaven.1997.LIMITED.DVDRip.XViD-DDX.avi':
    Duration: 01:27:50.9, start: 0.000000, bitrate: 1114 kb/s
    Stream #0.0, 23.98 fps(r): Video: mpeg4, yuv420p, 544x288
    Stream #0.1: Audio: mp3, 48000 Hz, mono, 32 kb/s
    Output #0, dvd, to '/Users/hanan/Documents/AzureusDownloads/The Children of Heaven (1997)/Children.Of.Heaven.1997.LIMITED.DVDRip.XViD-DDX.avi.ff.mpg':
    Stream #0.0, 23.98 fps(c): Video: mpeg2video, yuv420p, 720x480, q=2-20, 4000 kb/s
    Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    video:2287256kB audio:288250kB global headers:0kB muxing overhead 2.504518%
    bench: utime=2790.293s
    INFO: Locale=C
    INFO: Converting filenames to US-ASCII
    INFO: Detected subtitle file format: subviewer
    INFO: Opened iconv descriptor. *UTF-8* *ISO-8859-2*
    INFO: Read 564 subtitles
    INFO: Unicode font: 242 glyphs.
    STAT: 0:00:25.350
    STAT: 0:00:38.700
    STAT: 0:00:43.600
    STAT: 0:00:48.980
    =================
    By the way, after reinstalling the program I was successful converting another movie (avi and .srt) to dvd. But then this one I still can't convert---although I can view it perfectly on VLC and QT (without the subt).

  5. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    More INFO:
    Below is the bottom part of the info/progress:
    Also I realize that this time I had not waited long enough. Even though the progress bar said 100% complete it really was still encoding to dvd. After i heard the bell noise I looked again in my finder and found an mpg.DVD folder. Inside was an Audio_TS (empty) and a Video_ts (.bup .ifo and .vob files). I tried playing the movie with idvd. The video was good, the subtitles were there but I could barely here the Audio. That's because there was a loud buzzing noise over it.


    ================
    STAT: fixing VOBU at 2492MB (10161/10455, 97%)
    STAT: fixing VOBU at 2496MB (10177/10455, 97%)
    STAT: fixing VOBU at 2501MB (10193/10455, 97%)
    STAT: fixing VOBU at 2507MB (10209/10455, 97%)
    STAT: fixing VOBU at 2513MB (10225/10455, 97%)
    STAT: fixing VOBU at 2519MB (10241/10455, 97%)
    STAT: fixing VOBU at 2524MB (10257/10455, 98%)
    STAT: fixing VOBU at 2529MB (10273/10455, 98%)
    STAT: fixing VOBU at 2535MB (10289/10455, 98%)
    STAT: fixing VOBU at 2539MB (10305/10455, 98%)
    STAT: fixing VOBU at 2544MB (10321/10455, 98%)
    STAT: fixing VOBU at 2549MB (10337/10455, 98%)
    STAT: fixing VOBU at 2553MB (10353/10455, 99%)
    STAT: fixing VOBU at 2557MB (10369/10455, 99%)
    STAT: fixing VOBU at 2560MB (10385/10455, 99%)
    STAT: fixing VOBU at 2565MB (10401/10455, 99%)
    STAT: fixing VOBU at 2571MB (10417/10455, 99%)
    STAT: fixing VOBU at 2576MB (10433/10455, 99%)
    STAT: fixing VOBU at 2578MB (10449/10455, 99%)
    STAT: fixed 10455 VOBUS
    INFO: Scanning /Users/hanan/Documents/AzureusDownloads/The Children of Heaven (1997)/Children.Of.Heaven.1997.LIMITED.DVDRip.XViD-DDX.avi.ff.mpg.DVD/VIDEO_TS/VTS_01_0.IFO
    Wed Jul 11 03:21:28 EDT 2007

  6. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Your source audio is 48kHz 32kb/s MP3; that's going to sound rough. When you play the original file, does it sound much better than the weak, buzzy transcoded result? If so, it may be a reflection of the assumptions made by the various conversion algorithms along the way. It's possible that you're provoking a bug of some sort.

    In any case, converting such poor source audio into high bitrate AC3 is a waste of bits. You may wish to consider converting into, say, moderate bitrate MP2 (say, 128 or 224kb/s). See what happens then.

    But it sounds as if you've conquered the biggest problems, so you're almost home free!




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!