babos / xvid4psp

Automatically exported from code.google.com/p/xvid4psp
GNU General Public License v2.0
0 stars 0 forks source link

PMP encoding not working #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a video
2. Use PMP as format, x264 as video encoding and AAC as audio encoding
3. Try to encode

What is the expected output? What do you see instead?
A video with PMP container, with h.264 for video and aac for audio. I get
"unrecognised option `--pictiming'."

What version of the product are you using? On what operating system?
5.0.37.6 rev63. Windows XP SP3.

Please provide any additional information below.
Shouldn't XviD4PSP be using the x264.exe from the x264_pmp folder for PMP
encoding?
I did try to rename the x264_pmp folder to x264 to test, the encoding
worked, but no progress is shown for the video encoding in the XviD4PSP
encoding window.

Original issue reported on code.google.com by bruno...@gmail.com on 14 Nov 2009 at 6:04

GoogleCodeExporter commented 8 years ago
"Shouldn't XviD4PSP be using the x264.exe from the x264_pmp folder for PMP
encoding?" - yes, but, since x264.exe have many changes for the last time, all 
this 
changes make incompatible using both old (x264_pmp) and new versions of this 
encoder 
(due to big difference in their CLI-commands). So even if you rename folder, 
you 
didnt get exactly what you want.
I can see only one solution: someone must compile new version of the x264.exe 
with 
patches, that was used in the x264_pmp.exe. But I dont know names of this 
patches, 
and most probably they too old and can`t be added to the nowadays rev. of the 
x264.exe.

Also you can try to go here C:\Program 
Files\Winnydows\XviD4PSP5\presets\encoding
\PMP AVC\video and manyally edit presets (remove --pictiming key). Then run 
XviD4PSP, choose preset that you changed, and try to encode something (using 
new 
x264.exe).. Also maybe you will need to change some settings in this preset 
(reset 
it to Baseline or something..). But even if encoding starts w/o any problems, 
most 
probably you`ll get unusable PMP-file, but you can try.

Original comment by forc...@gmail.com on 15 Nov 2009 at 9:54

GoogleCodeExporter commented 8 years ago
http://gitorious.org/mplayer-ww/x264-pmp - I`ve found something.. 

Original comment by forc...@gmail.com on 15 Nov 2009 at 10:07

GoogleCodeExporter commented 8 years ago
I think pictiming is needed to make PMPs work in PSP.

I compiled x264-pmp and I still get "x264.exe: unrecognised option 
`--pictiming'",
even if the project description says "x264 support pictiming in pmp files".

The build in the x264_pmp folder works, like I said, you only need to use it 
for PMP
encoding and make it show the video encoding progress.

I'll try to take a look at the patch and see if I can make it work.

Original comment by bruno...@gmail.com on 15 Nov 2009 at 12:00

Attachments:

GoogleCodeExporter commented 8 years ago
Procrustean also compile this build and give me for testing. Yes, it didn`t 
recognize --pictiming key. But maybe this option is turned on by default, try 
to 
encode video with this build (w/o --pictiming key), and then try to play it on 
PSP. 

Old version will give you many errors if you will try to add options, that was 
changed\added. 

Original comment by forc...@gmail.com on 15 Nov 2009 at 12:13

GoogleCodeExporter commented 8 years ago
http://rghost.ru/613694

Zombie Nation - Ker.nkra.ft400.pmp - was encoded using "pmp" version
Zombie Nation - Ker.nkra.ft400 nl.pmp - using "original" version from the 
x264.nl

Did it working on your PSP? But maybe now to have it worked we need to change 
some 
settings for the x264.exe..

Original comment by forc...@gmail.com on 15 Nov 2009 at 12:25

GoogleCodeExporter commented 8 years ago
Both of them didn't work.

I enconded a video using the x264.exe from x264_pmp folder and it worked.

Using PMPlayer Advance to play them.

Original comment by bruno...@gmail.com on 15 Nov 2009 at 12:43

