Quantcast How to use Avisynth with Mencoder! - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
02-14-2004, 03:48 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts

Pal, are you talking to me
Didn't catch up with you VM
Sorry but most of the times I'm a big noob...
C ya
__________________
Rui
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
02-14-2004, 03:52 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
When encoding THE CORE no matter if 2 1 or 3 B frames used, but with TRUMAN SHOW I have to use 1 bframe cause at 2bframes this comes out:


######################################

C:\Programme\MPlayer>cd C:\Programme\MPlayer\

C:\Programme\MPlayer>C:

C:\Programme\MPlayer>mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg2video:int
ra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,3 4,37,12,14,18,27,29,34,37,38,2
2,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27, 29,34,37,38,40,48,58,29,34,37,
38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matri x=16,18,20,22,24,26,28,30,18,2
0,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24, 26,30,32,32,34,36,24,26,28,32,
34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36 ,38,42,42,30,32,34,36,38,40,42
,44:mbd=1:vqscale=3:vrc_minrate=300:vrc_maxrate=50 00:vrc_buf_size=1835:keyint=15
:vlelim=-4:vcelim=7:lumi_mask=0.05:dark_mask=0.01:aspect=4/3:vmax_b_frames=2 "H:
\truman.avi" -o "H:\truman_2b.mpg" -ofps 25
MEncoder 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2267 MHz (Family: 6, Stepp
ing: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading C:/Programme/MPlayer/mplayer/codecs.conf: 61 audio & 170 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file C:/Programme/MPlayer/mplayer/mencoder: No such file or direc
tory
font: can't open file: C:/Programme/MPlayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0 data: 0x0 - 0xAA00
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO: [AVIS] 352x576 16bpp 25.000 fps 0.8 kbps ( 0.1 kbyte/s)
[V] filefmt:3 fourcc:0x53495641 size:352x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
================================================== ========================
Opening video decoder: [vfw] Win32/VfW video codecs
Loaded DLL driver ffvfw
VDec: vo config request - 352 x 576 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 9.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (352x576 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
Using constant qscale = 3.000000 (VBR)
Selected video codec: [makeavis] vfm:vfw (FFvfw makeavis)
================================================== ========================
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Unknown block type, possibly non-MPEG stream!
Unknown block type, possibly non-MPEG stream! 0mb A-V:0.000 [0:0]
Error in stream: PTS to SCR delay 8986 is too little!A-V:0.000 [983:0]
Error in stream: PTS to SCR delay 8753 is too little!A-V:0.000 [1007:0]
Error in stream: PTS to SCR delay 8179 is too little!
Error in stream: PTS to SCR delay 7606 is too little!
Error in stream: PTS to SCR delay 8921 is too little!A-V:0.000 [1013:0]
Error in stream: PTS to SCR delay 8351 is too little!
Error in stream: PTS to SCR delay 7782 is too little!
Error in stream: PTS to SCR delay 8751 is too little!A-V:0.000 [1032:0]
Error in stream: PTS to SCR delay 8188 is too little!
Error in stream: PTS to SCR delay 7626 is too little!
Error in stream: PTS to SCR delay 7065 is too little!
Error in stream: PTS to SCR delay 6505 is too little!
Error in stream: PTS to SCR delay 5946 is too little!
Error in stream: PTS to SCR delay 8988 is too little!A-V:0.000 [1038:0]
Error in stream: PTS to SCR delay 8431 is too little!
Error in stream: PTS to SCR delay 7874 is too little!
Error in stream: PTS to SCR delay 7317 is too little!
Error in stream: PTS to SCR delay 6760 is too little!
Error in stream: PTS to SCR delay 6204 is too little!
Error in stream: PTS to SCR delay 5649 is too little!
Error in stream: PTS to SCR delay 8977 is too little!A-V:0.000 [1045:0]
Error in stream: PTS to SCR delay 8424 is too little!
Error in stream: PTS to SCR delay 7872 is too little!
Error in stream: PTS to SCR delay 7321 is too little!A-V:0.000 [1055:0]
Error in stream: PTS to SCR delay 6771 is too little!
Error in stream: PTS to SCR delay 6222 is too little!
Error in stream: PTS to SCR delay 5674 is too little!
Error in stream: PTS to SCR delay 5127 is too little!
Error in stream: PTS to SCR delay 4581 is too little!
Error in stream: PTS to SCR delay 4035 is too little!
Error in stream: PTS to SCR delay 3490 is too little!
Error in stream: PTS to SCR delay 6546 is too little!A-V:0.000 [1065:0]
Error in stream: PTS to SCR delay 6003 is too little!
Error in stream: PTS to SCR delay 5460 is too little!
Error in stream: PTS to SCR delay 4917 is too little!
Error in stream: PTS to SCR delay 4374 is too little!
Error in stream: PTS to SCR delay 3832 is too little!
Error in stream: PTS to SCR delay 3291 is too little!
Error in stream: PTS to SCR delay 2751 is too little!
Error in stream: PTS to SCR delay 2212 is too little!
Error in stream: PTS to SCR delay 1673 is too little!
Error in stream: PTS to SCR delay 8335 is too little!A-V:0.000 [1073:0]
Pos: 58.8s 1470f (99%) 24fps Trem: 0min 7mb A-V:0.000 [1061:0]
Writing AVI index...
Fixing AVI header...

Video stream: 1061.646 kbit/s (132705 bps) size: 7803101 bytes 58.800 secs 1
470 frames

C:\Programme\MPlayer>pause
Drücken Sie eine beliebige Taste . . .
Reply With Quote
  #23  
02-14-2004, 03:55 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
rds_correia,

Basically I was saying that you could look for 2-pass-VBR, but that would be very slow for you. So it would be better for you stick with quality based encodes, but make the optimal script more aggressive in it's motion adaptative caracteristics. That means: make it blur a lot more than it does when there's a lot of motion, so less bitrate is needed and the peaks of bitrate would be lower. Of course, this is just an idea, I don't know if this can work. And I don't know right now exactly how to do this, but it's not hard for someone with scripting knowledge.
Reply With Quote
  #24  
02-14-2004, 04:02 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks for the thought VM.
And I know someone that is very resourcefull in the scripting business.
And guess what he's been around mencoder 4 windows thread.
Hey Inc pal. Wanna give a hint on one of your GREAT scripts that would do what VM just told me to do?
I'm just so sad that we couldn't keep vhelp in the team...
But everything he was doing was supposed to work...
Did somebody else try mencoder under win98 yet?
The guy could be right
His probl could be winversion based...
C ya
__________________
Rui
Reply With Quote
  #25  
02-14-2004, 06:07 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
I see guys tha you have done youre homework
Great stuff Vmesquita

I only got roblem with force this to work. I've made everythin as you writes in first post: all in one line, registered reg file, copy codecs.conf to mplayer, and I come out with the same error as first Incredible posted:
Quote:
Cannot find codec matching selected -vo and video format 0x53495641.
help

EDIT: No need It was diferend build issue.

EDIT2: ... and I must say, it is good as is fast, and is fast as hell
I've made test with my self builded script (specialy for ffvfw), and I get bitrate 10% lower, with lower max peeks (but not respected by vrc_maxrate), with lot of mosquito noise (but I think that I can beat this, and even lower bitrate). I'll do more tests tomorow.

PS: I do my test on cartoons, while I think that they are harder to clean and compress. I'm righ or wrong (I mean: I make test right or wrong way?)

EDIT3: And what are this Error in stream: PTS to SCR delay 7874 is too little!
__________________
Go for SECAM =)
Reply With Quote
  #26  
02-14-2004, 08:15 PM
bilu bilu is offline
Free Member
 
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
You see to do constant quality you can even drop the vrc_minrate & vrc_maxrate because it seams it's not doing anything.
That is the same with ffvfw. Both don't respect min and MAX bitrates when working in constant quality...
So now I dropped qscale and am only working with vrc_minrate & vrc_maxrate. It works. The encoding gets inside the min and MAX figures.
Sheer luck or bitrate respected ?

Bilu
Reply With Quote
  #27  
02-15-2004, 05:41 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi Bilu,
Now, some time passed over the subject.
Maybe just pure luck my friend...
I'm going nuts to keep the bitrate inside min and MAX limits.
Eventually I will succeed but I think it will take too many time.
Cheers
__________________
Rui
Reply With Quote
  #28  
02-17-2004, 08:15 AM
ossionline ossionline is offline
Free Member
 
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
I have some probs with it too

Quote:
MEncoder dev-CVS-031124-01:43-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1969 MHz (Family: 6, Stepp
ing: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading E:\Videos\Mencoder\codecs.ini: Can't open 'E:\Videos\Mencoder\codecs.ini
': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file E:\Videos\Mencoder\mencoder.ini: No such file or directory
success: format: 0 data: 0x0 - 0xDC00
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO: [AVIS] 480x576 16bpp 25.000 fps 0.8 kbps ( 0.1 kbyte/s)
[V] filefmt:3 fourcc:0x53495641 size:480x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
================================================== ========================
Cannot find codec matching selected -vo and video format 0x53495641.
Read DOCS/HTML/en/codecs.html!
================================================== ========================
Exiting...
I executed the reg-file and i have an subfolder called mplayer including the conf-file

how can i solve this prob?
Reply With Quote
  #29  
02-17-2004, 08:45 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Try to work with mencoder build we all use. I have probem with differend builds. And yours MEncoder dev-CVS-031124-01:43-3.3.1 (C) 2000-2003 MPlayer Team is diferend than ours MEncoder 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team
__________________
Go for SECAM =)
Reply With Quote
  #30  
02-17-2004, 09:00 AM
ossionline ossionline is offline
Free Member
 
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
where can i find it?
on the mencoder-page i find only my version
Reply With Quote
  #31  
02-17-2004, 09:02 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by vmesquita
__________________
Go for SECAM =)
Reply With Quote
  #32  
