VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. I am preparing a DVD with several 10-minute videos in mp4 (produced from Final Cut Pro or Adobe Premiere), 1920x1080. I am using iDVD version 7.1 (1145) and macOS Mojave 10.14.6.

    When I export the project into an .iso image, it spends a few hours encoding the menus, and then a few more encoding the first video, and suggests 30 hours to encode them all. I stopped the process and used FFMPEG to encode the videos to a PAL DVD format, following https://www.kevssite.com/converting-a-video-file-to-dvd-with-ffmpeg/:

    Code:
    ffmpeg -i input.mp4 -y -target pal-dvd -qscale 0 -aspect 16:9 output.mpg
    I can add this video to the DVD, but it shows a warning sign and clicking on it shows a broken link:

    Image
    [Attachment 63452 - Click to enlarge]


    I tried other commands, such as scaling directly to 720p with
    Code:
    -vf scale=720:-1
    but it also shows the same broken link.

    How can I rescale videos for faster encoding in iDVD?
    Last edited by miguelmorin; 20th Feb 2022 at 05:08.
    Quote Quote  
  2. IMHO you trying to do something not so easy and worse you trying to do this based on very old and outdated guide... Since 2009 ffmpeg changed significantly.

    This thread is useful https://forum.doom9.org/showthread.php?t=174620 , especially script https://forum.doom9.org/showthread.php?p=1809116#post1809116 provided by GMJCZP .
    Quote Quote  
  3. Thanks. I tested the second option in the original post, with -f pal-dvd, and iDVD says the format is not supported:

    Code:
    ffmpeg -i output.mp4 -f dvd -target pal-dvd -r 30000/1001 -vf scale=720:480 -aspect 16:9 -vb 8000k -g 15 -mbd rd -trellis 1 -cmp 0 -subcmp 2 output.mpg
    I checked the script in your reply from GMJCZP and adapted it to Unix.

    Code:
    # @echo off
    # 
    # @REM -----------------------------------------------------------------------------------------------
    # @REM
    # @REM                             FFMPEG MPEG2 Profile (video output only)
    # @REM                                  GMJCZP, version 4.2, 27/06/2021
    # @REM
    # @REM -----------------------------------------------------------------------------------------------
    # 
    # @REM Script based in "DVDs ¿crees que tu codificador es el mejor ENTONCES DEMUÉSTRALO!!! (versión 2.0)" page 2, and tests of Fishman0919, manolito and mine
    # @REM Thanks to ALEX-KID, manono, Didée, hank315, Fishman0919 and manolito!
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                                Source and target files
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # @REM Source file (if source file is not a avs file then define for output file in the second pass frame size and frame rate, see Other settings)
    E_SRC="input.mp4"
    # 
    # @REM Target file
    E_VID="output.m2v"
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                             Rate control settings
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # @REM Medium bitrate (b)
    E_BR=3000k
    # 
    # @REM Maximum Bitrate (maxrate) (Use 9800k max for DVD compatibility)
    VBV_MBR=9800k
    # 
    # @REM Maximum buffer size (bufsize) (Use 1835k max for DVD compatibility)
    VBV_MBS=1835k
    # 
    # @REM Fixed quality VBR (q) (Fishman0919's suggestion)
    E_FQ=2.0
    # 
    # @REM Minimum quantizer (qmin) (2 is good value for low bitrate, b<=1800k)
    E_MQ=1.0
    # 
    # @REM Minimum frame-level Lagrange multiplier (lmin) [0.01;255.0] (Fishman0919 suggests a value of 0.75)
    E_MLM=0.75
    # 
    # @REM Minimum macroblock-level Lagrange multiplier (mblmin) [0.01;255.0] (Fishman0919 suggests a value of 50.0)
    E_MBL=50.0
    # 
    # @REM Quantizer variability (qcomp) [0.00;1.00] (0.75 is good value) (Fishman0919 suggests a value of 0.7)
    E_VQ=0.70
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                                   GOP structure
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # @REM Maximum interval of I-frames or Keyframes (g) (Use 15 for DVD PAL, 18 for DVD NTSC, 12 for Pulldown)
    E_MIK=15
    # 
    # @REM Maximum number of B-frames (bf) [0;4] (Use 2 for DVD compatibility)
    E_MBF=2
    # 
    # @REM Adaptive B-Frames strategy (b_strategy) [0;2] (Pass one only, 0 is deactivated, 1 is fast and 2 is slow. Fishman0919 suggests a value of 2)
    E_ABF=2
    # 
    # @REM Slow adaptive refinement of B-frames (brd_scale) [0;3] (0 is full search, higher is faster; only valid if b_strategy=2. Fishman0919 suggests a value of 2)
    E_SBF=2
    # 
    # @REM Motion detection for B-frames (b_sensitivity) [>0] (Only valid if b_strategy=1)
    E_DBF=40
    # 
    # @REM Threshold for scene change detection (sc_threshold) [−1000000000;1000000000] (Negative values indicate that it is more likely to insert an I-frame when it detects a scene change)
    E_TSD=-30000
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                    Motion estimation settings
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # @REM Range for motion estimation (me_range) [0;9999]
    E_RME=0
    # 
    # @REM Optimization of rate distortion (mbd) [0;2] (2 is the best value)
    E_RDO=2
    # 
    # @REM Diamond size (and pre-pass too) (dia_size, pre_dia_size) [-99;6] (Negative values are for adaptive diamond)
    E_DIA=-4
    # 
    # @REM Comparison function for the macroblock decision (mbcmp) [0;2000] (0 is SAD, 1 is SSE2, 2 is SADT, +256 for chroma motion estimation, currently does not work (correctly) with B-frames)
    E_CMB=2
    # 
    # @REM Comparison function for pre pass, full, and sub motion estimation (precmp, subcmp, cmp) [0;2000] (0 is SAD, 1 is SSE2, 2 is SADT, +256 for chroma motion estimation, currently does not work (correctly) with B-frames)
    E_CMP=2
    # 
    # @REM Comparison function for frame skip (skip_cmp) [0;2000] (0 is SAD, 1 is SSE2, 2 is SADT, +256 for chroma motion estimation, currently does not work (correctly) with B-frames)
    E_CMS=2
    # 
    # @REM Amount of motion predictors (last_pred) [0;99]
    E_AMP=2
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                                    Other settings
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # @REM Aspect Ratio (aspect) (4/3 or 16/9 for DVD compatibility)
    E_DAR=16/9
    # 
    # @REM Frame size (s) (b up to 2500 kbps =>s=704x480 (NTSC), b greater than 2500 kbps =>s=720x480 (NTSC))
    E_SZE=720x576
    # 
    # @REM Frame rate (r) (use 25 for PAL, 24000/1001 or 30000/1001 para NTSC)
    E_FPS=25
    # 
    # @REM DC precision (dc) [8;10] (b up to 1800k =>dc=8, between 1800k and 3500k =>dc=9, greater than 3500k =>dc=10)
    E_DC=9
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                                    Matrices
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # @REM MPEG (default matrix for any bitrate)
    # set E_INTRA=8,16,19,22,26,27,29,34,16,16,22,24,27,29,34,37,19,22,26,27,29,34,34,38,22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34,38,46,56,69,27,29,35,38,46,56,69,83
    # set E_INTER=16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33
    # 
    # @REM MPEG Standard (for any bitrate, the default matrix of FFMPEG, there are matrices better than this)
    # @REM set E_INTRA=08,16,19,22,26,27,29,34,16,16,22,24,27,29,34,37,19,22,26,27,29,34,34,38,22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34,38,46,56,69,27,29,35,38,46,56,69,83
    # @REM set E_INTER=16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
    # 
    # @REM FOX New Matrix (manolito's suggestion, for bitrate>=3000k)
    # @REM set E_INTRA=08,08,09,09,10,10,11,11,08,09,09,10,10,11,11,12,09,09,10,10,11,11,12,12,09,10,10,11,11,12,13,13,10,10,11,11,12,13,13,14,10,11,11,12,13,13,14,15,11,11,12,13,13,14,15,15,11,12,12,13,14,15,15,16
    # @REM set E_INTER=08,08,09,09,10,10,11,11,08,09,09,10,10,11,11,12,09,09,10,10,11,11,12,12,09,10,10,11,11,12,13,13,10,10,11,11,12,13,13,14,10,11,11,12,13,13,14,15,11,11,12,13,13,14,15,15,11,12,12,13,14,15,15,16
    # 
    # @REM FOX Home Entertainment
    # @REM set E_INTRA=08,08,09,11,13,13,14,17,08,08,11,12,13,14,17,18,09,11,13,13,14,17,17,16,11,11,13,13,13,17,18,20,11,13,13,13,16,17,20,24,13,13,13,16,17,20,24,29,13,12,13,17,19,23,28,34,12,13,17,19,23,28,34,41
    # @REM set E_INTER=08,08,08,09,09,09,09,10,08,08,09,09,09,09,10,10,08,09,09,09,09,10,10,10,09,09,09,09,10,10,10,10,09,09,09,10,10,10,10,11,09,09,10,10,10,10,11,11,09,10,10,10,10,11,11,11,10,10,10,10,11,11,11,11
    # 
    # @REM FOX1
    # @REM set E_INTRA=08,08,09,11,13,13,14,17,08,08,11,12,13,14,17,18,09,11,13,13,14,17,17,19,11,11,13,13,14,17,18,20,11,13,13,14,16,17,20,24,13,13,14,16,17,20,24,29,13,13,14,17,19,23,28,34,13,14,17,19,23,28,34,41
    # @REM set E_INTER=08,08,08,09,09,09,09,10,08,08,09,09,09,09,10,10,08,09,09,09,09,10,10,10,09,09,09,09,10,10,10,10,09,09,09,10,10,10,10,11,09,09,10,10,10,10,11,11,09,10,10,10,10,11,11,11,10,10,10,10,11,11,11,11
    # 
    # @REM FOX2
    # @REM set E_INTRA=08,08,09,11,13,13,14,17,08,08,11,12,13,14,17,18,09,11,13,13,14,17,17,19,11,11,13,13,14,17,18,20,11,13,13,14,16,17,20,24,13,13,14,16,17,20,24,29,13,13,14,17,19,23,28,34,13,14,17,19,23,28,34,41
    # @REM set E_INTER=08,08,09,09,10,10,11,11,08,09,09,10,10,11,11,12,09,09,10,10,11,11,12,12,09,10,10,11,11,12,13,13,10,10,11,11,12,13,13,14,10,11,11,12,13,13,14,15,11,11,12,13,13,14,15,15,11,12,12,13,14,15,15,16
    # 
    # @REM FOX3
    # @REM set E_INTRA=08,08,09,11,13,13,14,17,08,08,11,12,13,14,17,18,09,11,13,13,14,17,17,19,11,11,13,13,14,17,18,20,11,13,13,14,16,17,20,24,13,13,14,16,17,20,24,29,13,13,14,17,19,23,28,34,13,14,17,19,23,28,34,41
    # @REM set E_INTER=16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
    # 
    # @REM Didée's SixOfNine-HVS (HVS:Human Visual System, for bitrate>=3000k)
    # @REM set E_INTRA=08,11,12,12,13,15,16,17,11,11,12,12,14,15,16,17,12,12,13,14,15,16,17,18,12,12,14,16,17,18,19,19,13,14,15,17,19,20,20,20,15,15,16,18,20,21,22,22,16,16,17,19,21,22,23,24,17,17,18,19,20,22,24,24
    # @REM set E_INTER=12,11,12,12,13,14,15,16,11,11,12,12,13,14,14,16,12,12,12,13,14,15,16,17,12,12,13,15,16,17,18,18,13,13,14,16,18,19,19,20,14,14,15,17,19,20,22,22,15,14,16,18,19,22,23,24,16,16,17,18,20,22,24,24
    # 
    # @REM manono1 (the manono's favorite matrix)
    # @REM set E_INTRA=08,08,08,09,11,13,14,17,08,08,09,11,13,13,14,17,08,08,11,12,13,14,17,94,09,11,13,13,14,17,17,94,11,11,13,13,14,17,94,94,13,13,14,16,17,20,94,94,13,13,14,17,94,94,94,94,13,14,17,94,94,94,94,94
    # @REM set E_INTER=12,12,13,14,15,16,22,26,12,13,14,15,16,22,26,32,13,14,15,16,22,26,32,41,14,15,16,22,26,32,41,53,15,16,22,26,32,41,53,94,16,22,26,32,41,53,70,94,22,26,32,41,53,70,94,94,26,32,41,53,94,94,94,94
    # 
    # @REM manono2
    # @REM set E_INTRA=08,12,13,14,15,16,19,22,12,13,14,15,16,19,22,26,13,14,15,16,19,22,26,32,14,15,16,19,22,26,32,41,15,16,19,22,26,32,41,53,16,19,22,26,32,41,53,70,19,22,26,32,41,53,70,94,22,26,32,41,53,70,94,127
    # @REM set E_INTER=12,12,13,14,15,16,19,22,12,13,14,15,16,19,22,26,13,14,15,16,19,22,26,32,14,15,16,19,22,26,32,41,15,16,19,22,26,32,41,53,16,19,22,26,32,41,53,70,19,22,26,32,41,53,70,94,22,26,32,41,53,70,94,127
    # 
    # @REM manono3 (according to manono, for cases when the movie doesn't compress well at all)
    # @REM set E_INTRA=08,10,10,12,13,15,16,20,10,10,12,15,17,19,20,20,10,12,15,17,19,20,20,23,12,15,17,19,20,20,25,25,13,17,19,20,23,25,25,27,15,19,20,23,25,27,27,30,16,20,20,25,25,27,30,35,20,20,23,25,27,30,35,45
    # @REM set E_INTER=12,14,17,18,19,20,24,28,14,16,17,18,19,23,27,32,17,17,18,19,20,27,30,37,18,18,19,20,27,30,35,37,19,19,20,27,30,35,37,40,20,23,27,30,35,37,40,44,24,27,30,35,37,40,40,44,28,32,37,37,40,44,44,48
    # 
    # @REM HVS Best (for low bitrate)
    E_INTRA=08,16,16,16,17,18,21,24,16,16,16,16,17,19,22,25,16,16,17,18,20,22,25,29,16,16,18,21,24,27,31,36,17,17,20,24,30,35,41,47,18,19,22,27,35,44,54,65,21,22,25,31,41,54,70,88,24,25,29,36,47,65,88,115
    E_INTER=18,18,18,18,19,21,23,27,18,18,18,18,19,21,24,29,18,18,19,20,22,24,28,32,18,18,20,24,27,30,35,40,19,19,22,27,33,39,46,53,21,21,24,30,39,50,61,73,23,24,28,35,46,61,79,98,27,29,32,40,53,73,98,129
    # 
    # @REM AVAMAT7 (for low bitrate, also called AUTO-Q2)
    # @REM set E_INTRA=08,16,19,22,26,28,32,38,16,16,22,24,28,32,38,44,19,22,26,28,32,38,44,48,22,22,26,32,38,44,48,54,22,26,32,38,44,48,54,64,26,32,38,44,48,54,64,74,32,38,44,48,54,64,74,84,38,44,48,54,64,74,84,94
    # @REM set E_INTER=16,20,24,28,36,42,46,52,20,24,28,36,42,46,52,58,24,28,36,42,46,52,58,62,28,36,42,46,52,58,62,68,36,42,46,52,58,62,68,78,42,46,52,58,62,68,78,88,46,52,58,62,68,78,88,99,52,58,62,68,78,88,99,99
    # 
    # 
    # 
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # @REM >>                                   FFMPEG CLI
    # @REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    # 
    # ECHO.--------------------------------------------------------------- 
    # ECHO.First pass ... 
    # ECHO.---------------------------------------------------------------
    ffmpeg -i ${E_SRC} -pass 1 -passlogfile Pass.log -vcodec mpeg2video -maxrate ${VBV_MBR} -bufsize ${VBV_MBS} -g ${E_MIK} -bf ${E_MBF} -bidir_refine 0 -b_strategy ${E_ABF} -brd_scale ${E_SBF} -b_sensitivity ${E_DBF} -dc ${E_DC} -q:v ${E_FQ} -intra_vlc true -intra_matrix ${E_INTRA} -inter_matrix ${E_INTER} -an -f mpeg2video -y NUL
    # 
    # 
    # ECHO.--------------------------------------------------------------- 
    # ECHO.Second pass ... 
    # ECHO.---------------------------------------------------------------
    ffmpeg -i ${E_SRC} -pass 2 -passlogfile Pass.log -vcodec mpeg2video -b:v ${E_BR} -maxrate ${VBV_MBR} -bufsize ${VBV_MBS} -g ${E_MIK} -bf ${E_MBF} -bidir_refine 0 -sc_threshold ${E_TSD} -b_sensitivity ${E_DBF} -me_range ${E_RME} -mpv_flags mv0+naq -mv0_threshold 0 -mbd ${E_RDO} -mbcmp ${E_CMB} -precmp ${E_CMP} -subcmp ${E_CMP} -cmp ${E_CMP} -skip_cmp ${E_CMS} -dia_size ${E_DIA} -pre_dia_size ${E_DIA} -last_pred ${E_AMP} -dc ${E_DC} -lmin ${E_MLM} -mblmin ${E_MBL} -qmin ${E_MQ} -qcomp ${E_VQ} -intra_vlc true -intra_matrix ${E_INTRA} -inter_matrix ${E_INTER} -f mpeg2video -color_primaries 5 -color_trc 5 -colorspace 5 -color_range 1 -aspect ${E_DAR} -vf scale=${E_SZE} -y ${E_VID}
    # 
    # IF EXIST "Pass*.log" DEL "Pass*.log"
    # 
    # 
    # @pause
    # @REM THE END
    I made HVS the default, adapted to MP4 input with a different frame size (I already had 25 fps), and commented out the other commands.

    At bitrate 1800, it complained it was too low. At bitrate 3000, I get this error:

    Code:
    Press [q] to stop, [?] for help
    [mpeg2video @ 0x7fc72e019e00] [lavc rc] Error: bitrate too low for this video with these parameters.
    ffmpeg(5235,0x112f495c0) malloc: *** error for object 0x7fc72df10680: pointer being freed was not allocated
    ffmpeg(5235,0x112f495c0) malloc: *** set a breakpoint in malloc_error_break to debug
    ./dvd.sh: line 197:  5235 Abort trap: 6           ffmpeg -i ${E_SRC} -pass 2 -passlogfile Pass.log -vcodec mpeg2video -b:v ${E_BR} -maxrate ${VBV_MBR} -bufsize ${VBV_MBS} -g ${E_MIK} -bf ${E_MBF} -bidir_refine 0 -sc_threshold ${E_TSD} -b_sensitivity ${E_DBF} -me_range ${E_RME} -mpv_flags mv0+naq -mv0_threshold 0 -mbd ${E_RDO} -mbcmp ${E_CMB} -precmp ${E_CMP} -subcmp ${E_CMP} -cmp ${E_CMP} -skip_cmp ${E_CMS} -dia_size ${E_DIA} -pre_dia_size ${E_DIA} -last_pred ${E_AMP} -dc ${E_DC} -lmin ${E_MLM} -mblmin ${E_MBL} -qmin ${E_MQ} -qcomp ${E_VQ} -intra_vlc true -intra_matrix ${E_INTRA} -inter_matrix ${E_INTER} -f mpeg2video -color_primaries 5 -color_trc 5 -colorspace 5 -color_range 1 -aspect ${E_DAR} -vf scale=${E_SZE} -y ${E_VID}

    In both cases, I see:

    Code:
    [mpeg2video @ 0x7f89f981e000] rc buffer underflow
    [mpeg2video @ 0x7f89f981e000] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg2video @ 0x7f89f981e000] rc buffer underflow:00:01.00 bitrate=10485.8kbits/s speed=0.969x    
    [mpeg2video @ 0x7f89f981e000] max bitrate possibly too small or try trellis with large lmax or increase qmax
    Does anyone have ideas on how to convert MP4 files to 720x576 for a PAL DVD with FFMPEG?
    Last edited by miguelmorin; 20th Feb 2022 at 05:06.
    Quote Quote  
  4. IMHO 3000 kbps is too small anyway for MPEG-2 - i would go for something like 5000..6000kbps. Try other quantization matrices, btw PAL and framerate 30000/1001 is improper combination, also i would reduce max_bitrate to 9200kbps - ffmpeg may not provide sufficient bitrate control.
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    AVStoDVD uses a command line like this, but in this case the source is a script, which handles the resize (if necessary)
    Code:
    -i "source.avs" -threads 4 -aspect 16:9 -c:v mpeg2video -b:v 8000k -minrate 8000k -maxrate 8000k -bufsize 2000k -dc 9 -y "output.m2v"
    In this example it's using a fixed bit rate of 8000K.

    Perhaps you can modify for your case
    Last edited by davexnet; 25th Feb 2022 at 16:58.
    Quote Quote  
  6. My attempt had multiple issues, most of all the discontinued iDVD kept hanging after 10 hours of video processing, and I gave up and used DVDStyler on a cloud instance. That worked great, it uses ffmpeg undearneath the hood, and I will keep using it.
    Quote Quote  



Similar Threads

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