forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AVItoPMP (1.2.0): advanced tool for pmp video
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Sat Apr 15, 2006 4:53 am    Post subject: Reply with quote

I didn't find a queue.bat, but i copied from the DOS window directly :

MEncoder Sherpya-MinGW-20060131-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

success: format: 0 data: 0x0 - 0xf3524
ASF file format detected.
VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000.00 ftime:=0.0010
xvid: using library version 1.1.0 (build xvid-1.1.0)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=272]
Opening video filter: [unsharp=l3x3:1:c3x3:1]
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:230400 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 R
GB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
unsharp: 3x3:1.00 (sharpen luma)
unsharp: 3x3:1.00 (sharpen chroma)

SwScaler: Lanczos scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: XviD (480x272 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=480x360, sampled=480x272
xvid: 2Pass Rate Control -- 1st pass
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
Pos: 15.7s 472f (100%) 31.01fps Trem: 0min 0mb A-V:0.000 [2778:0]
Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream: 2778.185 kbit/s (347273 B/s) size: 5468509 bytes 15.747 secs 4
72 frames
MEncoder Sherpya-MinGW-20060131-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

success: format: 0 data: 0x0 - 0xf3524
ASF file format detected.
VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000.00 ftime:=0.0010
xvid: using library version 1.1.0 (build xvid-1.1.0)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=272]
Opening video filter: [unsharp=l3x3:1:c3x3:1]
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:230400 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 R
GB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
unsharp: 3x3:1.00 (sharpen luma)
unsharp: 3x3:1.00 (sharpen chroma)

SwScaler: Lanczos scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: XviD (480x272 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=480x360, sampled=480x272
xvid: 2Pass Rate Control -- 2nd pass -- bitrate=768kbit/s
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
Pos: 15.7s 472f (100%) 24.15fps Trem: 0min 0mb A-V:0.000 [181:0]
Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream: 181.896 kbit/s (22737 B/s) size: 358040 bytes 15.747 secs 472
frames
MEncoder Sherpya-MinGW-20060131-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

success: format: 0 data: 0x0 - 0xf3524
ASF file format detected.
VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000.00 ftime:=0.0010
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6003->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
videocodec: framecopy (320x240 24bpp fourcc=33564d57)
Pos: 15.7s 472f (100%) 206.75fps Trem: 0min 0mb A-V:-0.005 [443:119]
Video stream: 443.306 kbit/s (55413 B/s) size: 871318 bytes 15.724 secs 472
frames

Audio stream: 119.057 kbit/s (14882 B/s) size: 230145 bytes 15.464 secs
PMP Muxer v2.00 by jonny

Copyright (C) 2006 jonny

Homepage: http://jonny.leffe.dnsalias.com
E-mail: jonny@leffe.dnsalias.com

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


C:\Unzipped\cm_ff12_h_tmp.avi:
Processing video ...
15747 / 15747


C:\Unzipped\cm_ff12_h_tmp.mp3:
Processing audio ...
592
resync_count = 0
unused_bytes = 0 / 230145
first frame at 0


Interleaving ...
15747 / 15747


Status: [framerate is too high]
All done
Appuyez sur une touche pour continuer...

----------------------------------------------------------
STOPS HERE

Well, i hope you can find what is going wrong ;)
Later,

Alcahest
Back to top
View user's profile Send private message
uNn99



Joined: 19 Jan 2006
Posts: 64

PostPosted: Sat Apr 15, 2006 5:30 am    Post subject: Reply with quote

pmp_muxer gives an error. What framerate does your video have? (you can see it in "change fps" editbox). If it is more then 30 - set it to 25 for example.
Back to top
View user's profile Send private message
XperienZe



Joined: 15 Apr 2006
Posts: 3

PostPosted: Sat Apr 15, 2006 6:10 am    Post subject: Reply with quote

uNn99, thanks for helping me out... got it all working now! Though i have some thing i would love to see in the future:
- Be able to set a directory where every movie is created and not need to set it every time!
- Then it looks better if the encoding was done without viewing the cmd.exe window, instead you could use a progressbar in the main program (if this is possible of course)
- An directory where every "temp" files go while encoding. The divx2pass and other!

The last and most important for me at the time is:
- Support for other languages than english in subtitles... becouse I live in Sweden and we use the characters: "å, ä, ö" in our alphabet, hope you understand this and will add this in the near future (please ?)... every one of my subtitle uses this characters...

