Hi,
I've been trying for a few days now to convert my MPEG2 video (with an AC3 audio stream) to either an Xvid or DivX format. The source video was recorded off a digital TV station using EyeTV.
If I used DivX encoding with the mencoder engine and three-pass encoding, audio is encoded but not in the format I chose (which was MP3) but is copied over as AC3 in the new file. If I choose Xvid (mencoder and ffmpeg) or Divx with the ffmpeg engine, no audio is encoded.
I have attached snippets of the log file below when encoding with the mencoder engine into Divx format (MP3 as audio).
My apologies for the very long log file.Code:FIXME:Hardenabling SSE and SSE2 without detection Tue Sep 8 12:38:26 EST 2009 MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team Mac OSX static build for ffmpegX CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 6) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 init_freetype get_path('font/font.desc') -> '/Users/wenglock/.mplayer/font/font.desc' font: can't open file: /Users/wenglock/.mplayer/font/font.desc Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay [file] File size is 3578673436 bytes STREAM: [file] /Volumes/OS X Backup/City.Homicide.S03E05.mpg STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) success: format: 0 data: 0x0 - 0xd54e391c Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxer type for filename /Volumes/OS X Backup/City.Homicide.S03E05.mpg ext: .mpg Checking for Nullsoft Streaming Video Checking for MOV Checking for VIVO header block 1 size: 95 Checking for PVA Checking for MPEG-TS... TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1 GOOD CC: 32, BAD CC: 0 TS file format detected. DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2, Checking for MPEG-TS... TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1 GOOD CC: 32, BAD CC: 0 PROBING UP TO 2000000, PROG: 0 COLLECT_SECTION, start: 64, size: 184, collected: 0 SKIP: 0+1, TID: 0, TLEN: 33, COLLECTED: 184 PARSE_PAT: section_len: 33, section 0/0 PROG: 0 (1-th of 6), PMT: 16 PROG: 2370 (2-th of 6), PMT: 270 PROG: 2400 (3-th of 6), PMT: 460 PROG: 2401 (4-th of 6), PMT: 461 PROG: 2402 (5-th of 6), PMT: 462 PROG: 2403 (6-th of 6), PMT: 463 A52_CHECK(139 input bytes), found 0 frame syncwords of 0 bytes length COLLECT_SECTION, start: 64, size: 184, collected: 0 SKIP: 0+1, TID: 2, TLEN: 60, COLLECTED: 184 FILL_PMT(prog=2400), PMT_len: 184, IS_START: 64, TS_PID: 460, SIZE=184, M=0, ES_CNT=0, IDX=0, PMT_PTR=0xb1b9d0 ...descr id: 0x2, len=3 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 0), STREAM: 0, FOUND pid=0x11f8 (4600), type=0x10000002, ES_DESCR_LENGTH: 8, bytes left: 34 ...descr id: 0x56, len=5 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 1), STREAM: 1, FOUND pid=0x11fd (4605), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 19 ...descr id: 0x52, len=1 ...descr id: 0xa, len=4 Language Descriptor: eng ...descr id: 0x6a, len=3 PARSE_PMT(2400 INDEX 2), STREAM: 2, FOUND pid=0x11fa (4602), type=0x2000, ES_DESCR_LENGTH: 14, bytes left: 0 ---------------------------- A52_CHECK(278 input bytes), found 0 frame syncwords of 0 bytes length A52_CHECK(417 input bytes), found 0 frame syncwords of 0 bytes length A52_CHECK(556 input bytes), found 0 frame syncwords of 0 bytes length A52_CHECK(695 input bytes), found 0 frame syncwords of 0 bytes length COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 0, TLEN: 33, COLLECTED: 184 PARSE_PAT: section_len: 33, section 0/0 PROG: 0 (1-th of 6), PMT: 16 PROG: 2370 (2-th of 6), PMT: 270 PROG: 2400 (3-th of 6), PMT: 460 PROG: 2401 (4-th of 6), PMT: 461 PROG: 2402 (5-th of 6), PMT: 462 PROG: 2403 (6-th of 6), PMT: 463 COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 2, TLEN: 60, COLLECTED: 184 FILL_PMT(prog=2400), PMT_len: 184, IS_START: 64, TS_PID: 460, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=0xb1b9d0 ...descr id: 0x2, len=3 ...descr id: 0x52, len=1 Using SSE optimized IMDCT transform 8, bytes left: 34 ...descr id: 0x56, len=5 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 1), STREAM: 1, FOUND pid=0x11fd (4605), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 19 ...descr id: 0x52, len=1 ...descr id: 0xa, len=4 Language Descriptor: eng ...descr id: 0x6a, len=3 PARSE_PMT(2400 INDEX 2), STREAM: 2, FOUND pid=0x11fa (4602), type=0x2000, ES_DESCR_LENGTH: 14, bytes left: 0 ---------------------------- A52_CHECK(834 input bytes), found 0 frame syncwords of 0 bytes length A52_CHECK(973 input bytes), found 0 frame syncwords of 0 bytes length COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 0, TLEN: 33, COLLECTED: 184 PARSE_PAT: section_len: 33, section 0/0 PROG: 0 (1-th of 6), PMT: 16 PROG: 2370 (2-th of 6), PMT: 270 PROG: 2400 (3-th of 6), PMT: 460 PROG: 2401 (4-th of 6), PMT: 461 PROG: 2402 (5-th of 6), PMT: 462 PROG: 2403 (6-th of 6), PMT: 463 COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 2, TLEN: 60, COLLECTED: 184 FILL_PMT(prog=2400), PMT_len: 184, IS_START: 64, TS_PID: 460, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=0xb1b9d0 ...descr id: 0x2, len=3 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 0), STREAM: 0, FOUND pid=0x11f8 (4600), type=0x10000002, ES_DESCR_LENGTH: 8, bytes left: 34 ...descr id: 0x56, len=5 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 1), STREAM: 1, FOUND pid=0x11fd (4605), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 19 ...descr id: 0x52, len=1 ...descr id: 0xa, len=4 Language Descriptor: eng ...descr id: 0x6a, len=3 PARSE_PMT(2400 INDEX 2), STREAM: 2, FOUND pid=0x11fa (4602), type=0x2000, ES_DESCR_LENGTH: 14, bytes left: 0 << ... more COLLECT_SECTIONs here ... >> ---------------------------- VIDEO MPEG2(pid=4600)AUDIO A52(pid=4602) NO SUBS (yet)! PROGRAM N. 2400 ==> Found video stream: 0 ==> Found audio stream: 0 Opened TS demuxer, audio: 2000(pid 4602), video: 10000002(pid 4600)...POS=564, PROBE=2000000 Searching for sequence header... COLLECT_SECTION, start: 64, size: 184, collected: 0 SKIP: 0+1, TID: 0, TLEN: 33, COLLECTED: 184 PARSE_PAT: section_len: 33, section 0/0 PROG: 0 (1-th of 6), PMT: 16 PROG: 2370 (2-th of 6), PMT: 270 PROG: 2400 (3-th of 6), PMT: 460 PROG: 2401 (4-th of 6), PMT: 461 PROG: 2402 (5-th of 6), PMT: 462 PROG: 2403 (6-th of 6), PMT: 463 COLLECT_SECTION, start: 64, size: 184, collected: 0 SKIP: 0+1, TID: 2, TLEN: 60, COLLECTED: 184 FILL_PMT(prog=2400), PMT_len: 184, IS_START: 64, TS_PID: 460, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=0xb1b9d0 ...descr id: 0x2, len=3 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 0), STREAM: 0, FOUND pid=0x11f8 (4600), type=0x10000002, ES_DESCR_LENGTH: 8, bytes left: 34 ...descr id: 0x56, len=5 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 1), STREAM: 1, FOUND pid=0x11fd (4605), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 19 ...descr id: 0x52, len=1 ...descr id: 0xa, len=4 Language Descriptor: eng ...descr id: 0x6a, len=3 PARSE_PMT(2400 INDEX 2), STREAM: 2, FOUND pid=0x11fa (4602), type=0x2000, ES_DESCR_LENGTH: 14, bytes left: 0 ---------------------------- OK! VIDEO: MPEG2 1440x1080 (aspect 3) 25.000 fps 90000.0 kbps (11250.0 kbyte/s) [V] filefmt:29 fourcc:0x10000002 size:1440x1080 fps:25.00 ftime:=0.0400 ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 dec_audio: Allocating 3840 bytes for input buffer. dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer. COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 0, TLEN: 33, COLLECTED: 184 PARSE_PAT: section_len: 33, section 0/0 PROG: 0 (1-th of 6), PMT: 16 PROG: 2370 (2-th of 6), PMT: 270 PROG: 2400 (3-th of 6), PMT: 460 PROG: 2401 (4-th of 6), PMT: 461 PROG: 2402 (5-th of 6), PMT: 462 PROG: 2403 (6-th of 6), PMT: 463 COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 2, TLEN: 60, COLLECTED: 184 FILL_PMT(prog=2400), PMT_len: 184, IS_START: 64, TS_PID: 460, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=0xb1b9d0 ...descr id: 0x2, len=3 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 0), STREAM: 0, FOUND pid=0x11f8 (4600), type=0x10000002, ES_DESCR_LENGTH: 8, bytes left: 34 ...descr id: 0x56, len=5 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 1), STREAM: 1, FOUND pid=0x11fd (4605), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 19 ...descr id: 0x52, len=1 ...descr id: 0xa, len=4 Language Descriptor: eng ...descr id: 0x6a, len=3 PARSE_PMT(2400 INDEX 2), STREAM: 2, FOUND pid=0x11fa (4602), type=0x2000, ES_DESCR_LENGTH: 14, bytes left: 0 ---------------------------- AC3: 2.0 (stereo) 48000 Hz 256.0 kbit/s A52 flags before a52_frame: 0x2A A52 flags after a52_frame: 0x2 Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 Opening video filter: [scale w=720 h=400] SwScale params: 720 x 400 (-1=no scaling) Opening video filter: [cropdetect] ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 1440 x 1080 (preferred colorspace: Mpeg PES) Trying filter chain: cropdetect scale expand lavc Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Trying filter chain: scale cropdetect scale expand lavc VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== Forcing output fourcc to 58564944 [DIVX] Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=32000 sample-1) IBPS: 11250000, vb: 0 COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 0, TLEN: 33, COLLECTED: 184 PARSE_PAT: section_len: 33, section 0/0 PROG: 0 (1-th of 6), PMT: 16 PROG: 2370 (2-th of 6), PMT: 270 PROG: 2400 (3-th of 6), PMT: 460 PROG: 2401 (4-th of 6), PMT: 461 PROG: 2402 (5-th of 6), PMT: 462 PROG: 2403 (6-th of 6), PMT: 463 COLLECT_SECTION, start: 64, size: 184, collected: 184 SKIP: 0+1, TID: 2, TLEN: 60, COLLECTED: 184 FILL_PMT(prog=2400), PMT_len: 184, IS_START: 64, TS_PID: 460, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=0xb1b9d0 ...descr id: 0x2, len=3 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 0), STREAM: 0, FOUND pid=0x11f8 (4600), type=0x10000002, ES_DESCR_LENGTH: 8, bytes left: 34 ...descr id: 0x56, len=5 ...descr id: 0x52, len=1 PARSE_PMT(2400 INDEX 1), STREAM: 1, FOUND pid=0x11fd (4605), type=0xffffffff, ES_DESCR_LENGTH: 10, bytes left: 19 ...descr id: 0x52, len=1 ...descr id: 0xa, len=4 Language Descriptor: eng ...descr id: 0x6a, len=3 PARSE_PMT(2400 INDEX 2), STREAM: 2, FOUND pid=0x11fa (4602), type=0x2000, ES_DESCR_LENGTH: 14, bytes left: 0 << ... more COLLECT_SECTIONs here ... >> ---------------------------- crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) crop area: X: 0..1439 Y: 0..1078 (-vf crop=1440:1078:0:0) Flushing video frames Writing index... Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Video stream: 1609.129 kbit/s (201141 B/s) size: 1013751 bytes 5.040 secs 129 frames Audio stream: 256.000 kbit/s (32000 B/s) size: 160000 bytes 5.000 secs Uninit audio filters... [libaf] Removing filter dummy uninit audio: liba52 uninit video: libmpeg2
Thanks very much for any help in advance!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
How to convert WAV/MPA/MP3 audio to AC3(DD) using Besweet
By Baldrick in forum User guidesReplies: 89Last Post: 11th Aug 2012, 16:14 -
Convert BD audio from DTS-HD to Dolby 5.1 AC3 without video?
By agent154 in forum AudioReplies: 1Last Post: 5th Apr 2012, 17:19 -
Converting or Muxing audio files (mp3 etc.) into MPEG2 TS without any video
By kary.sharma in forum AudioReplies: 1Last Post: 5th Dec 2008, 09:43 -
Converting or Muxing audio files (mp3 etc.) into MPEG2 TS without any video
By kary.sharma in forum Video ConversionReplies: 1Last Post: 5th Dec 2008, 08:07 -
Converting an AVI video with AC3 audio to an AVI video with MP3 audio
By rijulHKG in forum AudioReplies: 1Last Post: 15th Jul 2007, 00:23