| View previous topic :: View next topic |
| Author |
Message |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 6:59 am Post subject: |
|
|
@psp360
Yeh, I'm waiting for responce from 2 people more and then I'll post the way I do it (be it the "wrong" or the "right" way) =) _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
Fxp
Joined: 26 Jan 2006 Posts: 3
|
Posted: Thu Jan 26, 2006 7:15 am Post subject: |
|
|
A got problems getting correct aspect ratio when converting widescreen videos (608 x 256, for example). I choose to convert to 480x272 and get vertically stretched image. What am I doing wrong?
P.S. I'm using latest Videora relase but the same happens with PMP Simple. |
|
| Back to top |
|
 |
jo2k
Joined: 21 Jan 2006 Posts: 17
|
Posted: Thu Jan 26, 2006 7:21 am Post subject: |
|
|
Problem is the source you used 608x256 is 2.375:1 which is not the same as 480x272 (1.765:1) - so instead of encoding them into 480x272 you sould try 480x202 w/ top & bottom black bars - or 480x200 w/o top/bottom blk bars.
Last edited by jo2k on Thu Jan 26, 2006 7:23 am; edited 1 time in total |
|
| Back to top |
|
 |
k0nan
Joined: 03 Jan 2006 Posts: 36
|
Posted: Thu Jan 26, 2006 7:21 am Post subject: Tip: Styles can be applied quickly to selected text. |
|
|
Fxp - 272>256, so you're streching the vertical by not keeping the aspect ratio intact. 608x256 should be rescaled to 480x200 to keep the proper AR, you can then zoom later on in playback to your preference using malloc's mod. Try PSPMPverter .9.1, it has a great AR calculator.
jo2k - he wouldn't want 480x202 because 202 isn't divisible by 8.
Last edited by k0nan on Thu Jan 26, 2006 7:29 am; edited 1 time in total |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 7:23 am Post subject: |
|
|
| Fxp wrote: | A got problems getting correct aspect ratio when converting widescreen videos (608 x 256, for example). I choose to convert to 480x272 and get vertically stretched image. What am I doing wrong?
P.S. I'm using latest Videora relase but the same happens with PMP Simple. | 7 pages back... http://forums.ps2dev.org/viewtopic.php?p=33386#33386 _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
uNn99
Joined: 19 Jan 2006 Posts: 64
|
Posted: Thu Jan 26, 2006 7:26 am Post subject: |
|
|
| wooolF wrote: |
1) I suggest -subpos 90 or 95
2) -subfont-text-scale should be 2
3) -subfont-blur should be 1
4) -subfont-outline should be 1
5) you forgot to specify where your font is (-font "")
| Quote: | -font <path to font.desc file> (OSD only)
Search for the OSD/SUB fonts in an alternative di- rectory (default for normal fonts: ~/.mplayer/font/ font.desc, default for FreeType fonts: ~/.mplayer/ subfont.ttf).
NOTE: With FreeType, this option determines the path to the text font file. With fontconfig, this option determines the fontconfig font name.
EXAMPLE:
-font ~/.mplayer/arial-14/font.desc
-font ~/.mplayer/arialuni.ttf
-font 'Bitstream Vera Sans' |
On Windows that would look like | Code: | | -font "c:\windows\fonts\arial.ttf" | or any other font you like |
Ok, i've taken into consideration this advices, but error is still here:
| Code: | I:\Filmz\psp\mencoder>"I:\Filmz\psp\mencoder\mencoder.exe" -sws 9 -subpos 90 -su
bfont-text-scale 2 -subfont-blur 1 -subfont-outline 1 -unicode -font "I:\Filmz\
psp\mencoder\cp1250-a.raw" -vf scale=360:272,harddup -sub "I:\Filmz\psp\test_sce
ne.srt" -ovc lavc -ffourcc DIVX -lavcopts vcodec=mpeg4:vbitrate=768:vhq:turbo:vp
ass=1 -nosound "I:\Filmz\psp\test_scene.avi" -o NUL: 2>2.txt
MEncoder dev-CVS-060101-18:59-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP/XP-M Barton,Thorton (Family: 6,
Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
89 audio & 203 video codecs
Exiting... (error parsing cmdline) |
And i'm not the only man who has this problem - they are asking me how to make mencoder work with subtitles... |
|
| Back to top |
|
 |
Fxp
Joined: 26 Jan 2006 Posts: 3
|
Posted: Thu Jan 26, 2006 7:26 am Post subject: |
|
|
Thanks :D |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 7:43 am Post subject: |
|
|
@uNn99:
then the syntax is wrong... I can't pinpoint the wrong syntax right now tho'...
@Fxp:
my pleasure :) _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
butch1016
Joined: 21 Jan 2006 Posts: 4
|
Posted: Thu Jan 26, 2006 8:15 am Post subject: |
|
|
woolf - matrix quality was sweet. The LCD "ghosting" is a pain I know - although compared to AVC at 368x208 or 400x176 zoomed I aint complaining!!!
I have been trying various filters on some test scenes of my own, I would be interetsed to hear what filters you have been using. For information I have been experimenting with LimitedSharpen and XSharpen both with Udot.
Some interesting results even with bitrates down to 800kb via xvid (always 2 pass).
Cheers
Butch |
|
| Back to top |
|
 |
