Re: [Encode2mpeg-users] encode2mpeg and mplayer
Brought to you by:
encode2mpeg
From: Osmany g. C. <osm...@ci...> - 2006-10-25 20:51:32
|
On Wed, 2006-10-25 at 16:13 -0400, Giacomo Comes wrote: > On Wed, Oct 25, 2006 at 03:41:35PM -0400, Osmany guirola Cruz wrote: > > On Wed, 2006-10-25 at 14:53 -0400, Giacomo Comes wrote: > > > On Wed, Oct 25, 2006 at 02:44:45PM -0400, Osmany guirola Cruz wrote: > > > > On Wed, 2006-10-25 at 13:35 -0400, Giacomo Comes wrote: > > > > > On Tue, Oct 24, 2006 at 03:36:30PM -0400, Osmany guirola Cruz wrote: > > > > > > Hi > > > > > > > > > > > > I have a question? > > > > > > Can i use mplayer 1 rc1 with encode2mpeg? > > > > > > i do this question because with the previous version of mplayer we have > > > > > > to apply some patches for the correct function of encode2mpeg. > > > > > > > > > > > > Thanks > > > > > > > > > > > > Osmany > > > > > > > > > > MPlayer 1.0rc1 should work fine with encode2mpeg 0.6.0. > > > > > The only problem is that encode2mpeg will fail to recognize rc1 as > > > > > a stable release and will annoy you with the warning message about > > > > > an unsupported mplayer version. > > > > > > > > > > 0.6.1 will be out soon, probably by the end of the week. > > > > > > > > > Ok i will wait for the next release , because i do some test yesterday > > > > and i got errors in 2 pass and 1 pass ... for example > > > > > > > > Pos: 5.8s 150f (11%) 7.46fps Trem: 2min 7mb A-V:0.028 > > > > [1158:150] > > > > 1 duplicate frame(s)! > > > > /usr/local/bin/encode2mpeg: line 5304: 28154 Floating point > > > > exceptionmencoder $OPTIONS ${VIDEOPASS}:vpass=1$turbo -o /dev/null > > > > "${SID[@]}" "${MENCODERARG[@]}" $AID $AUDIOPASS $F "${PLOG[@]}" > > > > > > This looks like a problem of mencoder. Is it pre8 or rc1? > > > > > > By the way, in order to understand where really is the error and what is causing it > > > I need the log and debug files. > > > > I do this test with mencoder rc1 > > > > this was my command line > > > > #encode2mpeg test.avi -vcd -n n -mpeg -encode 3:3:1 -o kk -mpegonly > > > > and this is the error output > > Pos: 5.8s 150f (11%) 8.16fps Trem: 2min 7mb A-V:0.028 > > [1158:150] > > 1 duplicate frame(s)! > > /usr/local/bin/encode2mpeg: line 5304: 757 Floating point > > exceptionmencoder $OPTIONS $VIDEOPASS "${RAWVIDEO[@]}" "${SID[@]}" > > "${MENCODERARG[@]}" $AID $AUDIOPASS $F "${MSG[@]}" >"$output".fifo > > The floating point exception indicates a problem of mencoder. > It can be due to a bug in mencoder, a bug in the compiler, > a corrupted source or bad options made by encode2mpeg. > > Do you have the same problem with mencoder 1.0pre8? No , with the previous version i did not have problems. > > If not, then the error is related to rc1. > In that case can you recompile mencoder with gcc 3.4.x and see if still > has the problem? this mencoder its compiled with gcc 4 , i will compile it with 3.4 > > > And remember to use always the option -debug when you are reporting > a problem with encode2mpeg. > > > > > > and the log file > > > > ### LOG: kk [2006-10-25 15:34:13] > > INFO: [encode2mpeg] version 0.6.0 running in Mpeg Mode > > INFO: [encode2mpeg] command line: 'test.avi -vcd -n n -mpeg -encode > > 3:3:1 -o kk -mpegonly' > > MPEG: frameformat:VCD vfr:4 vbr:1152 abr:128 asr:44100 > > audioformat:mp3 mp3:copy mpegencoder:mencoder aspect:4/3 > > MPEG: encode:3:3:1 AUDIOPASS:-oac mp3lame -lameopts preset=standard > > VIDEOPASS:-of mpeg -mpegopts format=xvcd -ovc lavc -lavcopts > > vcodec=mpeg1video: > > vrc_buf_size=327:vrc_minrate=1152:vrc_maxrate=1152:keyint=18:vmax_b_frames=2:aspect=4/3:vrc_maxrate=1152:vbitrate=1152:psnr:mbd=1:loop:mv0:vlelim=-4:v > > celim=7:trell:precmp=1:cmp=1:subcmp=1:vmax_b_frames=2 PASS:1 > > INFO: [identify] ID_VIDEO_ID=0 > > INFO: [identify] ID_AUDIO_ID=1 > > INFO: [identify] ID_CLIP_INFO_NAME0=Software > > INFO: [identify] ID_CLIP_INFO_VALUE0=MEncoder 2:0.99+1.0pre8-0ubuntu8 > > INFO: [identify] ID_CLIP_INFO_N=1 > > INFO: [identify] ID_FILENAME=test.avi > > INFO: [identify] ID_DEMUXER=avi > > INFO: [identify] ID_VIDEO_FORMAT=XVID > > INFO: [identify] ID_VIDEO_BITRATE=1050120 > > INFO: [identify] ID_VIDEO_WIDTH=672 > > INFO: [identify] ID_VIDEO_HEIGHT=368 > > INFO: [identify] ID_VIDEO_FPS=25.000 > > INFO: [identify] ID_VIDEO_ASPECT=0.0000 > > INFO: [identify] ID_AUDIO_FORMAT=85 > > INFO: [identify] ID_AUDIO_BITRATE=128000 > > INFO: [identify] ID_AUDIO_RATE=0 > > INFO: [identify] ID_AUDIO_NCH=0 > > INFO: [identify] ID_LENGTH=60.04 > > INFO: [identify] ID_VIDEO_CODEC=ffodivx > > INFO: [identify] ID_AUDIO_BITRATE=128000 > > INFO: [identify] ID_AUDIO_RATE=44100 > > INFO: [identify] ID_AUDIO_NCH=2 > > INFO: [identify] ID_AUDIO_CODEC=mp3 > > INFO: [identify] ID_VIDEO_ASPECT=1.8261 > > In this case isn't better to use -mpegfixaspect? > > > INFO: [MENCODERARG] test.avi -ofps 30000/1001 -vf > > scale=352:240,harddup > > INFO: [MPLAYERYUVOPT] kk.mpeg -noframedrop -v -osdlevel 0 -vo > > yuv4mpeg:file=/dev/fd/4 -nosound -benchmark > > INFO: [YUVSCALEROPT] -v 1 -n n -O VCD > > INFO: [MPEG2ENCOPT] -f 2 -b 1152 -V 46 -B 137 -4 2 -2 1 -R 2 -g 9 -G > > 18 -v 1 -S 50000 -n n -F 4 -s -r 16 > > INFO: [MPLEXOPT] -f 2 -V -b 46 -r 5120 > > INFO: [VCDIMAGEROPT] -t vcd2 > > INFO: [CDRDAOOPT] --driver generic-mmc --device 0,0,0 > > INFO: [GROWISOFSOPT] -dvd-compat -Z /dev/cdrecorder -dvd-video > > INFO: [mencoder] MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team > > INFO: [mencoder] ==> Found video stream: 0 > > INFO: [mencoder] ==> Found audio stream: 1 > > MPEG: VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1152.0 kbps > > (144.0 kbyte/s) > > MPEG: AUDIO[0]: MPEG 1.0, Layer III, 44100 Hz 160 kbit Joint-Stereo, > > BPF: 522 > > MPEG: kk.mpg is 999320 bytes, 975.9 KB > > JOBEND: kk [2006-10-25 15:35:14] (0h1m2s) > > skip=15^M > > > > > > then i do > > > > encode2mpeg test.avi -vcd -n n -mpeg -encode 3:3:2 -o kk -mpegonly > > > > and got in the first pass > > > > 1 duplicate frame(s)! > > Pos: 5.8s 150f (11%) 11.25fps Trem: 1min 7mb A-V:0.028 > > [1158:150] > > 1 duplicate frame(s)! > > /usr/local/bin/encode2mpeg: line 5304: 1049 Floating point > > exceptionmencoder $OPTIONS ${VIDEOPASS}:vpass=1$turbo -o /dev/null > > "${SID[@]}" "${MENCODERARG[@]}" $AID $AUDIOPASS $F "${PLOG[@]}" > > Same error as before. > > > > > and in the second pass > > > > Pos: 5.2s 135f ( 9%) 8.26fps Trem: 2min 7mb A-V:0.028 > > [1151:150] > > 1 duplicate frame(s)! > > mencoder: ratecontrol.c:685: ff_rate_estimate_qscale: Assertion > > `picture_number<rcc->num_entries' failed. > > /usr/local/bin/encode2mpeg: line 5304: 1063 Aborted > > mencoder $OPTIONS ${VIDEOPASS}:vpass=2 "${RAWVIDEO[@]}" "${SID[@]}" > > "${MENCODERARG[@]}" $AID $AUDIOPASS $F "${PLOG[@]}" "${MSG[@]}" > > >"$output".fifo > > > > The second pass is failing because the first one failed too. > > [....] > > Giacomo > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Encode2mpeg-users mailing list > Enc...@li... > https://lists.sourceforge.net/lists/listinfo/encode2mpeg-users |