02-17-2004, 09:22 AM
ossionline ossionline is offline
Free Member
 
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
MEncoder 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2461 MHz (Family: 6, Stepp
ing: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading E:/Videos/Mencoder2/mplayer/codecs.conf: 61 audio & 170 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file E:/Videos/Mencoder2/mplayer/mencoder: No such file or direct
ory
font: can't open file: E:/Videos/Mencoder2/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0 data: 0x0 - 0xDC00
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO: [AVIS] 480x576 16bpp 25.000 fps 0.8 kbps ( 0.1 kbyte/s)
[V] filefmt:3 fourcc:0x53495641 size:480x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
================================================== ========================
Opening video decoder: [vfw] Win32/VfW video codecs
Loaded DLL driver ffvfw
VDec: vo config request - 480 x 576 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 9.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (480x576 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
Using constant qscale = 3.000000 (VBR)
Selected video codec: [makeavis] vfm:vfw (FFvfw makeavis)
================================================== ========================
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
than mencoder crashes

//Edit: another source -> avs -> avi works perfect


//Edit2: Works now, changed in makeAVIS "store script file name in avi" to "store script in avi"
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder: Ffmpeg with Avisynth support milan Video Encoding and Conversion 66 06-03-2004 08:12 AM
Mencoder para Windows com suporte de scripts Avisynth rds_correia Conversão e Codificação de Vídeo (Português) 3 05-16-2004 06:58 PM
Newbie guide for Mencoder with Avisynth support rds_correia Video Encoding and Conversion 44 05-02-2004 05:07 PM
Avisynth e Mencoder gilco Conversão e Codificação de Vídeo (Português) 1 05-01-2004 07:32 PM
Mencoder: Changing/Setting field order in mencoder tuco1979 Video Encoding and Conversion 1 04-17-2004 09:06 AM




 
All times are GMT -5. The time now is 11:13 AM  —  vBulletin © Jelsoft Enterprises Ltd