ClonePSP
Joined: 25 Jan 2006 Posts: 7
|
Posted: Thu Jan 26, 2006 8:19 am Post subject: |
|
|
Ok here goes, my matrix playback test results.
1 Gig Fast SanDisk
----------------------
If played from start to finish with no searching, no audio skipping apart from a tiny bit near the end.
If I then search back and forward, parts that didnt audio skip before now do so.
2 Gig Slow Sony Stick
--------------------------
Same as above but audio skip was just a miniscule bit more.
Tried on original 1.01 version of PMP Mod.
It seem the source code could be a good place to try and improve things here aswell as encode settings.
I would love to try your settings on my own problem source material. Please share dear chap. |
|
| Back to top |
|
 |
therock003
Joined: 23 Sep 2005 Posts: 96
|
Posted: Thu Jan 26, 2006 8:35 am Post subject: |
|
|
| wooolF wrote: | | therock003 wrote: | WoolF
What's the meaning of harddup?And how can i put subs using mencoder? |
| Quote: | harddup
Only useful with MEncoder. If harddup is used when encoding, it will force duplicate frames to be en- coded in the output. This uses slightly more space, but is necessary for output to MPEG files or if you plan to demux and remux the video stream af- ter encoding. Should be placed at or near the end of the filter chain unless you have a good reason to do otherwise. |
|
Ok thanx and as for including subtitles,how can it be done using mencoder? |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 9:17 am Post subject: |
|
|
| therock003 wrote: | | Ok thanx and as for including subtitles,how can it be done using mencoder? |
| Code: | -sub <subtitlefile1,subtitlefile2,...>
Use/display these subtitle files. Only one file can be displayed at the same time. | That should be enough... as said, I tried with 2-3 encodings with subs, all worked fine... I haven't invistigated more into that area... Try to look here for all available filters for the subtitles _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 9:22 am Post subject: |
|
|
| butch1016 wrote: | | I would be interetsed to hear what filters you have been using. For information I have been experimenting with LimitedSharpen and XSharpen both with Udot. | As I do my encodings only with mencoder, I'm limited to mencoder xvid video filters. They can be found here : http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#CODEC%20SPECIFIC%20ENCODING%20OPTIONS%20(MENCODER%20ONLY) (under xvidenc (-xvidencopts)). Some of the filters I've used are : vhq, chroma_opt, quant_type, qpel, unsharp etc =) _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 9:26 am Post subject: |
|
|
| ClonePSP wrote: | | I would love to try your settings on my own problem source material. Please share dear chap. |
Thanks for the "review" and I'll get my ass in gear tomorrow to post my settings/guide =) _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Thu Jan 26, 2006 10:28 am Post subject: |
|
|
@wooolF:
Regarding your matrix encodes, I did a quick test with profiling enabled on the video output and found that with your videos (I tested the 768 and 1200kbit versions) the CPU stalls are much higher than with any other video. This alone isnt enough information, but it's a start of what to look for when optimizing. Have to look more specific at different functions to find where these stalls occur (most probably deep inside the libavcodec, so this will be ugly to find and optimize :(). |
|
| Back to top |
|
 |
xxxstarmanxxx
Joined: 05 Jan 2006 Posts: 84
|
Posted: Thu Jan 26, 2006 10:57 am Post subject: |
|
|
Hi all - Still testing - but I've given up on Xvid for the time being.
Switching to avisynth scripts with Divx 6 codec.
My current script test is as follows for anyone who's using Nic's_DVD2AVI mod.
---------------
LoadPlugin("C:\Program Files\DVD2AVI_NIC\System\DGDecode.DLL")
MPEG2Source("E:\test.d2v").Crop(4,16,712,548)
Lanczos4Resize(480, 272)
Sharpen(1.0)
---------------
I seem to be getting some decent encodes with Lanczos4 - much sharper filter for Divx + adding max sharpening.
Will try and upload a 768 and 1200 of Blade Trinity trailer vob sometime this morning.
Keep up the good work everyone.
J. |
|
| Back to top |
|
 |
excalibur
Joined: 15 Jan 2006 Posts: 11
|
Posted: Thu Jan 26, 2006 5:37 pm Post subject: |
|
|
hi jonny,
i would like to know if pmpmod v0.06 support rv10 ?
thank for you reponse |
|
| Back to top |
|
 |
