Repo: https://github.com/Randrianasulu/encode2mpeg
after installing mctoolame and pcm2aiff from iso-dist10 (also on my github) I can run such line: encode2mpeg -svcd -mp2 mctoolame -mpegchannels 6 -n p -imageonly /dev/shm/matrixbench_highdivx_ac3.avi -o /dev/shm/svcd_test.iso ==== long log ==== bash-5.1$ encode2mpeg -svcd -mp2 mctoolame -mpegchannels 6 -n p -imageonly /dev/shm/matrixbench_highdivx_ac3.avi -o /dev/shm/svcd_test.iso ++ WARN: [encode2mpeg] total video+audio bitrate (2500+393kbps) exceed SVCD specifications (2778kbps) WARNING you have an unsupported version of MPlayer [SVN-r38447-11.2.0] you need MPlayer 1.0rc1 or a later stable relase, encode2mpeg can fail Press return to proceed ++ WARN: [encode2mpeg] selected aspect ratio [4/3] and source aspect ratio [undefined] are different This codecs.conf is too old and incompatible with this MPlayer release! at line 6 MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team CPU vendor name: AuthenticAMD max cpuid level: 13 CPU: AMD FX(tm)-4300 Quad-Core Processor (Family: 21, Model: 2, Stepping: 0) extended cpuid-level: 30 extended cache-info: 134250816 Detected cache-line size is 64 bytes Testing OS support for SSE... yes. Tests of OS support for SSE passed. CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1 Compiled with runtime CPU detection. get_path('codecs.conf') -> '/home/guest/.mplayer/codecs.conf' Reading optional codecs config file /home/guest/.mplayer/codecs.conf: Reading optional codecs config file /usr/etc/mplayer/codecs.conf: No such file or directory Using built-in default codecs.conf. init_freetype Using SSE2 Optimized OnScreenDisplay get_path('fonts') -> '/home/guest/.mplayer/fonts' Configuration: --prefix=/usr --enable-radio --enable-radio-capture --enable-xvmc --enable-runtime-cpudetection --extra-cflags=-Wno-error=implicit-function-declaration --extra-ldflags=-latomic CommandLine: '/dev/shm/matrixbench_highdivx_ac3.avi' '-channels' '6' '-noframedrop' '-v' '-osdlevel' '0' '-vo' 'yuv4mpeg:file=/dev/fd/4' '-ao' 'pcm:waveheader:fast:file=%26%/dev/shm/svcd_test.iso.wav' Using nanosleep() timing get_path('input.conf') -> '/home/guest/.mplayer/input.conf' Reading optional input config file /home/guest/.mplayer/input.conf: No such file or directory Reading optional input config file /usr/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config Setting up LIRC support... do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. get_path('matrixbench_highdivx_ac3.avi.conf') -> '/home/guest/.mplayer/matrixbench_highdivx_ac3.avi.conf' Playing /dev/shm/matrixbench_highdivx_ac3.avi. get_path('sub/') -> '/home/guest/.mplayer/sub/' [file] File size is 48078848 bytes STREAM: [file] /dev/shm/matrixbench_highdivx_ac3.avi STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) libavformat version 60.20.100 (internal) Configuration: --enable-gpl --enable-postproc LAVF_check: AVI (Audio Video Interleaved) AVI file format detected. list_end=0x2286 ======= AVI Header ======= us/frame: 40000 (fps=25.000) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 4691 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 720 x 576 ========================== list_end=0x10F4 ==> Found video stream: 0 [aviheader] Video stream found, -vid 0 ====== STREAM Header ===== Type: vids FCC: div3 (33766964) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 25/1 = 25.000 Start: 0 Len: 4691 Suggested BufferSize: 46639 Quality 5000 Sample size: 0 ========================== Found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 576 biPlanes 1 biBitCount 24 biCompression 861292868='DIV3' biSizeImage 1244160 =========================== Regenerating keyframe table for DIVX3 video. list_end=0x217A ==> Found audio stream: 1 [aviheader] Audio stream found, -aid 1 ====== STREAM Header ===== Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 1 Rate: 48000/1 = 48000.000 Start: 0 Len: 9006720 Suggested BufferSize: 24000 Quality -1 Sample size: 1 ========================== Found 'wf', 18 bytes of 18 ======= WAVE Format ======= Format Tag: 8192 (0x2000) Channels: 5 Samplerate: 48000 avg byte/sec: 48000 Block align: 1 bits/sample: 0 cbSize: 18 Unknown extra header dump: [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [71] [1] [0] [0] [78] [17] [9f] [f5] ========================================================================== list_end=0x2286 AVI: dmlh found (size=248) (total_frames=4691) list_end=0x2314 hdr=Software size=15 Software : Nandub v1.0rc2 hdr=Title size=16 Title : The Matrix Clip hdr=Subject size=16 Subject : The Matrix Clip hdr=Artist size=1 Artist : hdr=Copyright size=1 Copyright : hdr=Comments size=30 Comments : dolby digital 5.1 audiostream list_end=0x2DB53F8 Found movie at 0x280C - 0x2DB53F8 Reading INDEX block, 9371 chunks for 4691 frames (fpos=47928320). AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x5DCC) Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video size=38834001 (4691) audio size=9006720 (9006720) VIDEO: [DIV3] 720x576 24bpp 25.000 fps 1655.7 kbps (202.1 kbyte/s) Auto-selected AVI video ID = 0 Auto-selected AVI audio ID = 1 [V] filefmt:3 fourcc:0x33564944 size:720x576 fps:25.000 ftime:=0.0400 Using (default) progressive frame mode. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 60.36.100 (internal) Configuration: --enable-gpl --enable-postproc [msmpeg4 @ 0x577b01a0]Format yuv420p chosen by get_format(). INFO: libavcodec init OK! Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MSMPEG-4 v3)) ========================================================================== Clip info: Software: Nandub v1.0rc2 Title: The Matrix Clip Subject: The Matrix Clip Artist: Copyright: Comments: dolby digital 5.1 audiostream Load subtitles in /dev/shm/ get_path('sub/') -> '/home/guest/.mplayer/sub/' ========================================================================== Forced audio codec: mad Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer. FFmpeg's libavcodec audio codec For transform of length 128, inverse, mdct_float, flags: [aligned, out_of_place], found 2 matches: 1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 64, inverse, fft_float, flags: [aligned, inplace, preshuf], found 2 matches: 1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112 2: fft64_ns_float_c - type: fft_float, len: 64, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96 Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft64_ns_float_c - type: fft_float, len: 64, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf] For transform of length 256, inverse, mdct_float, flags: [aligned, out_of_place], found 2 matches: 1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 128, inverse, fft_float, flags: [aligned, inplace, preshuf], found 2 matches: 1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112 2: fft128_ns_float_c - type: fft_float, len: 128, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96 Transform tree: mdct_inv_float_c - type: mdct_float, len: 256, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft128_ns_float_c - type: fft_float, len: 128, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf] INFO: libavcodec "ac3" init OK! AUDIO: 48000 Hz, 6 ch, floatle, 384.0 kbit/4.17% (ratio: 48000->1152000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== Building audio filter chain for 48000Hz/6ch/floatle -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/6ch/floatle [dummy] Was reinitialized: 48000Hz/6ch/floatle Trying preferred audio driver 'pcm', options 'waveheader:fast:file=%26%/dev/shm/svcd_test.iso.wav' [AO PCM] File: /dev/shm/svcd_test.iso.wav (WAVE) PCM: Samplerate: 48000Hz Channels: Stereo Format floatle [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 48000Hz 6ch floatle (4 bytes per sample) AO: Description: RAW PCM/WAVE file writer audio output AO: Author: Atmosfear Building audio filter chain for 48000Hz/6ch/floatle -> 48000Hz/6ch/floatle... [dummy] Was reinitialized: 48000Hz/6ch/floatle [dummy] Was reinitialized: 48000Hz/6ch/floatle Starting playback... Increasing filtered audio buffer size from 0 to 77568 VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659) VO: [yuv4mpeg] 720x576 => 720x576 Planar YV12 VO: Description: yuv4mpeg output for mjpegtools VO: Author: Robert Kesterson <robe...@robertk.com> *** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes [ffmpeg] aspect_ratio: 0.000000 VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659) VO: [yuv4mpeg] 720x576 => 720x576 Planar YV12 VO: Description: yuv4mpeg output for mjpegtools VO: Author: Robert Kesterson <robe...@robertk.com> Unicode font: 2326 glyphs. Unicode font: 2326 glyphs. A: 0.1 V: 0.0 A-V: 0.057 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 Increasing filtered audio buffer size from 77568 to 77712 XXX initial v_pts=0.000 a_pos=24000 (0.500) *** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes A: 0.2 V: 0.1 A-V: 0.108 ct: -0.000 4/ 4 ??% ??% ??,?% 2 0 Increasing filtered audio buffer size from 77712 to 77760 A: 0.4 V: 0.2 A-V: 0.158 ct: -0.000 7/ 7 ??% ??% ??,?% 4 0 Increasing filtered audio buffer size from 77760 to 77808 [ac3 @ 0x577b01a0]incomplete frame 0.019 4683/4683 3% 15% 0.9% 3987 0 A: 187.6 V: 187.3 A-V: 0.282 ct: 0.020 4684/4684 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.4 A-V: 0.259 ct: 0.028 4686/4686 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.4 A-V: 0.236 ct: 0.032 4687/4687 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.5 A-V: 0.196 ct: 0.036 4688/4688 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.5 A-V: 0.156 ct: 0.040 4689/4689 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.6 A-V: 0.116 ct: 0.044 4690/4690 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.6 A-V: 0.076 ct: 0.048 4691/4691 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: video) A: 187.7 V: 187.6 A-V: 0.076 ct: 0.052 4691/4691 3% 15% 0.9% 3988 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: video) ds_fill_buffer: EOF reached (stream: audio) A: 187.7 V: 187.6 A-V: 0.076 ct: 0.152 4691/4691 3% 15% 0.9% 3988 0 EOF code: 1 Uninit audio filters... [libaf] Removing filter dummy Uninit audio: ffmpeg Uninit video: ffmpeg vo: x11 uninit called but X11 not initialized.. Exiting... (End of file) INFO: [encode2mpeg] encoding to mp2 audio with mctoolame MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team This codecs.conf is too old and incompatible with this MPlayer release! at line 6 do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/shm/svcd_test.iso.wav. libavformat version 60.20.100 (internal) Audio only file format detected. Load subtitles in /dev/shm/ ========================================================================== Forced audio codec: mad Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== [AO PCM] File: /dev/shm/svcd_test.iso_l.pcm (RAW PCM) PCM: Samplerate: 44100Hz Channels: Mono Format s16le [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 187.6 (03:07.6) of 187.0 (03:07.0) 0.6% Exiting... (End of file) MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team This codecs.conf is too old and incompatible with this MPlayer release! at line 6 do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/shm/svcd_test.iso.wav. libavformat version 60.20.100 (internal) Audio only file format detected. Load subtitles in /dev/shm/ ========================================================================== Forced audio codec: mad Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== [AO PCM] File: /dev/shm/svcd_test.iso_r.pcm (RAW PCM) PCM: Samplerate: 44100Hz Channels: Mono Format s16le [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 187.6 (03:07.6) of 187.0 (03:07.0) 0.6% Exiting... (End of file) MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team This codecs.conf is too old and incompatible with this MPlayer release! at line 6 do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/shm/svcd_test.iso.wav. libavformat version 60.20.100 (internal) Audio only file format detected. Load subtitles in /dev/shm/ ========================================================================== Forced audio codec: mad Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== [AO PCM] File: /dev/shm/svcd_test.iso_ls.pcm (RAW PCM) PCM: Samplerate: 44100Hz Channels: Mono Format s16le [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 187.6 (03:07.6) of 187.0 (03:07.0) 0.6% Exiting... (End of file) MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team This codecs.conf is too old and incompatible with this MPlayer release! at line 6 do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/shm/svcd_test.iso.wav. libavformat version 60.20.100 (internal) Audio only file format detected. Load subtitles in /dev/shm/ ========================================================================== Forced audio codec: mad Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== [AO PCM] File: /dev/shm/svcd_test.iso_rs.pcm (RAW PCM) PCM: Samplerate: 44100Hz Channels: Mono Format s16le [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 187.6 (03:07.6) of 187.0 (03:07.0) 0.6% Exiting... (End of file) MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team This codecs.conf is too old and incompatible with this MPlayer release! at line 6 do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/shm/svcd_test.iso.wav. libavformat version 60.20.100 (internal) Audio only file format detected. Load subtitles in /dev/shm/ ========================================================================== Forced audio codec: mad Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== [AO PCM] File: /dev/shm/svcd_test.iso_c.pcm (RAW PCM) PCM: Samplerate: 44100Hz Channels: Mono Format s16le [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 187.6 (03:07.6) of 187.0 (03:07.0) 0.6% Exiting... (End of file) MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team This codecs.conf is too old and incompatible with this MPlayer release! at line 6 do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/shm/svcd_test.iso.wav. libavformat version 60.20.100 (internal) Audio only file format detected. Load subtitles in /dev/shm/ ========================================================================== Forced audio codec: mad Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== [AO PCM] File: /dev/shm/svcd_test.iso_lfe.pcm (RAW PCM) PCM: Samplerate: 44100Hz Channels: Mono Format s16le [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). AO: [pcm] 44100Hz 1ch s16le (2 bytes per sample) Video: no video Starting playback... A: 187.6 (03:07.6) of 187.0 (03:07.0) 0.6% Exiting... (End of file) ISO MPEG Audio Subgroup Software Simulation Group (1996) ISO 13818-3 MPEG-2 Audio Multichannel Encoder $Revision: 2.0 $ Num. ch: 6 Sample frames 8275267 Sample size in bits 16 Sample rate 44100.000000 Sound data is not PCM in "/dev/shm/svcd_test.iso.aiff". >>> Using 3/2 configuration. Encoding configuration: Layer=II mode=stereo extn=0 psy model=1 samp frq=44.1 kHz mpeg1 bitrate=384 kbps No multilingual coding. de-emph=0 c/right=0 orig=0 errprot=0 matrix=0 center=1 surround=2 stereo=2 stereomc=3 stereoaug=0 input file: '/dev/shm/svcd_test.iso.aiff' output file: '/dev/shm/svcd_test.iso.aiff.mp2' INFO: [mplex] mplex version 2.2.1 (2.2.7 $Date: 2012-11-17 01:55:16 $) INFO: [mplex] File /dev/shm/svcd_test.iso.mpv looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/svcd_test.iso.mpa looks like an MPEG Audio stream. INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting SVCD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/svcd_test.iso.mpv) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 480 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 4:3 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 2500000 bits/sec INFO: [mplex] Vbv buffer size : 114688 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: Audio stream c0 (/dev/shm/svcd_test.iso.mpa) INFO: [mplex] MPEG AUDIO STREAM: c0 INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer : 2 INFO: [mplex] CRC checksums : no INFO: [mplex] Bit rate : 49152 bytes/sec (384 kbit/sec) INFO: [mplex] Frequency : 44100 Hz INFO: [mplex] Mode : 0 stereo INFO: [mplex] Mode extension : 0 INFO: [mplex] Copyright bit : 0 no copyright INFO: [mplex] Original/Copy : 0 copy INFO: [mplex] Emphasis : 0 none INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 2953744 INFO: [mplex] target data-rate specified : 11536000 INFO: [mplex] Setting specified specified data rate: 11536000 INFO: [mplex] Run-in delay = 3600 Video delay = 3600 Audio delay = 7200 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio c0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Scanned to end AU 4690 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM c0 completed INFO: [mplex] Multiplex completion at SCR=16892643. INFO: [mplex] Video e0: completed INFO: [mplex] Audio c0: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 29963178 bytes INFO: [mplex] Sequence headers: 313 INFO: [mplex] Sequence ends : 1 INFO: [mplex] No. Pictures : 4691 INFO: [mplex] No. Groups : 313 INFO: [mplex] No. I Frames : 313 avg. size 16371 bytes INFO: [mplex] No. P Frames : 4378 avg. size 5673 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 1277200 bits/sec INFO: [mplex] Peak bit-rate : 2422400 bits/sec INFO: [mplex] BUFFERING min 15 Buf max 72625 INFO: [mplex] AUDIO_STATISTICS: c0 INFO: [mplex] Audio stream length 9007857 bytes. INFO: [mplex] Syncwords : 7184 INFO: [mplex] Frames : 879 padded INFO: [mplex] Frames : 6305 unpadded INFO: [mplex] BUFFERING min 15 Buf max 1268 INFO: [mplex] MUX STATUS: no under-runs detected. ++ WARN: string '/dev/shm/svcd_test.iso' fails d-character constraint (pos = 0) MPEG: VIDEO: MPEG2 480x576 (aspect 2) 25.000 fps 2500.0 kbps (312.5 kbyte/s) ### LOG: /dev/shm/svcd_test.iso [2024-02-01 03:42:56] INFO: [encode2mpeg] version 0.6.4 running in DIRECT Mode (cpu=4) INFO: [encode2mpeg] command line: '-svcd -mp2 mctoolame -mpegchannels 6 -n p -imageonly /dev/shm/matrixbench_highdivx_ac3.avi -o /dev/shm/svcd_test.iso' ++ WARN: [encode2mpeg] total video+audio bitrate (2500+393kbps) exceed SVCD specifications (2778kbps) MPEG: frameformat:SVCD split:800 vfr:3 vbr:2500 abr:384 asr:44100 mpegchannels:6 audioformat:mp2 mp2:mctoolame mpegencoder:mpeg2enc INFO: [identify] ID_VIDEO_ID=0 INFO: [identify] ID_AUDIO_ID=1 INFO: [identify] ID_VIDEO_CODEC=ffdivx INFO: [identify] ID_CLIP_INFO_NAME0=Software INFO: [identify] ID_CLIP_INFO_VALUE0=Nandub v1.0rc2 INFO: [identify] ID_CLIP_INFO_NAME1=Title INFO: [identify] ID_CLIP_INFO_VALUE1=The Matrix Clip INFO: [identify] ID_CLIP_INFO_NAME2=Subject INFO: [identify] ID_CLIP_INFO_VALUE2=The Matrix Clip INFO: [identify] ID_CLIP_INFO_NAME3=Artist INFO: [identify] ID_CLIP_INFO_VALUE3= INFO: [identify] ID_CLIP_INFO_NAME4=Copyright INFO: [identify] ID_CLIP_INFO_VALUE4= INFO: [identify] ID_CLIP_INFO_NAME5=Comments INFO: [identify] ID_CLIP_INFO_VALUE5=dolby digital 5.1 audiostream INFO: [identify] ID_CLIP_INFO_N=6 INFO: [identify] ID_FILENAME=/dev/shm/matrixbench_highdivx_ac3.avi INFO: [identify] ID_DEMUXER=avi INFO: [identify] ID_VIDEO_FORMAT=DIV3 INFO: [identify] ID_VIDEO_BITRATE=1655680 INFO: [identify] ID_VIDEO_WIDTH=720 INFO: [identify] ID_VIDEO_HEIGHT=576 INFO: [identify] ID_VIDEO_FPS=25.000 INFO: [identify] ID_VIDEO_ASPECT=0.0000 INFO: [identify] ID_AUDIO_FORMAT=8192 INFO: [identify] ID_AUDIO_BITRATE=384000 INFO: [identify] ID_AUDIO_RATE=0 INFO: [identify] ID_AUDIO_NCH=0 INFO: [identify] ID_START_TIME=0.00 INFO: [identify] ID_LENGTH=187.64 INFO: [identify] ID_SEEKABLE=1 INFO: [identify] ID_CHAPTERS=0 INFO: [identify] ID_AUDIO_RATE=48000 INFO: [identify] ID_AUDIO_NCH=2 INFO: [identify] ID_AUDIO_CODEC=ffac3 INFO: [identify] ID_EXIT=EOF INFO: [MPLAYERYUVOPT] /dev/shm/matrixbench_highdivx_ac3.avi -channels 6 -noframedrop -v -osdlevel 0 -vo yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%26%/dev/shm/svcd_test.iso.wav INFO: [YUVSCALEROPT] -v 1 -n p -O SVCD INFO: [MPEG2ENCOPT] -f 5 -b 2500 -V 113 -B 424 -4 2 -2 1 -g 6 -G 15 -M 4 -v 1 -S 800 -n p -F 3 -s -r 16 INFO: [MPLEXOPT] -f 5 -V -b 113 -r 11536 INFO: [VCDIMAGEROPT] -t svcd INFO: [CDRDAOOPT] --driver generic-mmc --device 0,0,0 INFO: [GROWISOFSOPT] -dvd-compat -Z /dev/cdrecorder -dvd-video ++ WARN: [encode2mpeg] selected aspect ratio [4/3] and source aspect ratio [undefined] are different INFO: [mplayer] MPlayer SVN-r38447-11.2.0 (C) 2000-2023 MPlayer Team INFO: [mplayer] ==> Found video stream: 0 INFO: [mplayer] ==> Found audio stream: 1 INFO: [yuvscaler] yuvscaler 2.2.1 11-Dec-2007 INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiqu...@free.fr>, yuvscaler -h for help, or man yuvscaler INFO: [yuvscaler] SVCD output format requested in PAL/SECAM norm INFO: [yuvscaler] input: frame size: 720x576 pixels (622080 bytes) INFO: [yuvscaler] input: chroma: 4:2:0 JPEG/MPEG-1 (interstitial) INFO: [yuvscaler] input: frame rate: 25/1 fps (~25.000000) INFO: [yuvscaler] input: interlace: none/progressive INFO: [yuvscaler] input: sample aspect ratio: 1:1 INFO: [yuvscaler] from 720x576, take 720x576+0+0, NOT_INTERLACED/PROGRESSIVE INFO: [yuvscaler] scale to 480x576, 480x576 being displayed INFO: [yuvscaler] Scaling uses the RESAMPLE algorithm, INFO: [yuvscaler] frame rate: 25.000 fps INFO: [yuvscaler] Scaling ratio for width is 3 to 2 INFO: [yuvscaler] and is 1 to 1 for height INFO: [yuvscaler] Specific downscaling routing number 6 INFO: [yuvscaler] output: frame size: 480x576 pixels (414720 bytes) INFO: [yuvscaler] output: chroma: 4:2:0 JPEG/MPEG-1 (interstitial) INFO: [yuvscaler] output: frame rate: 25/1 fps (~25.000000) INFO: [yuvscaler] output: interlace: none/progressive INFO: [yuvscaler] output: sample aspect ratio: 3:2 INFO: [yuvscaler] Frame number 0 INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION! INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM! INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION! INFO: [mpeg2enc] Selecting Stretched SVCD output profile ++ WARN: [mpeg2enc] No aspect ratio specifed and no guess possible: assuming 4:3 display aspect! INFO: [mpeg2enc] Progressive input - selecting progressive encoding. ++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager" ++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this off using -d INFO: [mpeg2enc] Encoding MPEG-2 video to /dev/shm/svcd_test.iso.mpv INFO: [mpeg2enc] Horizontal size: 480 pel INFO: [mpeg2enc] Vertical size: 576 pel INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display INFO: [mpeg2enc] Frame rate code: 3 = 25.0 (PAL/SECAM VIDEO / converted FILM) INFO: [mpeg2enc] Bitrate: 2500 KBit/s INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (1=best, 31=worst) INFO: [mpeg2enc] Field order for input: none/progressive INFO: [mpeg2enc] New Sequence every 800 Mbytes INFO: [mpeg2enc] Assuming non-video stream of 424 Kbps INFO: [mpeg2enc] Search radius: 16 INFO: [mpeg2enc] DualPrime: no INFO: [mpeg2enc] Using one-pass rate controller INFO: [mpeg2enc] GOP SIZE RANGE 6 TO 15 INFO: [mpeg2enc] Quant code = 9 quantizer-scale = 8 INFO: [mpeg2enc] Setting colour/gamma parameters to "PAL B/G" INFO: [mpeg2enc] Progressive format frames = 1 INFO: [mpeg2enc] q_scale_type = 1 INFO: [mpeg2enc] Using default unmodified quantization matrices INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER! INFO: [mpeg2enc] NEW GOP INIT length 15 INFO: [encode2mpeg] encoding to mp2 audio with mctoolame INFO: [mctoolame] ISO MPEG Audio Subgroup Software Simulation Group (1996) INFO: [mctoolame] ISO 13818-3 MPEG-2 Audio Multichannel Encoder INFO: [mctoolame] $Revision: 2.0 $ INFO: [mctoolame] Num. ch: 6 INFO: [mctoolame] Sample frames 8275267 INFO: [mctoolame] Sample size in bits 16 INFO: [mctoolame] Sample rate 44100.000000 INFO: [mctoolame] Sound data is not PCM in "/dev/shm/svcd_test.iso.aiff". INFO: [mctoolame] >>> Using 3/2 configuration. INFO: [mctoolame] Encoding configuration: INFO: [mctoolame] Layer=II mode=stereo extn=0 psy model=1 INFO: [mctoolame] samp frq=44.1 kHz mpeg1 bitrate=384 kbps INFO: [mctoolame] No multilingual coding. INFO: [mctoolame] de-emph=0 c/right=0 orig=0 errprot=0 INFO: [mctoolame] matrix=0 center=1 surround=2 stereo=2 stereomc=3 stereoaug=0 INFO: [mctoolame] input file: '/dev/shm/svcd_test.iso.aiff' output file: '/dev/shm/svcd_test.iso.aiff.mp2' INFO: [mplex] mplex version 2.2.1 (2.2.7 $Date: 2012-11-17 01:55:16 $) INFO: [mplex] File /dev/shm/svcd_test.iso.mpv looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/svcd_test.iso.mpa looks like an MPEG Audio stream. INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting SVCD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/svcd_test.iso.mpv) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 480 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 4:3 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 2500000 bits/sec INFO: [mplex] Vbv buffer size : 114688 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: Audio stream c0 (/dev/shm/svcd_test.iso.mpa) INFO: [mplex] MPEG AUDIO STREAM: c0 INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer : 2 INFO: [mplex] CRC checksums : no INFO: [mplex] Bit rate : 49152 bytes/sec (384 kbit/sec) INFO: [mplex] Frequency : 44100 Hz INFO: [mplex] Mode : 0 stereo INFO: [mplex] Mode extension : 0 INFO: [mplex] Copyright bit : 0 no copyright INFO: [mplex] Original/Copy : 0 copy INFO: [mplex] Emphasis : 0 none INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 2953744 INFO: [mplex] target data-rate specified : 11536000 INFO: [mplex] Setting specified specified data rate: 11536000 INFO: [mplex] Run-in delay = 3600 Video delay = 3600 Audio delay = 7200 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio c0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Scanned to end AU 4690 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM c0 completed INFO: [mplex] Multiplex completion at SCR=16892643. INFO: [mplex] Video e0: completed INFO: [mplex] Audio c0: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 29963178 bytes INFO: [mplex] Sequence headers: 313 INFO: [mplex] Sequence ends : 1 INFO: [mplex] No. Pictures : 4691 INFO: [mplex] No. Groups : 313 INFO: [mplex] No. I Frames : 313 avg. size 16371 bytes INFO: [mplex] No. P Frames : 4378 avg. size 5673 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 1277200 bits/sec INFO: [mplex] Peak bit-rate : 2422400 bits/sec INFO: [mplex] BUFFERING min 15 Buf max 72625 INFO: [mplex] AUDIO_STATISTICS: c0 INFO: [mplex] Audio stream length 9007857 bytes. INFO: [mplex] Syncwords : 7184 INFO: [mplex] Frames : 879 padded INFO: [mplex] Frames : 6305 unpadded INFO: [mplex] BUFFERING min 15 Buf max 1268 INFO: [mplex] MUX STATUS: no under-runs detected. ++ WARN: [vcdxbuild] string '/dev/shm/svcd_test.iso' fails d-character constraint (pos = 0) MPEG: VIDEO: MPEG2 480x576 (aspect 2) 25.000 fps 2500.0 kbps (312.5 kbyte/s) MPEG: AUDIO[0]: MPEG 1.0 layer II, 384 kbit/s, 44100 Hz stereo MPEG: /dev/shm/svcd_test.iso01.mpg is 39784556 bytes, 37.9 MB JOBEND: /dev/shm/svcd_test.iso [2024-02-01 03:44:12] (0h1m16s) Warnings summary: ++ WARN: [encode2mpeg] total video+audio bitrate (2500+393kbps) exceed SVCD specifications (2778kbps) ++ WARN: [encode2mpeg] selected aspect ratio [4/3] and source aspect ratio [undefined] are different ++ WARN: [mpeg2enc] No aspect ratio specifed and no guess possible: assuming 4:3 display aspect! ++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager" ++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this off using -d ++ WARN: [vcdxbuild] string '/dev/shm/svcd_test.iso' fails d-character constraint (pos = 0) ======== so it renders 3x realtime :) _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users