Re: [Encode2mpeg-users] v0.6.0 error: libmp3lame complains about <blank> Hz sample rate
Brought to you by:
encode2mpeg
From: Giacomo C. <enc...@us...> - 2006-10-20 03:24:06
|
On Thu, Oct 19, 2006 at 02:22:43PM -0700, Adam Monsen wrote: > Ya, "-aid 128" was definitely wrong. The original command line seems to be > working if I remove "-aid 128". I'll try 1-pass or patch my > mplayer/mencoder. > > Thanks!! > > (more info below) > > On 10/19/06, Giacomo Comes <enc...@us...> wrote:[...] > > >Two pass encoding is broken in mplayer 1.0pre8. You should: > >use 1 pass encoding, or patch mplayer (see the README) or > >use a recent SVN snapshot of mplayer. > > [...] > > >But I'm sure "mplayer input.mpg -aid 128" will not :-). > > > >I think you were using -aid 128 with the encode2mpeg command line but > >the audio stream present in input.mpg does not have aid 128 but 0. > > > >Please run this time: > >mplayer -msglevel identify=6 -vo md5sum:outfile=/dev/null -ao null > >-nocache -frames 0 input.mpg > > > >and post the output. Just to be sure. > > > Here you go... > > > MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team > CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (Family: 15, Model: 1, > Stepping: 2) > CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 > > Setting up LIRC support... > mplayer: could not connect to socket > mplayer: No such file or directory > Failed to open LIRC support. > You will not be able to use your remote control. > > Playing input.mpg. > ID_VIDEO_ID=0 > ID_AUDIO_ID=0 > MPEG-PS file format detected. > VIDEO: MPEG2 480x480 (aspect 2) 29.970 fps 6000.0 kbps (750.0 kbyte/s) > ========================================================================== > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 > AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) > Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) > ========================================================================== > ID_FILENAME=input.mpg > ID_DEMUXER=mpegps > ID_VIDEO_FORMAT=0x10000002 > ID_VIDEO_BITRATE=6000000 > ID_VIDEO_WIDTH=480 > ID_VIDEO_HEIGHT=480 > ID_VIDEO_FPS=29.970 > ID_VIDEO_ASPECT=0.0000 > ID_AUDIO_CODEC=mp3 > ID_AUDIO_FORMAT=80 > ID_AUDIO_BITRATE=384000 > ID_AUDIO_RATE=48000 > ID_AUDIO_NCH=2 > ID_LENGTH=3598.19 > md5sum: Parsing suboptions. > md5sum: Suboptions parsed OK. > ========================================================================== > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough > VDec: vo config request - 480 x 480 (preferred colorspace: Mpeg PES) > Could not find matching colorspace - retrying with -vf scale... > Opening video filter: [scale] > The selected video_out device is incompatible with this codec. > Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp. > 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)) > ========================================================================== > ID_VIDEO_CODEC=mpeg12 > AO: [null] 48000Hz 2ch s16le (2 bytes per sample) > Starting playback... > > > Exiting... (End of file) Intresting. video MPEG-2 480x480 audio (most probably) mp2 384kbps It looks like you have got an mpeg for a SVCD with mpeg multichannel audio. You could be able to convert the audio to ac3 5.1 with encode2mpeg. Giacomo |