tanweeho
Joined: 15 Jan 2006 Posts: 20
|
Posted: Thu Jan 26, 2006 5:37 pm Post subject: |
|
|
Oh yes, frameserving via Avisyth is super solid! I encourage all to try and learn to use avisynth.... its really simple (esp for programmers who are comfortable with writing scripts).
However, using DGDecode for DVD encoding is a bit painful for beginners as the DGDecode does not fix the aspect ratio (the video is stretched slightly vertically) of its d2v output.
Does any DGDecode expert out there who knows how to detect the correct aspect ratio? As a workaround, i use the now defunct FlaskMpeg to detect the aspect ratio, and then i resize the video to the correct aspect ratio in the avisynth script.
| xxxstarmanxxx wrote: | Hi all - Still testing - but I've given up on Xvid for the time being.
Switching to avisynth scripts with Divx 6 codec.
My current script test is as follows for anyone who's using Nic's_DVD2AVI mod.
---------------
LoadPlugin("C:\Program Files\DVD2AVI_NIC\System\DGDecode.DLL")
MPEG2Source("E:\test.d2v").Crop(4,16,712,548)
Lanczos4Resize(480, 272)
Sharpen(1.0)
---------------
I seem to be getting some decent encodes with Lanczos4 - much sharper filter for Divx + adding max sharpening.
Will try and upload a 768 and 1200 of Blade Trinity trailer vob sometime this morning.
Keep up the good work everyone.
J. |
|
|
| Back to top |
|
 |