Thanks man for this beatiful app!
Back to top
View user's profile Send private message
csuper



Joined: 03 Jan 2006
Posts: 103

PostPosted: Sat Apr 15, 2006 7:45 am    Post subject: Reply with quote

XperienZe wrote:


The last and most important for me at the time is:
- Support for other languages than english in subtitles... becouse I live in Sweden and we use the characters: "å, ä, ö" in our alphabet, hope you understand this and will add this in the near future (please ?)... every one of my subtitle uses this characters...



You can change it already... you need to go to the advance TAB...

UPDATED :
Change the Code Page value "cp1251" by "cp1257"
Hope that works...

csuper.


UPDATED : sorry for the tipo :( , XperienZe ...


Last edited by csuper on Sat Apr 15, 2006 4:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
XperienZe



Joined: 15 Apr 2006
Posts: 3

PostPosted: Sat Apr 15, 2006 8:07 am    Post subject: Reply with quote

csuper thanks but mine says "cp1251", not "cp1521" as you say? What should i change it to? Will the characters: "å, ä, ö" now show up?
Back to top
View user's profile Send private message
uNn99



Joined: 19 Jan 2006
Posts: 64

PostPosted: Mon Apr 17, 2006 7:26 pm    Post subject: Reply with quote

Alcahest wrote:
It is awesome, thanks uNn99!
And if you have time, my principal request for this superb prog would still be "manual cropping with preview". ;)

Hm, but why cant you do it now? Edit "CropX" and "CropY" values and click Preview.
Back to top
View user's profile Send private message
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Mon Apr 17, 2006 10:17 pm    Post subject: Reply with quote

Hi uNn,
Yes, i can do this of course, but I was more thinking of a realtime croping feature (like Virtualdub "null filter"), as can be seen on this picture.
This would allow to set the correct croping directly.

I don't know how much work it would require though, maybe a lot ^^;;
See you,

Alcahest
Back to top
View user's profile Send private message
uNn99



Joined: 19 Jan 2006
Posts: 64

PostPosted: Tue Apr 18, 2006 11:55 pm    Post subject: Reply with quote

New version v0.9.6:
- File Info page
- Codepage Info
- small fixes

Download link in the 1st post. Mencoder is included in archive now =)
Back to top
View user's profile Send private message
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Wed Apr 19, 2006 1:17 am    Post subject: Reply with quote

Hi uNn, thanks for the new version, it's great to have detailed file infos.
I tried my problematic file and get the "framerate too high" too, even with the enclosed "memcoder". (i'm using the P3 build).
Here's the file in question, maybe you can find out why it's not working if you have a little time.
http://videoff7.free.fr/battle_500k.wmv
See you,

Alcahest
Back to top
View user's profile Send private message
uNn99



Joined: 19 Jan 2006
Posts: 64

PostPosted: Wed Apr 19, 2006 1:33 am    Post subject: Reply with quote

Alcahest wrote:
Hi uNn, thanks for the new version, it's great to have detailed file infos.
I tried my problematic file and get the "framerate too high" too, even with the enclosed "memcoder". (i'm using the P3 build).
Here's the file in question, maybe you can find out why it's not working if you have a little time.
http://videoff7.free.fr/battle_500k.wmv
See you,

Alcahest

Check "Change FPS" and choose 25, for example - and that's it! :)
Back to top
View user's profile Send private message
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Wed Apr 19, 2006 1:40 am    Post subject: Reply with quote

Oh i think i understand the problem, MediaInfo can't determine the FPS of WMV files, is that it?
Later,

Alcahest
Back to top
View user's profile Send private message
uNn99



Joined: 19 Jan 2006
Posts: 64

PostPosted: Wed Apr 19, 2006 1:46 am    Post subject: Reply with quote

Yes, sometimes MediaInfo can't determine the FPS of WMV files, but it's not a problem. I think this file is very strange, because there are so maany errors while mencoder encodes it. But if fps are forced to 25, there is no problem...
Back to top
View user's profile Send private message
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Wed Apr 19, 2006 2:00 am    Post subject: Reply with quote

I see, thanks for confirming.
I checked; the real FPS of this file in WMP, it's 15FPS and it works fine indeed when AviToPmp is set to 15fps, so all is good now ;)
Later,

Alcahest
Back to top
View user's profile Send private message
zshadow



Joined: 26 Dec 2005
Posts: 42

PostPosted: Thu Apr 20, 2006 12:17 pm    Post subject: Reply with quote

nice program, works great:)
Back to top
View user's profile Send private message
lopoz



Joined: 15 Aug 2005
Posts: 8

PostPosted: Thu Apr 20, 2006 6:06 pm    Post subject: Reply with quote

Best front-end EVER! I love the auto-AR feature!
I was wondering if multithreading will be supported (for us X2 users ;) )?

