encode2mpeg-users Mailing List for the mpeg frontend
Brought to you by:
encode2mpeg
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(19) |
Nov
(7) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(23) |
Feb
(7) |
Mar
(4) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(2) |
Sep
(11) |
Oct
(30) |
Nov
(1) |
Dec
(6) |
2007 |
Jan
(5) |
Feb
(2) |
Mar
(2) |
Apr
|
May
(4) |
Jun
(1) |
Jul
|
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(5) |
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: B N. <bp...@gm...> - 2009-02-20 20:16:35
|
Hi! I'm trying to convert an MP4 file to an AVI for use in my Philips DVP-642, using encode2mpeg 0.6.4, MEncoder 1.0rc2-4.2.3, and bash 3.1.17(2)-release. I run this command: encode2mpeg -o ted.avi -n n -avionly -profile DivXHT ../ted01.mp4 ... and get this in the terminal: /usr/local/bin/encode2mpeg: line 5736: ((: step >1 && <10800: syntax error: operand expected (error token is "<10800") [STDERR] ++ WARN: [encode2mpeg] mp2enc missing, using libavcodec instead [STDOUT] ... and then nothing, except ted.avi.log grows without bound. It contains: ### LOG: ted.avi [2009-02-20 14:01:59] INFO: [encode2mpeg] version 0.6.4 running in Vobsub Mode INFO: [encode2mpeg] command line: '-o ted.avi -n n -avionly -profile DivXHT ../ted01.mp4' ++ WARN: [encode2mpeg] mp2enc missing, using libavcodec instead MPEG: frameformat:VCD frameformat:VCD frameformat:VCD [repeating indefinitely] If I run encode2mpeg with "sh -x", I get the following: + logvar ' MPEG: ' + local i + echo -n ' MPEG: ' + (( i=0 )) + (( i < 8 )) + echo + echo 'frameformat:VCD ' + (( i++ )) + (( i < 8 )) + echo + echo 'frameformat:VCD ' + (( i++ )) [repeating indefinitely] Now if I disable logging by putting a "return" at line 6024, I pass that point, but then my log file gets stuck on this: INFO: [MPLAYERYUVOPT] ../ted01.mp4 -vf harddup -noframedrop -v -osdlevel 0 -vo yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%11%ted.avi.wav INFO: [MPLAYERYUVOPT] ../ted01.mp4 -vf harddup -noframedrop -v -osdlevel 0 -vo yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%11%ted.avi.wav [...] ... and the shell script is repeating this: + (( i<1 )) + s='INFO: \[MPLAYERYUVOPT] ${MPLAYERYUVOPT[*]}' + eval echo '\ \ \ INFO: \[MPLAYERYUVOPT] ${MPLAYERYUVOPT[*]}' ++ echo ' INFO:' '[MPLAYERYUVOPT]' ../ted01.mp4 -vf harddup -noframedrop -v -osdlevel 0 -vo yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%11%ted.avi.wav + (( i++ )) + (( i<1 )) + s='INFO: \[MPLAYERYUVOPT] ${MPLAYERYUVOPT[*]}' + eval echo '\ \ \ INFO: \[MPLAYERYUVOPT] ${MPLAYERYUVOPT[*]}' ++ echo ' INFO:' '[MPLAYERYUVOPT]' ../ted01.mp4 -vf harddup -noframedrop -v -osdlevel 0 -vo yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%11%ted.avi.wav + (( i++ )) So, it's looking to me like my shell isn't liking some of the constructs in encode2mpeg, but bash shell scripts aren't my strong point. To tell the truth, I'm playing with encode2mpeg just to extract the mencoder command-line options necessary to create a DVP-642-compatible file, so if anyone has those handy and can provide them, I'd happily thank you and go on my way. Or if I can get encode2mpeg working somehow, that would be great, too. I'd be happy to do more testing or provide more information. Thanks, Brian |
From: Giacomo C. <enc...@us...> - 2009-02-19 14:06:50
|
On Thu, Feb 19, 2009 at 12:11:54PM +0100, Berardino la Torre wrote: > Hi All, > > I'm trying to extract the text (srt) subtitles from a dvd. So as reported in > the documentation: > > http://encode2mpeg.sourceforge.net/html/ocr.html > > I run the command: > > encode2mpeg -o movie dvd://1 -avionly -ocr -addsub 0,1 > > but there is no way to do it work! > > encode2mpeg exit allways with the same warning message below: > > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled encode2mpeg uses spumux/spuunmux to demux/mux dvd subtitles. if they are missing, then no demux is possible. Install dvdauthor and pay more attention to the output messages. I suspect you will get more of them :-(. Also keep in mind that: 1) text subtitles conversion is not a well tested feature. 2) results vary a lot depending of the ocr engine. Also I remember I had better results with tesseract 2.01 than 2.03, but probably it depends of the graphics subtitle source. In any case DO NOT use any vertion of tesseract newer than 2.03. 3) until you are sure you have all the needed tools installed, use a simpler command line: extract only one subtitle (-addsub 0), extract only a small part of them (-addchapter 1-2), copy the dvd image to the hard-disk and use -dvd-device <image_path> it will speed-up a lot your tests. 4) be prepared to hand edit the extracted subtitles. Ask here if you still have troubles. Giacomo > ++ WARN: [ocr] no subtitle selected with -addsub > WARNING you have an unsupported version of MPlayer [2:1.0~rc2-0ubuntu17] > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled > ++ WARN: [ocr] no subtitle selected with -addsub > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled > ++ WARN: [ocr] no subtitle selected with -addsub > > I tried to googling for info...but seems that there're not too much people > posting information about to convert subvob to text (srt) subtitles. > > Can anyone help me do it ? > > > Thanks in advance. > > The log: > > > ### LOG: movie [2009-02-19 12:02:42] > INFO: [encode2mpeg] version 0.6.4 running in Ocr Mode (cpu=2) > INFO: [encode2mpeg] command line: '-o movie dvd://1 -avionly -ocr -addsub > 0,1' > ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled > ++ WARN: [ocr] no subtitle selected with -addsub > MPEG: frameformat:VCD split:800 vfr: vbr:1152 abr:224 asr:44100 > audioformat:mp2 mp2:mp2enc mpegencoder:mpeg2enc > SUB: ocr:tesseract > INFO: [identify] ID_DVD_TITLES=5 > INFO: [identify] ID_DVD_TITLE_1_CHAPTERS=33 > INFO: [identify] ID_DVD_TITLE_1_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_2_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_2_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_3_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_3_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_4_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_4_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_5_CHAPTERS=1 > INFO: [identify] ID_DVD_TITLE_5_ANGLES=1 > INFO: [identify] ID_DVD_TITLE_1_LENGTH=7626.000 > INFO: [identify] ID_DVD_TITLE_2_LENGTH=12.800 > INFO: [identify] ID_DVD_TITLE_3_LENGTH=49.160 > INFO: [identify] ID_DVD_TITLE_4_LENGTH=47.800 > INFO: [identify] ID_DVD_TITLE_5_LENGTH=47.800 > INFO: [identify] ID_DVD_DISC_ID=526972D6F55EBE812EDEFE53D9CA526D > INFO: [identify] ID_DVD_CURRENT_TITLE=1 > INFO: [identify] ID_AUDIO_ID=128 > INFO: [identify] ID_AID_128_LANG=en > INFO: [identify] ID_AUDIO_ID=129 > INFO: [identify] ID_AID_129_LANG=it > INFO: [identify] ID_SUBTITLE_ID=0 > INFO: [identify] ID_SID_0_LANG=en > INFO: [identify] ID_SUBTITLE_ID=1 > INFO: [identify] ID_SID_1_LANG=da > INFO: [identify] ID_SUBTITLE_ID=2 > INFO: [identify] ID_SID_2_LANG=fi > INFO: [identify] ID_SUBTITLE_ID=3 > INFO: [identify] ID_SID_3_LANG=it > INFO: [identify] ID_SUBTITLE_ID=4 > INFO: [identify] ID_SID_4_LANG=no > INFO: [identify] ID_SUBTITLE_ID=5 > INFO: [identify] ID_SID_5_LANG=sv > INFO: [identify] ID_SUBTITLE_ID=6 > INFO: [identify] ID_SID_6_LANG=it > INFO: [identify] ID_SUBTITLE_ID=7 > INFO: [identify] ID_SID_7_LANG=it > INFO: [identify] ID_VIDEO_ID=0 > INFO: [identify] ID_FILENAME=dvd://1 > INFO: [identify] ID_DEMUXER=mpegps > INFO: [identify] ID_VIDEO_FORMAT=0x10000002 > INFO: [identify] ID_VIDEO_BITRATE=7500000 > 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=0 > INFO: [identify] ID_AUDIO_RATE=0 > INFO: [identify] ID_AUDIO_NCH=0 > INFO: [identify] ID_LENGTH=7626.00 > INFO: [identify] ID_VIDEO_CODEC=mpeg12 > INFO: [identify] ID_AUDIO_BITRATE=384000 > INFO: [identify] ID_AUDIO_RATE=48000 > INFO: [identify] ID_AUDIO_NCH=2 > INFO: [identify] ID_AUDIO_CODEC=a52 > INFO: [identify] ID_VIDEO_ASPECT=1.7778 > INFO: [MPLAYERYUVOPT] dvd://1 -noframedrop -v -osdlevel 0 -vo > yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%9%movie.wav > INFO: [YUVSCALEROPT] -v 1 -n -O VCD > INFO: [MPEG2ENCOPT] -f 2 -b 1152 -V 46 -B 235 -4 2 -2 1 -R 2 -M 2 -v 1 -S > 800 -n -F -s -r 16 > INFO: [MPLEXOPT] -f 2 -V -b 46 -r 5504 > INFO: [VCDIMAGEROPT] -t vcd2 > INFO: [CDRDAOOPT] --driver generic-mmc --device 0,0,0 > INFO: [GROWISOFSOPT] -dvd-compat -Z /dev/cdrecorder -dvd-video > JOBEND: movie [2009-02-19 12:02:44] (0h0m2s) |
From: Berardino la T. <ber...@gm...> - 2009-02-19 11:12:02
|
Hi All, I'm trying to extract the text (srt) subtitles from a dvd. So as reported in the documentation: http://encode2mpeg.sourceforge.net/html/ocr.html I run the command: encode2mpeg -o movie dvd://1 -avionly -ocr -addsub 0,1 but there is no way to do it work! encode2mpeg exit allways with the same warning message below: ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled ++ WARN: [ocr] no subtitle selected with -addsub WARNING you have an unsupported version of MPlayer [2:1.0~rc2-0ubuntu17] ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled ++ WARN: [ocr] no subtitle selected with -addsub ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled ++ WARN: [ocr] no subtitle selected with -addsub I tried to googling for info...but seems that there're not too much people posting information about to convert subvob to text (srt) subtitles. Can anyone help me do it ? Thanks in advance. The log: ### LOG: movie [2009-02-19 12:02:42] INFO: [encode2mpeg] version 0.6.4 running in Ocr Mode (cpu=2) INFO: [encode2mpeg] command line: '-o movie dvd://1 -avionly -ocr -addsub 0,1' ++ WARN: [encode2mpeg] spuunmux or spumux missing, -addsub disabled ++ WARN: [ocr] no subtitle selected with -addsub MPEG: frameformat:VCD split:800 vfr: vbr:1152 abr:224 asr:44100 audioformat:mp2 mp2:mp2enc mpegencoder:mpeg2enc SUB: ocr:tesseract INFO: [identify] ID_DVD_TITLES=5 INFO: [identify] ID_DVD_TITLE_1_CHAPTERS=33 INFO: [identify] ID_DVD_TITLE_1_ANGLES=1 INFO: [identify] ID_DVD_TITLE_2_CHAPTERS=1 INFO: [identify] ID_DVD_TITLE_2_ANGLES=1 INFO: [identify] ID_DVD_TITLE_3_CHAPTERS=1 INFO: [identify] ID_DVD_TITLE_3_ANGLES=1 INFO: [identify] ID_DVD_TITLE_4_CHAPTERS=1 INFO: [identify] ID_DVD_TITLE_4_ANGLES=1 INFO: [identify] ID_DVD_TITLE_5_CHAPTERS=1 INFO: [identify] ID_DVD_TITLE_5_ANGLES=1 INFO: [identify] ID_DVD_TITLE_1_LENGTH=7626.000 INFO: [identify] ID_DVD_TITLE_2_LENGTH=12.800 INFO: [identify] ID_DVD_TITLE_3_LENGTH=49.160 INFO: [identify] ID_DVD_TITLE_4_LENGTH=47.800 INFO: [identify] ID_DVD_TITLE_5_LENGTH=47.800 INFO: [identify] ID_DVD_DISC_ID=526972D6F55EBE812EDEFE53D9CA526D INFO: [identify] ID_DVD_CURRENT_TITLE=1 INFO: [identify] ID_AUDIO_ID=128 INFO: [identify] ID_AID_128_LANG=en INFO: [identify] ID_AUDIO_ID=129 INFO: [identify] ID_AID_129_LANG=it INFO: [identify] ID_SUBTITLE_ID=0 INFO: [identify] ID_SID_0_LANG=en INFO: [identify] ID_SUBTITLE_ID=1 INFO: [identify] ID_SID_1_LANG=da INFO: [identify] ID_SUBTITLE_ID=2 INFO: [identify] ID_SID_2_LANG=fi INFO: [identify] ID_SUBTITLE_ID=3 INFO: [identify] ID_SID_3_LANG=it INFO: [identify] ID_SUBTITLE_ID=4 INFO: [identify] ID_SID_4_LANG=no INFO: [identify] ID_SUBTITLE_ID=5 INFO: [identify] ID_SID_5_LANG=sv INFO: [identify] ID_SUBTITLE_ID=6 INFO: [identify] ID_SID_6_LANG=it INFO: [identify] ID_SUBTITLE_ID=7 INFO: [identify] ID_SID_7_LANG=it INFO: [identify] ID_VIDEO_ID=0 INFO: [identify] ID_FILENAME=dvd://1 INFO: [identify] ID_DEMUXER=mpegps INFO: [identify] ID_VIDEO_FORMAT=0x10000002 INFO: [identify] ID_VIDEO_BITRATE=7500000 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=0 INFO: [identify] ID_AUDIO_RATE=0 INFO: [identify] ID_AUDIO_NCH=0 INFO: [identify] ID_LENGTH=7626.00 INFO: [identify] ID_VIDEO_CODEC=mpeg12 INFO: [identify] ID_AUDIO_BITRATE=384000 INFO: [identify] ID_AUDIO_RATE=48000 INFO: [identify] ID_AUDIO_NCH=2 INFO: [identify] ID_AUDIO_CODEC=a52 INFO: [identify] ID_VIDEO_ASPECT=1.7778 INFO: [MPLAYERYUVOPT] dvd://1 -noframedrop -v -osdlevel 0 -vo yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%9%movie.wav INFO: [YUVSCALEROPT] -v 1 -n -O VCD INFO: [MPEG2ENCOPT] -f 2 -b 1152 -V 46 -B 235 -4 2 -2 1 -R 2 -M 2 -v 1 -S 800 -n -F -s -r 16 INFO: [MPLEXOPT] -f 2 -V -b 46 -r 5504 INFO: [VCDIMAGEROPT] -t vcd2 INFO: [CDRDAOOPT] --driver generic-mmc --device 0,0,0 INFO: [GROWISOFSOPT] -dvd-compat -Z /dev/cdrecorder -dvd-video JOBEND: movie [2009-02-19 12:02:44] (0h0m2s) |
From: Adam M. <ha...@gm...> - 2008-09-01 18:02:34
|
Just curious if anyone has tips on encode2mpeg settings that could/should be used to create video optimized for an Apple iPhone. >From http://apple.com/iphone/specs.html ... "Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats" It seems particularly difficult, for instance, to reencode .avi files with DivX video into an .mp4 that the iPhone likes, but I thought encode2mpeg might be able to do it. -- Adam Monsen |
From: JohnG <4p...@gm...> - 2008-02-10 22:08:50
|
Giacomo Comes wrote: > > The avi made using -lavf should play without desync on the DVP 642. > Check about the Samsung. > > Let me know the results. > > Giacomo > Ok, a P.S. I did experience some minor A/V sync with the Samsung. I tried the -lavf option but got the problem of FMP4 being invalid on the Samsung. Mencoder ignored -ffourcc XVID and has been doing so for about two years now! The MPlayer team is tone deaf(pun intended) on this. I then tried to change FMP4 to XVID with the -vtag option of ffmpeg and the results were the worst yet. All audio went silent upon playback at around 2/3 through the file. I would like to try to hex edit the FMP4 to XVID but I will need someone's help on how to do this. John |
From: JohnG <4p...@gm...> - 2008-02-08 23:04:23
|
> I have seen that mencoder's avi muxer has more than one problem. > You can try to use the libavformat muxer and see what kind of > results you have. Add to your command line the option "-lavf". > > Keep in mind the following when using -lavf: > - encode2mpeg 0.6.4 works ONLY with MPlayer1.0rc1 > - do not use bframes if you encode the video (add -bframes 0) > - the option -noodml does not work (do not exceed 1GB file size) > > The avi made using -lavf should play without desync on the DVP 642. > I have lost all interest in the DVP-642. I got nowhere with it despite two years passing. It is a sorry player. OTOH, I have had the Samsung ONE week today and I am re-transcoding and playing avi files already! I am having no problem with >1GB avi files. > Check about the Samsung. > A few minutes ago I posted a solution that I am using right now for files with ac3(3f+2r+lfe). The script was was used on a 4.4GB mkv file: VIDEO: [avc1] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s The output avi file is 1.3GB: VIDEO: [XVID] 720x480 12bpp 23.976 fps 1565.9 kbps (191.1 kbyte/s) AC3: 5.1 (3f+2r+lfe) 48000 Hz 224.0 kbit/s Note; the 224 rate is there because I had not yet added 320 to the script. It sounds fine, but I will re-encode it to 320 soon. I expect 1.5GB file size. My receiver autodetects the 5.1. In fact it automatically synthesizes surround-back so I end up with 6.1. Perhaps the audio is ES. I know the 5.1 channels are correct because I tested with a 'home theater setup & calibration' CD. > Let me know the results. > > Giacomo > > I have also used this script on a 6.6GB mkv file with dts: #!/bin/bash #transcodes DTS #mencoder cannot copy ac3: copy does NOT work!!!!! Got it? #mencoder borks the channel mapping, so the -af channel mapping! #also, fix video to play on xvid capable DVD Player - Samsung 1080P7 #-af channels=6:6:0:0:1:2:2:3:3:5:4:1:5:4 # and for AAC -af channels=6:6:0:4:1:0:2:1:3:2:4:3:5:5 #2008-02-08 jwg 6 ch dts decoding is currently broken -channels 6 \ #MPlayer 2:1.0~rc1-0ubuntu9.2 (C) 2000-2006 MPlayer Team FDATE=`date -I` INFILE=$1 ENDPOS=$2 OUTFILE=$3 EXTRA=$4 PROFILE='dxnhtntsc' #1.4GB = 1,400,000,000 VIDBITRATE=2000 echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo $0 $INFILE $ENDPOS $OUTFILE $FDATE $VIDBITRATE $PROFILE # mencoder -vf expand=aspect=16/9,scale=720:480\ -endpos $ENDPOS:00\ -oac lavc -lavcopts threads=2:acodec=ac3:abitrate=320\ -ovc xvid\ -xvidencopts threads=2:autoaspect:noqpel:nogmc:bitrate=$VIDBITRATE:profile=$PROFILE\ -o $OUTFILE.avi\ $INFILE echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" #mplayer -v -vo null -ao null -frames 0 *.avi --------------------------------- Since DTS seems also to be borked, I let the DTS downsample to 2-channel and then out as ac3(2.0). My receiver autodetects this as 2.0. This then plays as stereo plus subwoofer(2.1). If I select synthesize PL II Mov on the receiver, I get 5.1. I have no idea, however, if the channels are correct. Regards; John |
From: Giacomo C. <enc...@us...> - 2008-02-08 20:52:14
|
On Fri, Feb 08, 2008 at 12:09:15PM -0600, JohnG wrote: > On Mon, 16 Oct 2006 12:05:00 -0400, Giacomo Comes wrote: > > > I have found what seems to me a problem with avi created by mencoder > > containing ac3 audio and the Philips DVP 642 dvd player. > > > > Consider the file > > > "http://n.ethz.ch/student/fhoesli/video/Feature-Test-DivX.Certified-Only.('20th').avi" > > > > It has mpeg-4 video and ac3 audio. The file plays fine on the Philips > > DVP 642. (using ac3 spdif) > > Now I just make a new avi using mencoder with: > > > > mencoder -ovc copy -o test.avi > > "Feature-Test-DivX.Certified-Only.('20th').avi" -oac copy > > > > The file test.avi plays on the DVP642, but if I use ac3 spdif the audio > > and video are out of sync of 1-2 seconds. > <snip> > > > > Giacomo > > I believe I have found an explanation, and that -oac copy is the cause. > Using: MEncoder 2:1.0~rc1-0ubuntu9.2 (C) 2000-2006 MPlayer Team > > I recently got a newer DVD Player(Samsung 1080P7) and it will not play ANY > avi created with -oac copy as above. The audio comes out in chirps and > the video in jerks at about 5 second intervals. > > The Player has a digital counter. During play, the counter sequences up > to 5 and then returns to 2. Next it runs up to 6 and then returns to 2 > again. This pattern repeats 2-6, 2-7, 2-8, 2-9, etc. Eventually the > counter returns to 3 and the pattern begins with 3-n. > > Is it possible that the avi is not interleaved correctly and therefore is > unplayable on CD/DVD media? > > John I have seen that mencoder's avi muxer has more than one problem. You can try to use the libavformat muxer and see what kind of results you have. Add to your command line the option "-lavf". Keep in mind the following when using -lavf: - encode2mpeg 0.6.4 works ONLY with MPlayer1.0rc1 - do not use bframes if you encode the video (add -bframes 0) - the option -noodml does not work (do not exceed 1GB file size) The avi made using -lavf should play without desync on the DVP 642. Check about the Samsung. Let me know the results. Giacomo |
From: JohnG <4p...@gm...> - 2008-02-08 20:42:20
|
Robert Focht wrote: > Try it using tovid to encode and see what happens. Won't do that. I moved to encode2mpeg way back when tovid was recoded from script to python. > Tovid uses enc2mpeg as default for encoding, but there is a -ffmpeg > switch. Using 'Gutsy' Won't use Gutsy as well. I tried the 'upgrade' and lost virtualbox right off. I re-installed Feisty. > my .avi have been encoding well with tovid (but not in 'Feisty') > I have a solution already: #!/bin/bash #transcodes AC3: 5.1 (3f+2r+lfe) #mencoder cannot copy ac3: copy does NOT work!!!!! Got it? #mencoder borks the channel mapping, so the -af channel mapping below! #also, fix video to play on xvid capable DVD Player - Samsung 1080P7 FDATE=`date -I` INFILE=$1 ENDPOS=$2 OUTFILE=$3 PROFILE='dxnhtntsc' VIDBITRATE=2000 echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo $0 $INFILE $ENDPOS $OUTFILE $FDATE $VIDBITRATE $PROFILE # mencoder -vf expand=aspect=16/9,scale=720:480\ -endpos $ENDPOS:00\ -channels 6 -af channels=6:6:0:0:4:1:1:2:2:3:3:4:5:5\ -oac lavc -lavcopts acodec=ac3:abitrate=320\ -ovc xvid\ -xvidencopts threads=2:autoaspect:noqpel:nogmc:bitrate=$VIDBITRATE:profile=$PROFILE\ -o $OUTFILE.avi\ $INFILE echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" #mplayer -v -vo null -ao null -frames 0 *.avi Regards; John ------------------------------------------------------------------------------ A: Because it destroys the flow of conversation. Q: Why is top posting dumb? |
From: Robert F. <rob...@gm...> - 2008-02-08 18:50:56
|
Try it using tovid to encode and see what happens. Tovid uses enc2mpeg as default for encoding, but there is a -ffmpeg switch. Using 'Gutsy' my .avi have been encoding well with tovid (but not in 'Feisty') On Feb 8, 2008 1:09 PM, JohnG <4p...@gm...> wrote: > On Mon, 16 Oct 2006 12:05:00 -0400, Giacomo Comes wrote: > > > I have found what seems to me a problem with avi created by mencoder > > containing ac3 audio and the Philips DVP 642 dvd player. > > > > Consider the file > > > " > http://n.ethz.ch/student/fhoesli/video/Feature-Test-DivX.Certified-Only.('20th').avi<http://n.ethz.ch/student/fhoesli/video/Feature-Test-DivX.Certified-Only.%28%2720th%27%29.avi> > " > > > > It has mpeg-4 video and ac3 audio. The file plays fine on the Philips > > DVP 642. (using ac3 spdif) > > Now I just make a new avi using mencoder with: > > > > mencoder -ovc copy -o test.avi > > "Feature-Test-DivX.Certified-Only.('20th').avi" -oac copy > > > > The file test.avi plays on the DVP642, but if I use ac3 spdif the audio > > and video are out of sync of 1-2 seconds. > <snip> > > > > Giacomo > > I believe I have found an explanation, and that -oac copy is the cause. > Using: MEncoder 2:1.0~rc1-0ubuntu9.2 (C) 2000-2006 MPlayer Team > > I recently got a newer DVD Player(Samsung 1080P7) and it will not play ANY > avi created with -oac copy as above. The audio comes out in chirps and > the video in jerks at about 5 second intervals. > > The Player has a digital counter. During play, the counter sequences up > to 5 and then returns to 2. Next it runs up to 6 and then returns to 2 > again. This pattern repeats 2-6, 2-7, 2-8, 2-9, etc. Eventually the > counter returns to 3 and the pattern begins with 3-n. > > Is it possible that the avi is not interleaved correctly and therefore is > unplayable on CD/DVD media? > > John > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Encode2mpeg-users mailing list > Enc...@li... > https://lists.sourceforge.net/lists/listinfo/encode2mpeg-users > -- DLI Alumni & Friends Community at http://www.dliflc.org |
From: JohnG <4p...@gm...> - 2008-02-08 18:09:23
|
On Mon, 16 Oct 2006 12:05:00 -0400, Giacomo Comes wrote: > I have found what seems to me a problem with avi created by mencoder > containing ac3 audio and the Philips DVP 642 dvd player. > > Consider the file > "http://n.ethz.ch/student/fhoesli/video/Feature-Test-DivX.Certified-Only.('20th').avi" > > It has mpeg-4 video and ac3 audio. The file plays fine on the Philips > DVP 642. (using ac3 spdif) > Now I just make a new avi using mencoder with: > > mencoder -ovc copy -o test.avi > "Feature-Test-DivX.Certified-Only.('20th').avi" -oac copy > > The file test.avi plays on the DVP642, but if I use ac3 spdif the audio > and video are out of sync of 1-2 seconds. <snip> > > Giacomo I believe I have found an explanation, and that -oac copy is the cause. Using: MEncoder 2:1.0~rc1-0ubuntu9.2 (C) 2000-2006 MPlayer Team I recently got a newer DVD Player(Samsung 1080P7) and it will not play ANY avi created with -oac copy as above. The audio comes out in chirps and the video in jerks at about 5 second intervals. The Player has a digital counter. During play, the counter sequences up to 5 and then returns to 2. Next it runs up to 6 and then returns to 2 again. This pattern repeats 2-6, 2-7, 2-8, 2-9, etc. Eventually the counter returns to 3 and the pattern begins with 3-n. Is it possible that the avi is not interleaved correctly and therefore is unplayable on CD/DVD media? John |
From: JohnG <4p...@gm...> - 2008-02-07 17:16:56
|
Giacomo; http://sourceforge.net/mailarchive/message.php?msg_name=20061016151954.GA22595%40monopoli.naic.edu What did you find out? Regards; John |
From: Roger A. <ro...@br...> - 2008-01-30 21:13:05
|
Giacomo Comes wrote: > Just to resume, encode2mpeg will continue to be updated following the > developement of MPlayer/MEncoder. New stuff will appear, but no fixed > roadmap exists. > > Giacomo > > Thanks for fast reply. I'm quite happy with that, good job on the care and feeding of mencoder's constant changes. Though ffmpeg never fails me, whatever you'd choose better look for future proofing and cut down on work in the long run. :) Regards, Roger |
From: Giacomo C. <enc...@us...> - 2008-01-30 21:01:07
|
On Wed, Jan 30, 2008 at 09:27:47PM +0100, Roger Andreassen wrote: > Giacomo Comes wrote: > > On Thu, Jan 24, 2008 at 07:37:22AM -0800, Osmany Guirola wrote: > > > >> Hi > >> when will be released the next version? > >> > >> Thanks > >> Osmany > > > > Standard answer apply: when it's ready :-). > > > > Seriously, probably I will do a release by the end of > > February/begin of March. > > In the last weeks I was very busy so, although I have done > > enough work for a new release, I haven't finish to do > > all the things I have in mind. > > > > I will try to add what is missing in the next weeks. > > > > Giacomo > > > My standard question: what is the roadmap to further advance this > brilliant program? I'm happy to say it's working without any major > niggles under Gentoo although I do like to feed the patches running the > Slackware machine. > > I'm asking is there any plans for a GUI or may you shine a light on what > you have in store. > > Regards, > > Roger. Right now, encode2mpeg has all the major features I had in mind. I continue to add small features depending on my needs or user requests. I wanted to add support for other hardware players besides DVD/VCD players and DivX avi players (like iPod and other portable devices), but I don't have any hardware to test with. Unless somebody give me any of such devices for testing or I feel the need to buy one, such support may not happen soon. After this summer I was thinking to start to work on the GUI and I have no idea how long it will take to finish it. But this plan may change. I am quite unhappy about the recent development of mencoder (the delay in the release of 0.7.0 is also due to that). Every new release has new bugs and some of the one I reported apparently will never be fixed. It looks like ffmpeg would be the tool to prefer for encoding instead of mencoder. Unfortunately replacing mencoder or just adding support for ffmpeg requires a lot of work and I'm still thinking about what to do. Just to resume, encode2mpeg will continue to be updated following the developement of MPlayer/MEncoder. New stuff will appear, but no fixed roadmap exists. Giacomo |
From: Roger A. <ro...@br...> - 2008-01-30 20:28:28
|
Giacomo Comes wrote: > On Thu, Jan 24, 2008 at 07:37:22AM -0800, Osmany Guirola wrote: > >> Hi >> when will be released the next version? >> >> Thanks >> Osmany >> > > Standard answer apply: when it's ready :-). > > Seriously, probably I will do a release by the end of > February/begin of March. > In the last weeks I was very busy so, although I have done > enough work for a new release, I haven't finish to do > all the things I have in mind. > > I will try to add what is missing in the next weeks. > > Giacomo > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Encode2mpeg-users mailing list > Enc...@li... > https://lists.sourceforge.net/lists/listinfo/encode2mpeg-users > > My standard question: what is the roadmap to further advance this brilliant program? I'm happy to say it's working without any major niggles under Gentoo although I do like to feed the patches running the Slackware machine. I'm asking is there any plans for a GUI or may you shine a light on what you have in store. Regards, Roger. |
From: Giacomo C. <enc...@us...> - 2008-01-30 20:19:39
|
On Thu, Jan 24, 2008 at 07:37:22AM -0800, Osmany Guirola wrote: > Hi > when will be released the next version? > > Thanks > Osmany Standard answer apply: when it's ready :-). Seriously, probably I will do a release by the end of February/begin of March. In the last weeks I was very busy so, although I have done enough work for a new release, I haven't finish to do all the things I have in mind. I will try to add what is missing in the next weeks. Giacomo |
From: Osmany G. <osm...@ya...> - 2008-01-24 15:37:32
|
Hi when will be released the next version? Thanks Osmany ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: Giacomo C. <enc...@us...> - 2007-10-18 20:42:23
|
Announcing the release of encode2mpeg 0.6.4 This is the final release supporting MPlayer 1.0rc1 Highlights for the current release includes: - menu can be 4/3 16/9noletterbox 16/9nopanscan the default is inow 16/9noletterbox instead of 4/3 there is practically no difference if you have a 4/3 TV set - the buttons of the Root menu have a nicer look - dropped support for mjpegtools 1.6.2 and old dvdauthor releases - several bugfixes Giacomo |
From: Giacomo C. <enc...@us...> - 2007-09-08 21:46:13
|
On Sat, Sep 08, 2007 at 08:10:15AM -0400, Osmany Guirola Cruz wrote: > Hi > is it posible do frame rate conversion in Direct mode? > How? Try the option -usespeed. If the input file has constant frame rate it should work. The audio pitch will change but if the frame rate difference is nor big, it could be acceptable. Giacomo |
From: Giacomo C. <enc...@us...> - 2007-09-08 21:20:28
|
On Sat, Sep 08, 2007 at 12:06:32AM -0400, Dave wrote: > Hello, > I'm using FreeBSD 6.2 and want to encode many media files of various > formats, .mpg, .avi, .wmv, etc. various aspect ratios etc. to ntsc-compliant > dvd videos to burn to dvd and play on a standard dvd player. I've had a time > wrapping around the mplayer/mencoder/ffmpeg docs and the encode2mpeg docs, > but i think i might almost have a working commandline. > I want to have multiple videos on a dvd, and a menu to select which i > want to watch, i'd also like to convert the audio from stereo to 5.1 > surround sound. Here's my commandline as it stands now: > > encode2mpeg -o outputfilename.ext -a 2 -vfr 1 -n n -p -dvd -menu -stdvid -a 2 is the default, you can omit it. > 9 -mpegchannels 6 -normalize -imageonly -usespeed -videos video1.mpg the command line will fail because mp2 audio (the default of -stdvid 9) cannot have 6 channels. Set ac3 audio with -encode 6:3:2 Also do not use the option -usespeed you can consider it an "advanced" option that I recomend you to use later once you have more confidence with encode2mpeg. > video2.avi > > My first question has to do with the -vfr option. I'm uncertain as to > whether it should be > -vfr 1 > > or > > -vfr 4 > > I read in longhelp about -vfr and it looks like 4 is it, but then in i think > it was the mpeg mode html doc it said that -vfr 1 -p would be better. NTSC requires 30000/1001 fps (-vfr 4), but it can also use 24000/1001 fps telecined (-vfr 1 -p). In encode2mpeg the default for ntsc (-n n) is: -vfr 1 -p simply because it makes a smaller output file. If your source has 24fps or less that's the way to go. If your source has a higher fps, with -vfr 1 there will be discarded frames during the encoding. If the output doesn't look satisfactory then you can set 30000/1001 fps with -vfr 4 > Next, for the -encode option i am uncertain as to the value i should > plug in for n:m:i, there's many codecs i believe i want mp2 video and ac3 > audio, but am hazey on this point. You should use -encode 6:3:2. 6 -> ac3 audio. 3 -> highly compressed video 2 -> encoding passes. You can experiment with the second and third number in order to change the encoding speed/quality. Also when you are experimenting with the encode2mpeg options in order to understand thair usage you may want to use -encode 6:1:1 because is a lot faster. Giacomo |
From: Osmany G. C. <osm...@ci...> - 2007-09-08 12:11:00
|
Hi is it posible do frame rate conversion in Direct mode? How? Thanks osmany |
From: Dave <dme...@wo...> - 2007-09-08 04:06:37
|
Hello, I'm using FreeBSD 6.2 and want to encode many media files of various formats, .mpg, .avi, .wmv, etc. various aspect ratios etc. to ntsc-compliant dvd videos to burn to dvd and play on a standard dvd player. I've had a time wrapping around the mplayer/mencoder/ffmpeg docs and the encode2mpeg docs, but i think i might almost have a working commandline. I want to have multiple videos on a dvd, and a menu to select which i want to watch, i'd also like to convert the audio from stereo to 5.1 surround sound. Here's my commandline as it stands now: encode2mpeg -o outputfilename.ext -a 2 -vfr 1 -n n -p -dvd -menu -stdvid 9 -mpegchannels 6 -normalize -imageonly -usespeed -videos video1.mpg video2.avi My first question has to do with the -vfr option. I'm uncertain as to whether it should be -vfr 1 or -vfr 4 I read in longhelp about -vfr and it looks like 4 is it, but then in i think it was the mpeg mode html doc it said that -vfr 1 -p would be better. Next, for the -encode option i am uncertain as to the value i should plug in for n:m:i, there's many codecs i believe i want mp2 video and ac3 audio, but am hazey on this point. I'd appreciate any help on these points of confusion. Thanks. Dave. |
From: Giacomo C. <enc...@us...> - 2007-06-01 16:32:28
|
Announcing (finally) the release of encode2mpeg 0.6.3 This release includes many menu bugfixes. If you use menu and have ImageMagick 6.x you must update. Also there are some new menu features and support for conversion from graphic subtitle to text subtitle. Giacomo |
From: Giacomo C. <enc...@us...> - 2007-05-10 17:01:47
|
On Thu, May 10, 2007 at 09:24:52AM -0700, Rob wrote: > On Mon, 7 May 2007 16:36:23 -0400 > Giacomo Comes <enc...@us...> wrote: > > > > > > This is a bug. Please try this fix and report if it solves the problem. > > > > Edit the encode2mpeg script: > > goto line 5129 and add after the line > > ratio=w/h > > this line: > > if (sqrt((ratio-a)*(ratio-a)/(a*a))<0.01) a=ratio+sqrt((ratio-a)*(ratio-a)) > > > > Giacomo > > > > this is what you wanted, correct? If so, I will try it out when I get home... thx for the proper fix :) > > === modified file 'encode2mpeg-0.6.2/encode2mpeg' > --- old/encode2mpeg-0.6.2/encode2mpeg 2007-05-04 20:33:44 +0000 > +++ new/encode2mpeg-0.6.2/encode2mpeg 2007-05-10 16:19:29 +0000 > @@ -5127,6 +5127,7 @@ > if(a==1.78||a==1.74)a=16/9 > if(a==1.33||a==1.30)a=4/3 > ratio=w/h > + if (sqrt((ratio-a)*(ratio-a)/(a*a))<0.01) a=ratio+sqrt((ratio-a)*(ratio-a)) > if(((zoom==1||zoom==-1)&&ratio<a)||((zoom==2||zoom==-2)&&ratio>a)){ > CH=ch/ko > } > That's correct. Giacomo |
From: Rob <rh...@se...> - 2007-05-10 16:33:03
|
On Mon, 7 May 2007 16:36:23 -0400 Giacomo Comes <enc...@us...> wrote: > > This is a bug. Please try this fix and report if it solves the problem. > > Edit the encode2mpeg script: > goto line 5129 and add after the line > ratio=w/h > this line: > if (sqrt((ratio-a)*(ratio-a)/(a*a))<0.01) a=ratio+sqrt((ratio-a)*(ratio-a)) > > Giacomo > this is what you wanted, correct? If so, I will try it out when I get home... thx for the proper fix :) === modified file 'encode2mpeg-0.6.2/encode2mpeg' --- old/encode2mpeg-0.6.2/encode2mpeg 2007-05-04 20:33:44 +0000 +++ new/encode2mpeg-0.6.2/encode2mpeg 2007-05-10 16:19:29 +0000 @@ -5127,6 +5127,7 @@ if(a==1.78||a==1.74)a=16/9 if(a==1.33||a==1.30)a=4/3 ratio=w/h + if (sqrt((ratio-a)*(ratio-a)/(a*a))<0.01) a=ratio+sqrt((ratio-a)*(ratio-a)) if(((zoom==1||zoom==-1)&&ratio<a)||((zoom==2||zoom==-2)&&ratio>a)){ CH=ch/ko } |
From: Giacomo C. <enc...@us...> - 2007-05-07 20:36:33
|
On Sun, May 06, 2007 at 02:36:59AM -0700, Rob wrote: > Hi, > > I'm having issues trying to convert a movie with the following specs below to > a movie that needs to fit on a 4:3 screen - 320x240. I would like the video > to be zoomed (sides cut off) such that it fits the full screen (no black bars > on the top or bottom). > > This is the command that I used. It creates the correct aspect ratio, but the > size is wrong (doesn't fill the whole 320x240 screen). > > ./encode2mpeg-0.6.2/encode2mpeg -o "D2-sample.24.s06e18.hr.hdtv.xvid-nbs" -avionly -vfr > 1 -encode 2:2:1 -acustom "cbr:br=128" -vf harddup -vbitrate 384 -setaspect > 320 -crop 725:544:0:0 "sample.24.s06e18.hr.hdtv.xvid-nbs.avi" > > Close, but no cigar :( This is a bug. Please try this fix and report if it solves the problem. Edit the encode2mpeg script: goto line 5129 and add after the line ratio=w/h this line: if (sqrt((ratio-a)*(ratio-a)/(a*a))<0.01) a=ratio+sqrt((ratio-a)*(ratio-a)) Giacomo > > Thanks, > Rob > > P.S. encode2mpeg rocks! :) > > INPUT FILE: > ========================================================= > File: sample.24.s06e18.hr.hdtv.xvid-nbs.avi > Width: 960 pixels > Height: 544 pixels > Aspect ratio: 1.76:1 > Frames: 1217 > Duration: 00:00:50 hours/mins/secs > Framerate: 23.976 frames per second > Video format: XVID > Video bitrate: 1943648 bits per second > --------------------------- > Audio track 1 (Stream 0.1, AID 0): > --------------------------- > Codec: ac3 > Bitrate: 384000 bits per second > Sampling rate: 48000 Hz > ========================================================= > > OUTPUT FILE: > ========================================================= > File: D2-sample.24.s06e18.hr.hdtv.xvid-nbs.avi > Width: 256 pixels > Height: 192 pixels > Aspect ratio: 1.33:1 > Frames: 273 > Duration: 00:00:11 hours/mins/secs > Framerate: 23.976 frames per second > Video format: DX50 > Video bitrate: 239968 bits per second > --------------------------- > Audio track 1 (Stream 0.1, AID 0): > --------------------------- > Codec: mp3 > Bitrate: 128000 bits per second > Sampling rate: 48000 Hz > ========================================================= > |