csuper
Joined: 03 Jan 2006 Posts: 103
|
Posted: Thu Jan 26, 2006 6:22 pm Post subject: |
|
|
| excalibur wrote: | hi jonny,
i would like to know if pmpmod v0.06 support rv10 ?
thank for you reponse |
Man, Read the Thread name (it's PMP MOD 1.0x here !)
No, RV9/10 aren't supported.
Actually, jonny preconize XVID/DIVX only.
csuper. |
|
| Back to top |
|
 |
fAi_
Joined: 05 Jan 2006 Posts: 11
|
Posted: Thu Jan 26, 2006 6:44 pm Post subject: |
|
|
using Gordian Knot detect the correct aspect ratio
avisynth script like this
| Quote: | DirectShowSource("your-clip.avi", audio=false)
Lanczos4Resize(480,208)
AddBorders(0,32,0,32) |
| tanweeho wrote: |
However, using DGDecode for DVD encoding is a bit painful for beginners as the DGDecode does not fix the aspect ratio (the video is stretched slightly vertically) of its d2v output.
Does any DGDecode expert out there who knows how to detect the correct aspect ratio? As a workaround, i use the now defunct FlaskMpeg to detect the aspect ratio, and then i resize the video to the correct aspect ratio in the avisynth script. |
|
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 7:24 pm Post subject: |
|
|
| Raphael wrote: | @wooolF:
Regarding your matrix encodes, I did a quick test with profiling enabled on the video output and found that with your videos (I tested the 768 and 1200kbit versions) the CPU stalls are much higher than with any other video. This alone isnt enough information, but it's a start of what to look for when optimizing. Have to look more specific at different functions to find where these stalls occur (most probably deep inside the libavcodec, so this will be ugly to find and optimize :(). | Seems you've tested my XViD encodings, I gave up with XViD for now and using DiVX (see my signature for DiVX encodings). _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
xxxstarmanxxx
Joined: 05 Jan 2006 Posts: 84
|
Posted: Thu Jan 26, 2006 8:04 pm Post subject: |
|
|
Hi all.
Please test this XVID file if you have time.
If feedback is what I think it will be - I'll post a guide.
File encoded with an avs script with crop/resize and 1 filter - 2 pass - Total encode time 9 mins.
Blade Trinity XVID 2000kbs PURE encode. (averages 1921kbs)
File plays fine - NO -audio/video issues - And I think its far better than my DivX 2000 encode.
http://download.filefront.com/4669217;15cf934f0b1b92ca9c66bc3aee6bb22339fe2e336e30ec9a969bf087e0f3e2a1d7fef5fcd266f720
I think this is my best encode to date and is 1 mb smaller than my Divx encode - but has much more detail!
I know I said I had given up on Xvid - But I couldn't resist the challenge! - Glad I persisted!!!!
I'll spend a day or two trying to get this trailer down to around 20mb without any noticable loss - but for now - this is my benchmark encode.
All the best
J. |
|
| Back to top |
|
 |
csuper
Joined: 03 Jan 2006 Posts: 103
|
Posted: Thu Jan 26, 2006 8:22 pm Post subject: |
|
|
| xxxstarmanxxx wrote: | Hi all.
...
Please test this XVID file if you have time.
...
J. |
Hye Mate,
Can you remind me : the PMP Mod version you're using ? and the MS you got ...
Thanx, I will test that this evening...
csuper. |
|
| Back to top |
|
 |
xxxstarmanxxx
Joined: 05 Jan 2006 Posts: 84
|
Posted: Thu Jan 26, 2006 8:44 pm Post subject: |
|
|
| csuper wrote: | | xxxstarmanxxx wrote: | Hi all.
...
Please test this XVID file if you have time.
...
J. |
Hye Mate,
Can you remind me : the PMP Mod version you're using ? and the MS you got ...
Thanx, I will test that this evening...
csuper. |
Hello mate.
I'm doing these tests on a sandisk gaming yellow 1gb at the mo.
Latest version of Malloc's mod in line with pmp mod 1.01 and the 1.02 muxer.
All going sweet - just got to do some adaptive tests to reduce filesize and see if the player can handle it.
All the best
J. |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 9:37 pm Post subject: |
|
|
[offtopic]
why
wont
we
all
try
to
type
like
xxxstarmanxxx
does?
cmon,
it
is
fun
and
doesn't
take
much
space
at
all
lolololol!!1111
[/offtopic]
@xxxstarmanxxx
Will try your encoding asap =)
by the way, what's the source? DVD? HDTV? _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
xxxstarmanxxx
Joined: 05 Jan 2006 Posts: 84
|
Posted: Thu Jan 26, 2006 9:45 pm Post subject: |
|
|
LOL! hehe
Source is VOB
I dont know why I miss a line in posts - I do it on every board I'm a member of.
I think its because I'm not the best reader in the world - LOL!
The most important thing about this encode is Lanczos4Resize - It's a fantastic filter for VOB and HDTV.
All the best
J. |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Thu Jan 26, 2006 10:01 pm Post subject: |
|
|
@xxxstarmanxxx
Lanczos4Resize is better then Lanczos (which mencoder uses) because of it's anti-aliasing... Too bad mencoder doesn't support that video filter :/ _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
psp360
Joined: 21 Aug 2005 Posts: 25
|
Posted: Thu Jan 26, 2006 10:14 pm Post subject: |
|
|
OK...Presently have a SanDisk 1GB with PMPmod v1.01
@wooolF your Matrix_R.divx.take16.pmp file run VERY VERY well, no audio issues and the vid quaily was super sweet. I must add that i could tell the difference in sharpness compared to if it had been encoded using xvid, but that is a mute issue as this video really worked well overall compared to the many issue audio issues we are facing with xvid.
I definitely want to get your guide on this encode. Great work!
@Eingang with both your files...7.pmp and 11.pmp I got and error:
"pmp_lib_open: can't read audio header" can you please give some help on this?
@xxxstarmanxxx Also excellent work! There is really no comparing ...xvid really makes the movies look alot better...that extra OUMPH does the world of difference. audio and video ran very good on my card did not have the ghost effect that was apperent in wooolF's vid but that was removed once you upped the brightness.
Gentlemen, I applaud all your hard work and welcome all info/guides so that I can then make a better informed decision on which method works best for me. |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Fri Jan 27, 2006 2:36 am Post subject: |
|
|
| wooolF wrote: | | Seems you've tested my XViD encodings, I gave up with XViD for now and using DiVX (see my signature for DiVX encodings). |
Well, your link only gives me a "File Transfer: Unavailable". However, I only use XVid myself, as it provides better quality than DivX and I'd like to get it work smoothly with PMPMOD :) |
|
| Back to top |
|
 |
wooolF

Joined: 12 Jan 2006 Posts: 146
|
Posted: Fri Jan 27, 2006 3:27 am Post subject: |
|
|
@xxxstarmanxxx
Watched your video... No rant, but it's WAY too sharp. It's just overdone with sharpness IMHO. It's like the movie consist of million of sandcorns... You overdone the sharpness imho =) And it's "edgy", which means that edges of the main objects on the screen aren't clear, but blurred. And the well known audio stuttering problem is there (at the end when Blade sais "I was born that day" and when that main vampire dodges the bullet). Average, disappointing quality for +1900kbps XViD...
@Raphael
Yeh, seems it got blocked on YouSendIt. I will reupload to another place tomorrow (not currently at home). And you should really lok intoDiVX (I know, I hate it myself, but that's the only option for now if u want a good looking video @ PSP with no audio stuttering problems IMHO). _________________ Guide/tutorial for converting DVD (and other normal files) to PMP at best quality possible (works for me) avoiding the usual audio stuttering and ghosting problems.
http://maxt.dk/archives/2006/02/01/dvd-to-psp/ |
|
| Back to top |
|
 |
|