Quantcast Mimicking Motion Adaptiveness Blur with Mencoder. - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
06-06-2004, 06:55 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
thanx I'll try that



EDIT:
That wasn't it
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  
06-06-2004, 07:27 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Hi this is what dos says.

MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: 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.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
================================================== ========================
Writing AVI header...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x480 fourcc=3267706d [mpg2])

[mpeg2video @ 009B1B2C]MPEG1/2 doesnt support 2997/125 fps, there may be AV sync
issues
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[mpeg2video @ 009B1B2C]rc buffer underflowmin 0mb A-V:0.000 [0:0]
Pos: 0.3s 9f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!

Mencoder chooses to use 720x480 is there anyway you can force mencoder not to do that

-Koekies
Reply With Quote
  #23  
06-06-2004, 08:49 AM
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 koekies,
Can you try just
Code:
vf=scale=720:480::0:9,crop=672:378:24:16,expand=704:480
Just to see if you still get 720x480?
Cheers
__________________
Rui
Reply With Quote
  #24  
06-06-2004, 09:02 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
I'll try Bicubic resizing gives the same problem as lancos Which is better quality? and I'm trying the experimental motion estimation method X1 anyone tried that before?
Reply With Quote
  #25  
06-06-2004, 09:05 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
I think the motion estimation command vme=5 took away some tiny blocks you could see when there was fast motion I'm not sure though it could be something else.
Reply With Quote
  #26  
06-06-2004, 09:19 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Mencoder still says

Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: 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.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
================================================== ========================
Writing AVI header...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x480 fourcc=3267706d [mpg2])
Reply With Quote
  #27  
06-06-2004, 09:30 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
In the man_page from mplayer I found this
Code:
−zoom
 
 Allow software scaling, where available. Could be used to force scaling with −vf scale.
NOTE: −vf scale will IGNORE options −x / −y / −xy / −fs / −aspect without −zoom.
Could I use that?
Reply With Quote
  #28  
06-06-2004, 09:47 AM
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
Maybe, but it seems to me that your problem is either on expand or crop where the 1st of them takes precedence.
This doesn't seem a scaling problem but mencoder scale is way different than any AVISynth resizer.
Give it a try, anyway.
Cheers
__________________
Rui
Reply With Quote
  #29  
06-06-2004, 10:02 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hi guys man i know this isin't for newbies because i don't understand anything you guys are doing but when i alter the temp.conf file how do i run it without using the gui
Reply With Quote
  #30  
06-06-2004, 10:15 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
create a bat file like this

Code:
Mencoder.exe -include temp.conf -lavcopts vbitrate="your bitrate here":vpass=1 "path to your file you want to encode" -o "path to your encoded file example c:\movie\skvcd.m2v"
Mencoder.exe -include temp.conf -lavcopts vbitrate=="your bitrate here":vpass=2 "path to your file you want to encode" -o "path to your encoded file"
or isn't this what you wanted to know? :P

-Koekies
Reply With Quote
  #31  
06-06-2004, 10:17 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
No luck with the zoom command I don't think it was meant to be used for what I wanted it to bad the -x="x" and -y="y" commands only work in mplayer
Reply With Quote
  #32  
06-06-2004, 10:19 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
HI Koekies

Code:
create a bat file like this 

Code: 
Mencoder.exe -include temp.conf -lavcopts vbitrate="your bitrate here":vpass=1 "path to your file you want to encode" -o "path to your encoded file example c:\movie\skvcd.m2v" 
Mencoder.exe -include temp.conf -lavcopts vbitrate=="your bitrate here":vpass=2 "path to your file you want to encode" -o "path to your encoded file"

is that for me

The only way i know how to get mencoder to run is through one og the Gui's made here(MEncoderMe or packshot)

I started one like Karl said and then edited the file but now i don't know what to do to start again without the GUi(which will overwrite what i just changed)

if your above answer is what i need to do i just don't understand

thanx for your help
Reply With Quote
  #33  
