VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    I have an .avi file (695MB) that I wanted to add subtitles .srt (80KB) and burn to DVD.
    I really don't care if subtitles are selectable or hard encoded. I usually use Popcorn but it doesn't do subtitles.

    1. Added .avi
    2. Set to DVD ffmpeg
    3. Added .srt under filters
    4. Checked preview (under filters tab) looked good
    5. Encode
    6. Finished

    What I ended up with was;

    A. TDBATB.avi.ff.mpg - size 2.98GB
    B. TDBATB. avi.ff.mpg.s.mpg - size 663.3MB
    C. TDBATB.avi.ff.mpg.xml - size 4KB (I assume this is the log)

    I ran out of disc space because the files were so large - but I couldn't have burned them to DVD anyway.
    So what did I do wrong?

    (I edited the log because it was so big)

    Encoding started on Sat Oct 17 19:05:46 MST 2009
    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 '/Volumes/OWC Mercury Elite/0 Seen/TDBATB.avi':
    Duration: 01:47:14.8, start: 0.000000, bitrate: 906 kb/s
    Stream #0.0, 25.00 fps(r): Video: mpeg4, yuv420p, 640x336
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s
    Output #0, dvd, to '/Volumes/OWC Mercury Elite/0 Seen/TDBATB.avi.ff.mpg':
    Stream #0.0, 25.00 fps(c): Video: mpeg2video, yuv420p, 720x576, q=2-20, pass 1, 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:2688598kB audio:351874kB global headers:0kB muxing overhead 2.603145%
    bench: utime=7637.469s
    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 '/Volumes/OWC Mercury Elite/0 Seen/DBATB.avi':
    Duration: 01:47:14.8, start: 0.000000, bitrate: 906 kb/s
    Stream #0.0, 25.00 fps(r): Video: mpeg4, yuv420p, 640x336
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s
    Output #0, dvd, to '/Volumes/OWC Mercury Elite/0 Seen/TDBATB.avi.ff.mpg':
    Stream #0.0, 25.00 fps(c): Video: mpeg2video, yuv420p, 720x576, q=2-20, pass 2, 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
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [dvd @ 0x4701fc]buffer underflow
    [mpeg2video @ 0x45a630]rc buffer underflow

    (edited)

    video:2694681kB audio:351874kB global headers:0kB muxing overhead 2.600200%
    bench: utime=7612.918s
    INFO: Locale=C
    INFO: Converting filenames to US-ASCII
    INFO: Detected subtitle file format: subviewer
    INFO: Opened iconv descriptor. *UTF-8* *ISO-8859-1*
    INFO: Read 1052 subtitles
    INFO: Adjusted 65 subtitle(s).
    INFO: Unicode font: 242 glyphs.
    STAT: 0:00:29.940
    STAT: 0:02:15.120
    STAT: 0:02:18.480
    STAT: 0:02:20.560
    STAT: 0:02:25.200
    STAT: 0:02:28.920
    STAT: 0:02:33.080
    STAT: 0:02:38.280
    STAT: 0:02:43.240
    STAT: 0:02:45.920
    STAT: 0:02:51.000
    STAT: 0:02:53.560
    STAT: 0:03:03.880
    STAT: 0:03:06.920
    STAT: 0:03:12.000
    STAT: 0:03:17.240
    STAT: 0:03:20.560
    STAT: 0:03:25.080
    STAT: 0:03:27.360
    STAT: 0:03:36.240
    STAT: 0:03:42.080
    STAT: 0:03:46.320
    STAT: 0:03:49.840
    STAT: 0:03:52.400
    STAT: 0:03:54.320
    STAT: 0:03:57.520
    STAT: 0:04:02.560
    STAT: 0:04:05.400
    STAT: 0:04:06.100
    STAT: 0:04:09.520
    STAT: 0:04:12.320
    STAT: 0:04:15.840
    STAT: 0:04:23.880
    STAT: 0:04:33.880
    STAT: 0:04:37.560
    STAT: 0:04:41.600
    STAT: 0:04:43.730
    STAT: 0:04:45.360
    STAT: 0:04:46.390
    STAT: 0:04:49.160
    STAT: 0:04:50.440
    STAT: 0:04:55.880
    STAT: 0:05:02.040
    STAT: 0:05:04.520
    STAT: 0:05:09.200
    STAT: 0:05:14.000
    STAT: 0:05:17.360
    STAT: 0:05:21.720
    STAT: 0:05:23.680
    STAT: 0:05:27.760
    STAT: 0:05:30.720
    STAT: 0:05:33.560
    STAT: 0:05:36.040
    STAT: 0:05:40.000
    STAT: 0:05:44.360
    STAT: 0:05:47.680
    STAT: 0:05:50.000
    STAT: 0:06:03.440
    STAT: 0:06:07.560
    STAT: 0:06:24.480
    STAT: 0:06:39.120
    STAT: 0:06:44.440
    STAT: 0:06:56.640
    STAT: 0:07:01.200
    STAT: 0:07:29.800
    STAT: 0:07:32.280
    STAT: 0:07:35.960
    STAT: 0:07:39.080
    STAT: 0:07:42.560
    STAT: 0:07:44.200
    STAT: 0:07:50.360
    STAT: 0:07:57.320
    STAT: 0:08:03.360
    STAT: 0:08:06.240
    STAT: 0:08:12.200
    STAT: 0:08:15.360
    STAT: 0:08:18.220
    STAT: 0:08:20.600
    STAT: 0:08:27.280
    STAT: 0:08:29.600
    STAT: 0:08:32.280
    STAT: 0:08:37.840
    STAT: 0:08:44.160
    STAT: 0:08:50.760
    STAT: 0:08:56.200
    STAT: 0:09:00.560
    STAT: 0:09:02.100
    STAT: 0:09:06.640
    STAT: 0:09:12.200
    STAT: 0:09:15.120
    STAT: 0:09:17.680
    STAT: 0:09:20.520
    STAT: 0:09:26.200
    STAT: 0:09:29.200
    STAT: 0:09:29.790
    STAT: 0:09:32.640
    STAT: 0:09:35.840
    STAT: 0:09:39.720
    STAT: 0:09:45.080
    STAT: 0:09:49.400
    STAT: 0:09:53.960
    STAT: 0:09:57.200
    STAT: 0:09:58.100
    STAT: 0:09:59.880
    STAT: 0:10:01.350
    STAT: 0:10:06.440
    STAT: 0:10:10.480
    STAT: 0:10:12.230
    STAT: 0:10:15.080
    STAT: 0:10:19.010
    STAT: 0:10:19.880
    STAT: 0:10:25.120
    STAT: 0:10:26.730
    STAT: 0:10:30.240
    STAT: 0:10:32.080
    STAT: 0:10:34.880
    STAT: 0:10:36.120
    STAT: 0:11:29.720
    STAT: 0:11:38.480
    STAT: 0:11:39.990
    STAT: 0:11:41.280
    STAT: 0:11:45.720
    STAT: 0:11:50.240
    STAT: 0:11:53.150
    STAT: 0:11:55.000
    STAT: 0:11:56.320
    STAT: 0:12:00.560
    STAT: 0:12:02.720
    STAT: 0:12:06.480
    STAT: 0:12:10.040
    STAT: 0:12:10.740
    STAT: 0:12:12.640
    STAT: 0:12:17.720
    STAT: 0:12:19.890
    STAT: 0:12:20.760
    STAT: 0:12:25.040
    STAT: 0:12:30.800
    STAT: 0:12:41.760
    STAT: 0:12:44.760
    STAT: 0:12:48.400
    STAT: 0:12:54.880
    STAT: 0:13:00.920
    STAT: 0:13:02.440
    STAT: 0:13:05.540
    STAT: 0:13:10.040
    STAT: 0:13:12.400
    STAT: 0:13:16.800
    STAT: 0:13:21.480
    STAT: 0:13:23.480
    STAT: 0:13:25.590
    STAT: 0:13:29.400
    STAT: 0:13:31.640
    STAT: 0:13:33.240
    STAT: 0:13:35.840
    STAT: 0:13:39.760
    STAT: 0:13:43.120
    STAT: 0:13:47.160
    STAT: 0:14:24.440
    STAT: 0:14:26.360
    STAT: 0:14:28.440
    STAT: 0:14:33.520
    STAT: 0:14:34.490
    STAT: 0:14:37.280
    STAT: 0:14:41.160
    STAT: 0:14:46.600
    STAT: 0:14:48.440
    STAT: 0:14:52.680
    STAT: 0:14:54.440
    STAT: 0:14:55.420
    STAT: 0:14:57.080
    STAT: 0:14:59.110
    STAT: 0:15:00.160
    STAT: 0:15:01.600
    STAT: 0:15:04.600
    STAT: 0:15:10.720
    STAT: 0:15:14.560
    STAT: 0:15:25.200
    STAT: 0:15:27.120
    STAT: 0:15:31.080
    STAT: 0:15:35.560
    STAT: 0:15:45.120
    STAT: 0:15:49.160
    STAT: 0:16:17.280
    STAT: 0:16:24.880
    STAT: 0:16:27.560
    STAT: 0:16:33.040
    STAT: 0:16:37.400
    STAT: 0:16:39.760
    STAT: 0:16:42.880
    STAT: 0:16:44.640
    STAT: 0:16:49.720
    STAT: 0:16:52.640
    STAT: 0:16:55.120
    STAT: 0:16:57.400
    STAT: 0:17:11.920
    STAT: 0:17:16.960
    STAT: 0:17:22.640
    STAT: 0:17:25.840
    STAT: 0:17:42.440
    STAT: 0:17:51.400
    STAT: 0:17:55.800
    STAT: 0:18:00.200
    STAT: 0:18:03.090
    STAT: 0:18:07.360
    STAT: 0:18:11.320
    STAT: 0:18:15.480
    STAT: 0:18:17.040
    STAT: 0:18:23.200
    STAT: 0:18:27.320
    STAT: 0:18:30.600
    STAT: 0:18:54.200
    STAT: 0:18:59.520
    STAT: 0:19:04.760
    STAT: 0:19:07.760
    STAT: 0:19:10.760
    STAT: 0:19:14.800
    STAT: 0:19:21.480
    STAT: 0:19:25.120
    STAT: 0:19:34.800
    STAT: 0:19:39.800
    STAT: 0:19:42.920
    STAT: 0:20:06.440
    STAT: 0:20:15.440
    STAT: 0:20:20.000
    STAT: 0:20:31.880
    STAT: 0:20:41.000
    STAT: 0:20:46.440
    STAT: 0:20:49.080
    STAT: 0:20:53.680
    STAT: 0:20:56.520
    STAT: 0:20:59.680
    STAT: 0:21:05.640
    STAT: 0:21:11.920
    STAT: 0:21:17.760
    STAT: 0:21:19.440
    STAT: 0:21:23.200
    STAT: 0:21:26.840
    STAT: 0:21:30.130
    STAT: 0:21:32.240
    STAT: 0:21:38.640
    STAT: 0:21:45.920
    STAT: 0:21:49.240
    STAT: 0:21:51.640
    STAT: 0:21:52.410
    STAT: 0:21:53.800
    STAT: 0:21:59.320
    STAT: 0:22:03.880
    STAT: 0:22:07.120
    STAT: 0:22:12.120
    STAT: 0:22:15.280
    STAT: 0:22:19.320
    STAT: 0:22:22.240
    STAT: 0:22:25.640
    STAT: 0:22:27.430
    STAT: 0:22:29.720
    STAT: 0:22:33.560
    STAT: 0:22:38.080
    STAT: 0:22:39.370
    STAT: 0:22:42.640
    STAT: 0:22:44.440
    STAT: 0:22:45.640
    STAT: 0:22:48.040
    STAT: 0:22:49.950
    STAT: 0:22:51.400
    STAT: 0:22:54.300
    STAT: 0:22:55.320
    STAT: 0:22:57.400
    STAT: 0:22:59.680
    STAT: 0:23:04.840
    STAT: 0:23:15.520
    STAT: 0:23:18.440
    STAT: 0:23:24.480
    STAT: 0:23:29.320
    STAT: 0:23:30.010
    STAT: 0:23:33.160
    STAT: 0:23:35.160
    STAT: 0:23:38.840
    STAT: 0:23:40.920
    STAT: 0:23:42.360
    STAT: 0:23:43.280
    STAT: 0:23:44.560
    STAT: 0:23:45.150
    STAT: 0:23:51.240
    STAT: 0:23:55.120
    STAT: 0:23:57.520
    STAT: 0:24:04.680
    STAT: 0:24:30.880
    STAT: 0:24:35.640
    STAT: 0:24:38.640
    STAT: 0:24:41.880
    STAT: 0:24:45.000
    STAT: 0:24:49.920
    STAT: 0:24:55.360
    STAT: 0:24:59.080
    STAT: 0:25:01.600
    STAT: 0:25:06.120
    STAT: 0:25:09.360
    STAT: 0:25:12.120
    STAT: 0:25:18.720
    STAT: 0:25:22.040
    STAT: 0:25:24.320
    STAT: 0:25:25.510
    STAT: 0:25:26.600
    STAT: 0:25:28.720
    STAT: 0:25:29.960
    STAT: 0:25:33.520
    STAT: 0:25:36.240
    STAT: 0:25:36.960
    STAT: 0:25:38.480
    STAT: 0:25:41.720
    STAT: 0:25:46.840
    STAT: 0:25:56.680
    STAT: 0:26:07.320
    STAT: 0:26:08.430
    STAT: 0:26:11.440
    STAT: 0:26:14.600
    STAT: 0:26:16.040
    STAT: 0:26:22.560
    STAT: 0:26:23.610
    STAT: 0:26:25.200
    STAT: 0:26:27.440
    STAT: 0:26:29.920
    STAT: 0:26:32.040
    STAT: 0:26:36.280
    STAT: 0:26:38.610
    STAT: 0:26:44.720
    STAT: 0:26:51.800
    STAT: 0:26:53.900
    STAT: 0:26:55.640
    STAT: 0:26:57.680
    STAT: 0:27:02.720
    STAT: 0:27:15.080
    ERR: Write error No space left on device
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    What ffmpegX does when converting an AVI to DVD:
    1. Convert video to MPEG-2 at Standard Definition frame size. For most AVIs, this means upscaling. Also, XviD video is much more compressed than DVD (about 4x: ~1000 kbps vs. ~4000 kbps).
    2. Convert the audio to AC3 (aka Dolby Digital). Again the converted material will be bigger than the original.
    3. Mux these two streams to one .mpg file (and delete the intermediate files, if configured that way).
    4. Convert the .srt file to DVD-compatible subtitle stream (in MPEG-2 format). The converted material will be much bigger than the original, as subtitles will now be pictures instead of text.
    5. Create an XML file with instructions for authoring (making the DVD structure).
    6. Author a DVD folder, according to the XML file. This output will be about as large as the parts combined (little overhead).

    You'll need lots of free disk space. At least 8 GB for the files alone, and then some which apps and the system use temporarily. Better be safe and have 3 DVDs worth of free disk space (3 x 4.4 = 13.2 GB). For file fragmentation reasons and a generally happy System, experts claim that it is good to keep at least 10% of your boot disk free!
    Quote Quote  
  3. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    For best results, it is good to know the framerate of your source file, and the desired framerate of the target format. ffmpegX defaults to keeping these two the same, which may or may not suit your needs. Many North American DVD players will not play PAL DVD discs, and some that do play PAL discs, will send a PAL signal to the tv, and the tv likely will only work with NTSC signals. However, some DVD players will convert the signal on the fly.

    - Is your source AVI 25 fps (PAL), 23.976 fps (NTSC Film) or 29.97 fps (NTSC)?
    - Do you want/need an NTSC DVD disc?

    The answers would determine what settings to use in ffmpegX for DVD conversions.
    Quote Quote  
  4. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    (update)

    The source is 30 fps, 640x336, MPEG layer 3 and I need NTSC for a stand alone dvd player to watch on a small std definition tv (old).

    Thx again for your help.
    Quote Quote  
  5. You ran out of disk space. You got as far as converting the AVI to DVD-ready mpg, then the mux process began and ran out of space before ready-to-author VOB files were created. You need more disk space if you want the process to complete successfully.
    Quote Quote  
  6. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by du2vye
    The source is 30 fps, 640x336, MPEG layer 3 and I need NTSC for a stand alone dvd player.
    Load the source file. Set the target preset. In the Video tab, make sure the framerate is set to "NTSC (29.97)". Set the Autosize to "DVD 16:9" to create an anamorphic widescreen DVD. (Screengrab) In the audio tab, you may optionally set Channels to "Stereo" and lower the bitrate (from 448 to 224), as the source file is stereo and won't need the full 448 kbps and can't fill the 6 discrete channels. In the Filters tab, load the .srt file. Encode.
    Quote Quote  
  7. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I changed the topic subject so it better describes your topic.
    Quote Quote  
  8. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    Wow. Thx. This has been a really helpful thread. I never knew what the software had to do before. That's good to know about the audio. But now I have a few of more questions;

    Is there a reason for changing to a widescreen when I have an old std tv? Or is that just matching the original file (fine too)?

    Why is it that programs like Popcorn can burn movies without taking up more than 4.5 GB, but ffmpegX needs to take up so much more space? Is that due to adding subtitles alone (txt to image)?

    All I want to do is watch a movies on tv from the couch - not so simple, I guess.
    Quote Quote  
  9. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by du2vye
    Is there a reason for changing to a widescreen when I have an old std tv? Or is that just matching the original file (fine too)?
    1. Standard definition can be either 4:3 or 16:9. There were widescreen tvs before HDTV.
    2. An anamorphic widescreen DVD can be played on either 4:3 or 16:9, but has more picture information to use on 16:9, and will look sharper there (contains 33% more resolution).
    3. An anamorphic widescreen DVD has more picture information to use on computer monitors, and will look sharper.
    You simply get more/better playback options with widescreen, with the same amount of effort, if the source file is wider than 4:3. If you only watch it on a 4:3 tv, then the difference won't be apparent.

    Originally Posted by du2vye
    Why is it that programs like Popcorn can burn movies without taking up more than 4.5 GB?
    Not sure, but I think it it does some steps in one go that ffmpegX does in two steps, and perhaps it does authoring in memory/on the fly.

    Originally Posted by du2vye
    All I want to do is watch a movies on tv from the couch - not so simple, I guess.
    Consider a player that supports (DivX/XviD) AVIs. No encoding needed at all.
    Quote Quote  



Similar Threads

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