GoogleCodeExporter commented 8 years ago
Using old x264pmp - bad way.. Too many settings was changed.. I will wait while 
someone find solution how to use new builds of the x264.exe. Try to experiments 
with 
settings. Anyway I dont have PSP and can`t help you.

Original comment by forc...@gmail.com on 15 Nov 2009 at 1:07

GoogleCodeExporter commented 8 years ago
I`ve downloaded source code, and it seems like --pictiming simply not added in 
the 
CLI-options list. If you want, you can make next changes (all in the x264.c):

find line 
{ "frames", required_argument, NULL, OPT_FRAMES },

and add new line after
{ "pictiming", no_argument, NULL, OPT_PICTIMING },

May be it will help.

Original comment by forc...@gmail.com on 15 Nov 2009 at 2:42

GoogleCodeExporter commented 8 years ago
http://rghost.ru/614170 ?

Original comment by forc...@gmail.com on 15 Nov 2009 at 3:15

GoogleCodeExporter commented 8 years ago
Like you said, the line of code is missing and many commits don't have 
pictiming at
all, I don't know what the developer is doing.

The video is really choppy, the playback is not good at all.

This build is the last one that seems to be working, it's a little old (0.67.x) 
but
not as old as the included (0.60.x). Video encoding progress still not being 
shown.

Original comment by bruno...@gmail.com on 15 Nov 2009 at 3:40

Attachments:

GoogleCodeExporter commented 8 years ago
So video is playing, but not good, yes? Maybe now the time to change some 
encoding 
settings.

Like I said before, difference between new and old builds realy huge. Current 
version is 1339, even if you find rev.834 - it not help at all. For example, 
try to 
enable showing SSIM and PSNR (settings->encoding log), and you will see whats 
happen.
Adaptive DCT - same thing. And many other options (b-frames, mb-tree, 
lookahead, no 
psy,weightp.....). 

Try new x264 with pictiming and different encoding settings, settings, not 
XviD4PSP 
presets!

Original comment by forc...@gmail.com on 15 Nov 2009 at 3:55

GoogleCodeExporter commented 8 years ago
Can you give me http://rghost.ru/614170 settings?

Original comment by bruno...@gmail.com on 15 Nov 2009 at 4:11

GoogleCodeExporter commented 8 years ago
I can give you another sample http://rghost.ru/614372 in prevision was 3 
b-frames, 
but looks like b-frames is not allowed atall. Now I disable it and also reduce 
some 
other settings. I hope it will help. Current cli:

video cli:
--crf 21.0 --level 3.0 --ref 2 --deblock -2:-1 --bframes 0 --direct none 
--b-adapt 0 
--no-weightb --weightp 0 --trellis 2 --no-fast-pskip --no-dct-decimate --aud --
pictiming --partitions p8x8,b8x8,i4x4,p4x4 --no-8x8dct --subme 6 --me umh

Original comment by forc...@gmail.com on 15 Nov 2009 at 4:26

GoogleCodeExporter commented 8 years ago
Sorry, wrong link.. uploaded same file..

http://rghost.ru/614400 

Original comment by forc...@gmail.com on 15 Nov 2009 at 4:28

GoogleCodeExporter commented 8 years ago
Worked fine now!

Original comment by bruno...@gmail.com on 15 Nov 2009 at 5:00

GoogleCodeExporter commented 8 years ago
Great!

http://rghost.ru/614769 - here is another samples + presets for this format. 

Original comment by forc...@gmail.com on 15 Nov 2009 at 6:55

GoogleCodeExporter commented 8 years ago
Also, could you please check this samples http://rghost.ru/612738 (mp4, MP4 PSP 
AVC, 
encoded with 4 different builds of x264.exe). Please check all 4 samples, and 
if 
some of them didn`t worked, I want know their names. Thanks.

Original comment by forc...@gmail.com on 15 Nov 2009 at 7:00

GoogleCodeExporter commented 8 years ago
All four worked.

Original comment by bruno...@gmail.com on 15 Nov 2009 at 7:10

GoogleCodeExporter commented 8 years ago

Original comment by ru.procr...@gmail.com on 17 Nov 2009 at 5:00