Also, what language did you write it in?
Back to top
View user's profile Send private message
Alucard77



Joined: 04 Apr 2006
Posts: 6

PostPosted: Sat Apr 22, 2006 9:01 am    Post subject: Reply with quote

Hi There,

I apologize for asking what may seem like some dumb questions, but I am new to this program as I have been using VirtuaDub up to this point and I wanted to test this out. So I just have a couple of questions:

1) When you turn on "use sharp", how much sharper does it make it. I mean in VD I usually use a 3. Is this set at one, I don't quite understand the string. Can I change it to 3, or does this work completely differently then VirtuaDub.

2) I am assuming that when I use target quantizer that I can manully change it to 2.0 or 3.0. At the moment, I see it defaults to 4.0. If I click on the down arrow, it resorts back to bitrate figures even though the quantizer option is still displayed. Is that correct? Does it except manual type ins. Will it except it for BitRates if I chose to type something in over 850 which is your default max.

3) Can someone quickly give a layman explation of VHQ. Is 1 better then 4 or vice versa, what will it really do (ie. less pixelation, clearer picture, etc.)

4) If I rip a vob, will I have to rip out the subtitles from that vob, or will this program recognize the subtitles in the vob?

Thanks for the help, it is very appreicated.
Back to top
View user's profile Send private message
Itaintrite



Joined: 15 Jul 2005
Posts: 54

PostPosted: Sun Apr 23, 2006 12:20 am    Post subject: Reply with quote

If you click on Advanced settings, you can configure the sharpening command to your liking.
Back to top
View user's profile Send private message
Alucard77



Joined: 04 Apr 2006
Posts: 6

PostPosted: Sun Apr 23, 2006 7:14 am    Post subject: Reply with quote

If I wanted to change the sharpness level to 3, is this the code I would use?

unsharp=l3x3:3:c3x3:3

The default is:

unsharp=l3x3:1:c3x3:1.

In addition, anyone notice that if you crop blackbars then resize the image, the image looks crappy. You can definately see blocks around figures and such. I notice that comes out much nicer in VDub. Any idea why that is?
Back to top
View user's profile Send private message
toker#



Joined: 21 Jan 2006
Posts: 27

PostPosted: Fri May 05, 2006 2:01 am    Post subject: Reply with quote

@uNn99

Great work best PMP encoder!!

@everyone

Has anyone use the audio delay function. I have tried it and it doesnt do anything for me.
Example my DVD ifo file tells me that the audio is on a -80ms delay. I type in -80ms and the final results are out of sync. I have tried leaving the input on 0 and the video / audio is out of sync.

Can anyone help?
Back to top
View user's profile Send private message
Mondy



Joined: 05 Jan 2006
Posts: 9

PostPosted: Tue May 30, 2006 12:53 am    Post subject: Reply with quote

Sorry toker# i cant help with the delay issues as i havent ran into such a problem myself.Secondly im just wondering if anoyone know a quick way to extract sub files from an mkv file for re-encoding into a pmp file.

Currently i am using mkvextractgui to extract the text i want manually and then re-encode the file. I have also tried editing the batch file to get it to extract the text for me and then encode the file which also works.

uNn99
Firstly would it be possible for you to support the .mkv file extension as these video files can be converted without any problems?
Secondly could you possible add an mkvextract option to your application?
If its too much work too add mkvextract to avitopmp dont worrie about it.

For thoses interested in getting the sub files out of mkv files and creating pmp files.
mkvextract can be found below. You will require either the installer or the MKVToolNix download and the runtime download.
http://www.bunkus.org/videotools/mkvtoolnix/downloads.html#windows
The mkvextract Gui can be found below which is useful if your new to mkvextract.
http://forum.doom9.org/showthread.php?s=&threadid=73819

Sorry about the mess in the post i know its not the cleanest post in the world. I also apologise for bringing up this old post again but i thought it would be better to bring it back, then to create a new thread.
Back to top
View user's profile Send private message
uNn99



Joined: 19 Jan 2006
Posts: 64

PostPosted: Tue May 30, 2006 6:17 am    Post subject: Reply with quote