06-06-2004, 10:22 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
First tell me what your conf file is named
Is it in the same dir as mencoder?
Then you create a tekst file copy the stuff in it I just posted
rename it to *.bat and run it
Reply With Quote
  #34  
06-06-2004, 10:27 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx buddy please bare with me because i am not computer smart

my conf file is simply named temp.conf

and yes it is in the same folder as mencoder

I tried to run the bat file(by double clicking it) that was created the same time as my conf file but it starts and just closes
Reply With Quote
  #35  
06-06-2004, 10:31 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
...mencoder scale is way different than any AVISynth resizer.
Well according to the manual you can select lancos bicubic etc.

Code:
−sws <software scaler type> (see −vf scale option too)
 
 This option sets the quality (and speed, respectively) of the software scaler, with the −zoom option. For example with x11 or other outputs which lack hardware acceleration. Possible settings are:
NOTE: For −sws 2 and 7, the sharpness can be set with the scaling parameter (p) of −vf scale (0 (soft) − 100 (sharp)), for −sws 9, it specifies the filter length (1 − 10).
 
 0  fast bilinear (default)
 1  bilinear
 2  bicubic (good quality)
 3  experimental
 4  nearest neighbour (bad quality)
 5  area
 6  luma bicubic / chroma bilinear
 7  gauss
 8  sincR
 9  lanczos 
 10  bicubic spline
these are software scalers I think avisynth uses ones that are very simmilar
Reply With Quote
  #36  
06-06-2004, 10:37 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
@ bigggt the bat created by mencodeme doesn't just work like that
because of the value %%PASS%% or something it only works with mencodeme.
So copy that line so you have it two times. replace the first %%PASS%% with 1 and the second with 2

encode bat mencodeme makes
Mencoder.exe -include temp.conf -lavcopts vbitrate=843:vpass=%%PASS%% "C:\movies\Timeline\alliance-timeline-xvid\alliance-timeline-xvid.avi" -o "C:\movies\Timeline\alliance-timeline-xvid\alliance-timeline-xvid.mpv"

what you do to it
Mencoder.exe -include temp.conf -lavcopts vbitrate=843:vpass=1 "C:\movies\Timeline\alliance-timeline-xvid\alliance-timeline-xvid.avi" -o "C:\movies\Timeline\alliance-timeline-xvid\alliance-timeline-xvid.mpv"
Mencoder.exe -include temp.conf -lavcopts vbitrate=843:vpass=2 "C:\movies\Timeline\alliance-timeline-xvid\alliance-timeline-xvid.avi" -o "C:\movies\Timeline\alliance-timeline-xvid\alliance-timeline-xvid.mpv"
Reply With Quote
  #37  
06-06-2004, 10:47 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx Koekies

I have to leave for the day but i will try when i get home tonight

I appreciate your help
Reply With Quote
  #38  
06-06-2004, 05:35 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
OK i get and did what you said but i still don't get how to run the bat file,i can't just double click it
Reply With Quote
  #39  
06-06-2004, 05:42 PM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
why not?
run it in dos see why it shuts down there must be some mencoder error if it shuts down immediatly
Reply With Quote
  #40  
06-06-2004, 06:51 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx Buddy I final i got it (thanx to you )

The error i was getting was something to the effect of not finding the directory or something
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
blur between scene changes is really noticeable? bigggt Video Encoding and Conversion 5 02-08-2004 06:09 PM
Avisynth: More Blur On Action Scenes! Jellygoose Avisynth Scripting 3 10-25-2003 12:08 PM
Avisynth: I can see the blur on scene changes! audi2honda Avisynth Scripting 11 07-08-2003 09:46 PM
KDVD has Motion blur? grc Video Encoding and Conversion 8 06-05-2003 08:06 AM
TMPGEnc: Motion Search Precision - Highest Qual or Motion Est Search MoovyGuy Video Encoding and Conversion 1 08-28-2002 11:00 PM

Thread Tools



 
All times are GMT -5. The time now is 05:15 AM  —  vBulletin Jelsoft Enterprises Ltd