New version 0.9.7:
- PMP Muxer 2.01
- New feature to convert video without re-encoding (limit is 720x512)


Last edited by uNn99 on Wed May 31, 2006 9:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
csuper



Joined: 03 Jan 2006
Posts: 103

PostPosted: Tue May 30, 2006 4:00 pm    Post subject: Reply with quote

GREAT job thank you.... !

Your converter is one of the best ! :)
_________________
-----------
Now using PMP Mod 1.02 with some nice FPS gain with my slow SONY MS...
Thanx Jonny ! & Malloc ! & Raphael !
Back to top
View user's profile Send private message
leicesterfan



Joined: 04 May 2006
Posts: 2

PostPosted: Wed May 31, 2006 7:59 am    Post subject: Reply with quote

Thanks for the new version - I love this program, it's awesome. The picture quality is superb.

Great job!
Back to top
View user's profile Send private message
psp



Joined: 01 Jun 2006
Posts: 43

PostPosted: Thu Jun 01, 2006 3:38 am    Post subject: Reply with quote

please add support for desc fonts
you just need to add this line to the bat file
-font "location_of_file\font.desc"
in order to this to work we also need to remove this line:
-unicode -subcp cp1255
and for same unknown reason to move the path of video file to the end

example:

orginal:
"C:\psp\AVItoPMP_P4\apps\mencoder\mencoder.exe" "C:\divx.avi" -unicode -subcp cp1255 -vf unsharp=l3x3:1:c3x3:1,scale=480:272 -sub "C:\psp\s01e10.hebrew fixed.srt" -ovc xvid -xvidencopts bitrate=768:vhq=1:max_bframes=0:chroma_me:chroma_opt -nosound -o "C:\psp\AVItoPMP_P4\AVItoPMP_P4\divx_tmp.avi"

work with desc font:

"C:\psp\AVItoPMP_P4\apps\mencoder\mencoder.exe" -font "c:\psp\AVItoPMP_P4\font.desc" -vf unsharp=l3x3:1:c3x3:1,scale=480:272 -sub "C:\psp\s01e10.hebrew fixed.srt" -ovc xvid -xvidencopts bitrate=768:vhq=1:max_bframes=0:chroma_me:chroma_opt -nosound "C:\divx.avi" -o "C:\psp\AVItoPMP_P4\AVItoPMP_P4\divx_tmp.avi"

this support will be very useful i love avitopmp but the subtitle doest work well with regular font (need hebrew support)
i think desc font will also be useful with other language .
Back to top
View user's profile Send private message
pietrotc



Joined: 30 May 2006
Posts: 3

PostPosted: Thu Jun 01, 2006 9:48 pm    Post subject: Reply with quote

You are genius!
Your program is magnificent, but I allow myself of give you of the suggestions :

- ability to configure the priority of mencoder.exe
- ability to cionfigure the program used to see the preview

thansk !

PS.: Sorry for my bad english
Back to top
View user's profile Send private message
pietrotc



Joined: 30 May 2006
Posts: 3

PostPosted: Mon Jun 12, 2006 10:14 pm    Post subject: Reply with quote

Can you add support for PMP AVC Mod ?

Thanks!
Back to top
View user's profile Send private message
DocMAX



Joined: 13 Jun 2006
Posts: 35

PostPosted: Tue Jun 13, 2006 11:02 am    Post subject: Reply with quote

which version is the best for intel core duo processors? P3 or P4 ???
Back to top
View user's profile Send private message
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Tue Jun 13, 2006 11:05 am    Post subject: Reply with quote

P4 is guess, since i suppose core duo supports SSE2.
Later,

Alcahest
Back to top
View user's profile Send private message
DocMAX



Joined: 13 Jun 2006
Posts: 35

PostPosted: Tue Jun 13, 2006 2:59 pm    Post subject: Reply with quote

it reports SSE and SSE2 = 0 :-(
Back to top
View user's profile Send private message
TestType



Joined: 13 Dec 2005
Posts: 23
Location: Iceland

PostPosted: Tue Jun 13, 2006 5:49 pm    Post subject: Reply with quote

Then it is an enhanced version of P3, just like the Pentium M processors (in Centrino laptops). I've got a Dothan processor and have been using the P3 build.

Here's hoping uNn99 brings out an AVC version of his great program soon, keep up the good work :)
_________________
PSP: Japanese Firmware 1.0 :: 1gb SanDisk Memory Stick
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group