View Full Version : x264 and Sony PSP?
Pages :
1
2
3
4
[
5]
6
7
8
9
10
11
12
sevEren^^
12th January 2006, 18:43
@sevEren^^: I've made the same findings regarding the framerate reported.. no idea though why this happens.. I'm still using AVIFile to read the framerate. I'll have to step through the debugger once.. I'm having some nasty thoughs why this is happening.. I suspect the framerate returned isn't 29700/1000 and 23976/1000 (which would be properly mapped) but something in that range only, and so it will not be picked up because I look at an exact match in the dropdown.. not some kind of closest match. If there's none found, the calculator defaults to the default fps which is 25.
Glad you were able to recreate this problem, as I was beginning to suspect it was a software component on my machine that was to blame. I look forward to a fix in a future build of megui. I didn't realise that 25fps was the default value that is used when an exact match isn't found, I thought it was picking up that number from the original avi file somehow (which was from PAL source 25fps). doh. :) Tbh though, it's a tiny bug and it's fairly simple to workaround anyway. :)
quomp
22nd January 2006, 21:30
Hi there all,
Could somebody tell me if there is any Mac way to get a ripped PAL DVD .vob file onto the PSP at 23.98fps which is now supported. I want to buy a PSP but won't until I know this is possible as I can't stand the sticky/duplicated frames seen when I use iPSP, PSPware, ffmpegX to convert movies.
Really frustrating. No-one seems to have written any updates for any of these programs which will allow playback at this framerate. Anyone kind enough to help?
damrod
30th January 2006, 04:26
@jonny
your psp mediaplayer works on firmware 2.5 ?
seems interesting..
jonny
30th January 2006, 09:50
only on 1.5
i use the second psp cpu to optimize stuffs, and this can be done on 1.5 only (kernel mode is needed)
damrod
30th January 2006, 13:09
bad luck ;-))
robwicks
11th February 2006, 09:03
The audio seems to give me the most trouble. I put this in my psp.bat:
x264.exe --pass 1 --bitrate %2 --stats ".stats" --ref 2 --mixed-refs --bframes 3 --b-rdo --weightb --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --progress --no-psnr --output %1.mp4 %1.avs
x264.exe --pass 2 --bitrate %2 --stats ".stats" --ref 2 --mixed-refs --bframes 3 --b-rdo --weightb --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --progress --no-psnr --output %1.mp4 %1.avs
This allows me to type psp.bat <filename> <bitrate>, and the script will then run against <filename>.avs, creating <filename.mp4> at <bitrate> Kbps. Originally, I had the batch file do everything to get me the MAQ00264.MP4 file, but I kept getting bad files. Sometimes, they would yield "unsupported format," others, the PSP would freeze. I finally converted the WAV file I had (which was 44100) to 48000 using Besweet. I deleted the original wav file. First, I tried belight, and still got the lockup. Then I tried the same settings on dbpoweramp using Nero AAC (which is what I had been using with Belight) (LC, High Quality, Radio VBR). dbpoweramp worked, and Besweet did not. I had been working on this thing for 3 hours before I finally got a working file onto the PSP, and the problem seems to be the audio. I think this could be an area which could use some serious work.
robwicks
11th February 2006, 09:11
I spoke too soon. The clip played once. I stopped it before it was finished and tried to play it again, and it doesn't play. It also doesn't lock up my PSP, though.
The audio seems to give me the most trouble. I put this in my psp.bat:
x264.exe --pass 1 --bitrate %2 --stats ".stats" --ref 2 --mixed-refs --bframes 3 --b-rdo --weightb --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --progress --no-psnr --output %1.mp4 %1.avs
x264.exe --pass 2 --bitrate %2 --stats ".stats" --ref 2 --mixed-refs --bframes 3 --b-rdo --weightb --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --progress --no-psnr --output %1.mp4 %1.avs
This allows me to type psp.bat <filename> <bitrate>, and the script will then run against <filename>.avs, creating <filename.mp4> at <bitrate> Kbps. Originally, I had the batch file do everything to get me the MAQ00264.MP4 file, but I kept getting bad files. Sometimes, they would yield "unsupported format," others, the PSP would freeze. I finally converted the WAV file I had (which was 44100) to 48000 using Besweet. I deleted the original wav file. First, I tried belight, and still got the lockup. Then I tried the same settings on dbpoweramp using Nero AAC (which is what I had been using with Belight) (LC, High Quality, Radio VBR). dbpoweramp worked, and Besweet did not. I had been working on this thing for 3 hours before I finally got a working file onto the PSP, and the problem seems to be the audio. I think this could be an area which could use some serious work.
damrod
11th February 2006, 10:22
i use aacenc.exe for audio
cbr, lc, 48khz
seems my psp2.5 don't support 44.1khz only 48khz
and with cbr no audio/video desync or pb
lc profile of course :-(
for anime 64kbits
for music or better quality 128kbits -- no more since i listen via headphones..
style have pb sometimes with jh264 when i don't put the maxbitate at 768kbits and you?
robwicks
11th February 2006, 17:31
Okay, I've been hacking around with this thing for a while now. Here are my program versions:
x264 core:44 svn-429
MP4Box - GPAC version 0.4.1-DEV
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X
NAACEnc 1.20 - (C) 2004 Michael Schubert
Nero AAC encoder frontend based on NEncode (C) 2003 DPeshev.
My AtomAVC.ini contains the following:
C:\Program Files\x264>type AtomAVC.ini
[Config]
Title=PSP MPEG-4 AVC
MQV=2
CODEC=2
[DeleteAtom]
Item0=ftyp
Item1=free
[InsertAtom]
Item0=ftypMSNV%01%00%07%86MSNVmp42isom
Item1=/moov/trak/edts%00%00%00%1Celst%00%00%00%00%00%00%00%01%00%7E%31%B6%00%00%00%00%00%01%00%00
My psp-encode.bat script contains the following:
x264.exe --pass 1 --bitrate %2 --stats ".stats" --ref 2 --mixed-refs --bframes 0 --b-rdo --weightb --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --threads 1 --progress --no-psnr --output %1.264 %1.avs
x264.exe --pass 2 --bitrate %2 --stats ".stats" --ref 2 --mixed-refs --bframes 0 --b-rdo --weightb --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --threads 1 --progress --no-psnr --output %1.264 %1.avs
naacenc -tape -lc %1.wav %1-audio.mp4
start /belownormal /b /w MP4Box.exe -fps 29.97 -add %1-audio.mp4 %1.mp4
start /belownormal /b /w MP4Box.exe -fps 29.97 -add %1.264 %1.mp4
start /belownormal /b /w ATOMChanger.exe %1.mp4 MAQ00264.MP4 "C:\Program Files\x264\AtomAVC.ini"
Before I encode, I demux the audio from my AVI or AViSynth script using VobSubMod. I then use besweet to convert whatever the audio to a 48000Hz wav file. Once I have crafted my avs file, using psp.avs as a template, I name it something without spaces, let's say, in this case SW_EpIII.avs. I name the wav file above SW_EpIII.wav. Then I run
psp-encode.bat SW_EpIII 256
The script runs against the avs file to create the video, and converts a .wav file of the same name (which you created in the manner above).
I put \program files\x264 into my path, and put atomchanger, naacenc and any other command line tools I use into that directory. The resulting file played multiple times on my psp. I just pulled a short clip so I could verify settings. I will experiment with other quality settings now that I have a basic setting which works. I hope this helps someone out there who was a frustrated as I was. I found naacenc.exe at rarewares.org, BTW.
deets
11th February 2006, 20:14
i found megui to be the best tool to mess around with PSP encodes for video and besweet using my nero dll's to encode the audio.
then i mux with megui and batch it through atomchanger.
my sig contains a basic page with all the info gleamed off this long topic from all the geniuses on here :)
neonix
16th February 2006, 18:04
i found megui to be the best tool to mess around with PSP encodes for video and besweet using my nero dll's to encode the audio.
then i mux with megui and batch it through atomchanger.
my sig contains a basic page with all the info gleamed off this long topic from all the geniuses on here :)
Nice guide you have setup on that site in your signature. I followed it and got beatiful results from my encodes (256kbps video bitraite, nero aac radio vbr profile for audio (75-80kbps)). I was just wondering how one would do this with VOB files instead of transcoding AVI's?
I guess i should use dvd decrypter to stream copy the main movie and audio soundtrack i want, and turn off the file-splitting option so that i get only 1 vob file? Then use DGIndex to demux the audio and create a .d2v, open this in the avisynth creator in MeGUI and choose deinterlacing if the dvd has that, add the avisynth options i want myself, then just encode as usual? After that use BeLight to transcode the .ac3 and then mux the files to a MP4?
Does this sound about right, or am i missing something?
EDIT: Decided to use Gordian Knot to create the avisynth script file, cut away the credits and such. Then just opened the avisynth in notepad, added the options i wanted myself (resize to 368,208, Tweak(sat=1.2), Sharpen(0.3) and assumefps(24.000) (since this is a 25fps pal dvd)). and it seems like its going good (megui-x264 started on second pass now, although it seems like it's going a bit slower than when i transcode avi's, but i guess that's normal, since this dvd needs to be deinterlaced).
EDIT 2: And it worked perfectly :) Although i have to re-encode it, since i tirmmed off the credits in the movie, but i didn't consider that the audio would be totally untouched, so... hehe.
handtruck
28th April 2006, 22:32
I've started to attempt this venture with one problem: Audio! The video plays perfectly. When I use faac (whether via besweet or faac.exe bia megui), the audio plays about half as fast as it should. If I use Nero or the Winamp AAC plugins (via besweet), the PSP freezes as soon as the video starts.. I've read up and down the threads and was looking for some help.
Edit:
Let me give some specifics
The video is 23.976 FPS
I use BeLight to convert the audio to AAC (always at 64 kbps) and make the output sample rate 48000.
deets
29th April 2006, 19:17
have a look at my sig for some audio info
damrod
30th April 2006, 10:22
have the same problem...was thinking too high bitrate for video
(x264@500 but the max bitrate is around 2000) + audio faac 64kb 48khz)
firmware 2.5
handtruck
1st May 2006, 13:44
Thanks, deets.. Actually used your site as a guideline before you responded but I still have the same problem.. Used a trial of one of those "all-in-one" converters (which I think used ffmpeg for video) and still the audio is too slow.. Is this a firmware issue?
It's weird because
-the file plays perfectly on the computer
-the video plays perfectly on the PSP
-the audio plays on the PSP, but at about half the speed.
It may be important to note that even though the audio is 64kbps, if you look at the information on the PSP, it says 128kpbs. I also tried 128kbps audio with the same problem.
handtruck
1st May 2006, 18:16
Ok, some more information.
I sped up the audio in besweet to be double the original (which incidentally makes the file half as large obviously and half the duration). And this actually works on the PSP. The audio and video match up. However, scrolling and resuming put the audio out of sync (for obvious reasons). This proves that the audio is playing at EXACTLY half the speed. Does this have to do with the 48000 Hz the audio MUST be at for AVC? Is there a way to make the file "LOOK" like it's at 48000 but actually be 24000, the speed it's apparently being played at?
whats the fps of the video?
i personally use nero dll's via besweet and belight and all works great
handtruck
1st May 2006, 20:14
This has happened for both 23.976 video and 29.97 video. I would rather try to use the open source (and free) faac to make this happen if possible, but I'll see if I can make it work with Nero (if I can somehow "obtain" the .dll's)
But this audio issue is just driving me nuts!!!
handtruck
1st May 2006, 22:49
OK, just tried my files on a firmware 2.5 psp a friend has, and they ALL work. This is clearly a firmware issue (I have 2.7). Any ideas?
damrod
11th May 2006, 22:58
maybe a problem with container of audio before final muxing?
i have a strange thing on my pc...
audio encoded in he-aac with winamp codec...property in mpc give 24khz same source with latest neroaudio codec...48khz....both he-aac in 64kb so maybe the psp have the same problem and bug....
presonally i prefer x264@500 than xvid@768kb for my psp since i have only one 1GB MSPro :)
unmei
12th May 2006, 02:26
an AAC decoder that doesn't understand the SBR part of a HE-AAC will only see the "nomally" encoded part, that happens to be at half the samplerate (thus it sees 24kHz for a 48kHz file). I don't have a PSP but from this behaviour and also because other posters mentioned LC i suspect the PSP, or a particular firmware version, cannot decode the SBR part, so don't use HE-AAC but LC-AAC and look if that fixes your problems.
Clown shoes
12th May 2006, 14:13
To the best of my knowledge the PSP will only accept aac as LC. I thought that had always been the case. I am supprised to hear HE worked on any firmware!
|SeNsUi|
4th June 2006, 16:09
hey i jsut got a psp and i have alwyas liked using x264 but for some reason any movie i encode using it for psp it plays for 4 secs then says video cannot played why is this anyone know why??..
i ust the latest x264 codec and use the command line interface encoder.. then use bewseet for audio and mux using mp4mux then run it throught atomchanger.. althought the atomchanger confused me abit cuz i keep reading about these long commands ppl type with 29 fps when mines are 23fps :(..
deets
4th June 2006, 19:11
hi, have a look at my sig, its got all the info collated from this thread and the atomchanger which can handle any input FPS file.
also, whats your firmware?
MarcParis
5th June 2006, 12:17
Hello All,
I'm new on this board as a writer (because I often read this forum and it's very cool!)
I'm currently trying to convert my .mp4 (x264, AAC, 25fps) to psp mp4 (firmware 2.71).
I've tried Deets method on his site, but my psp keeps to say me that my video is not compatible.
In fact I'm asking for help...:):) (thank you in advance)
Here is my method :
VIDEO : Compression through AVS (29.97fps) and command line x264 (last update, no particular option at 768 kps and size of 320*240)
AUDIO : I extract wav from my mp4 original file, then I use Nero digital CLI (free one). I encode with lc at 64000 kps.
I'm muxing with mp4box.
At the end, I'm using atomchanger.
Thanks a lot for your help.
MarcParis
5th June 2006, 20:17
In order to help, here are my parameters : based on what I've found in this thread...thanks to their author!!
psp.avs :
DirectShowSource(Source,audio=false)
LanczosResize(320,240)
ChangeFPS(29.97)
x264 version : 531
psp.bat
start /belownormal /b /w x264.exe --threads 2 --thread-input --progress --bitrate 768 --level 1.3 --analyse p8x8,b8x8,i4x4 --output video.264 psp.avs
start /belownormal /b /w neroAacEnc.exe -cbr 128000 -lc -if audio.wav -of audio.mp4
start /belownormal /b /w MP4Box.exe -fps 29.97 -add video.264 output.mp4
start /belownormal /b /w MP4Box.exe -fps 29.97 -add audio.mp4 output.mp4
start /belownormal /b /w ATOMChanger.exe output.mp4 M4V80021.mp4 AtomAVC.ini
The result is perfect on my computer, but unreadeable on my psp (firmware 2.71).
Moreover the sound, alone, is readable on psp.
Thank you for your help!
deets
5th June 2006, 21:07
Hello All,
I'm new on this board as a writer (because I often read this forum and it's very cool!)
I'm currently trying to convert my .mp4 (x264, AAC, 25fps) to psp mp4 (firmware 2.71).
I've tried Deets method on his site, but my psp keeps to say me that my video is not compatible.
In fact I'm asking for help...:):) (thank you in advance)
Here is my method :
VIDEO : Compression through AVS (29.97fps) and command line x264 (last update, no particular option at 768 kps and size of 320*240)
AUDIO : I extract wav from my mp4 original file, then I use Nero digital CLI (free one). I encode with lc at 64000 kps.
I'm muxing with mp4box.
At the end, I'm using atomchanger.
Thanks a lot for your help.
is the audio at 48khz? if your using megui, did you make sure its not automatically setting the threads to 2?
deets
5th June 2006, 21:08
In order to help, here are my parameters : based on what I've found in this thread...thanks to their author!!
psp.avs :
DirectShowSource(Source,audio=false)
LanczosResize(320,240)
ChangeFPS(29.97)
x264 version : 531
psp.bat
start /belownormal /b /w x264.exe --threads 2 --thread-input --progress --bitrate 768 --level 1.3 --analyse p8x8,b8x8,i4x4 --output video.264 psp.avs
start /belownormal /b /w neroAacEnc.exe -cbr 128000 -lc -if audio.wav -of audio.mp4
start /belownormal /b /w MP4Box.exe -fps 29.97 -add video.264 output.mp4
start /belownormal /b /w MP4Box.exe -fps 29.97 -add audio.mp4 output.mp4
start /belownormal /b /w ATOMChanger.exe output.mp4 M4V80021.mp4 AtomAVC.ini
The result is perfect on my computer, but unreadeable on my psp (firmware 2.71).
Moreover the sound, alone, is readable on psp.
Thank you for your help!
AVC needs a specific file name following this format:
MAQ00419.MP4
m4v is for ASP
MarcParis
5th June 2006, 23:35
Ok thank you for your answer Deets.
1- You're right about MeGui. I've always put 2 threads. I'll compress using command line directly.
2-About the name of the file. When I rename it MAQ00419.MP4, I can't see it any more on my psp. I put this file to the following folder : J:\MP_ROOT\100MNV01
Is it a different folder?
Thank you a lot for your precious help Deets!
MarcParis
5th June 2006, 23:55
Ok I've found the correct folder 100ANV01.
With only 1 thread at compression it works perfectly!!
Thank you a lot again!!!
That's great!!!
Long live Doom9 forums and x264!!
deets
6th June 2006, 04:55
http://www.bontragerphotography.com/psp/meguithreads.php
use megui, its great and can also do your aac using the nero CLI. just change the settings as per the page above about the threads
MarcParis
6th June 2006, 09:05
Ok thank you for the tip!
It would be easier in fact...:)
Otherwise, do you know the simpliest way to convert audio from my original .mp4 file to AAC LC?
Currently I'm using an avs script to open my mp4 file in virtualdubmod and there I extract a wav file that I convert to AAC lc with nero cli...:):) I'm sure there a quicker way to do it...:)
Thanks for your help again.
foxyshadis
6th June 2006, 10:00
Pipe the output of nerodec into neroenc? Or use belight and have it do all the piping for you? =p
MarcParis
6th June 2006, 22:45
Ok thank you!
I've also find another way : Extraction of audio track from original file, and decode mp4 to wave with nero decoder...:)
|SeNsUi|
8th June 2006, 20:14
im on 2.6 firmware and it allows 23fps and the ones im encoding are all 23 fps ju wondering why it stops playback after around 5 secs.. and that site helped me alot i seen it before but i duno what im doing u think i should upload my 500mb file and see if it works on ur psp like i shall send file and u guyz put it through atomchanger and test on psp then i will know if im doing something wrong with atomchanger :(..
deets
9th June 2006, 01:08
what are your x264 settings? are you using the new atomchanger that can handle all the FPS?
|SeNsUi|
9th June 2006, 19:38
hmm dunno it should allow all fps i got it from here this forum dunno theres more then one version anyone have latest version so i can check it out... x264 settings is all good pd psp defaults played with the ref frames and bframes but to avail all the same results on my psp :(..
deets
10th June 2006, 00:22
see my sig, download the atomchanger and try with my profile...
Sudds
11th June 2006, 12:43
I,ve read most of this thread and decided to convert to 24fps.
loadplugin("C:\Documents and Settings\pc-user\My Documents\Useful Shit\DGINDEX\DGDecode.dll")
loadplugin("C:\Program Files\avisynth 2.5\plugins\NicAudio.dll")
video = mpeg2source("C:\Documents and Settings\pc-user\My Documents\My Videos\Episode 1.d2v")
audio = wavSource("C:\Documents and Settings\pc-user\My Documents\My Videos\Episode 1 T01 2_0ch 256Kbps 48KHz.wav")
AudioDub(video, audio)
AmplifydB(17,17)
Sharpen(0.3)
AssumeFPS(24)
ConvertToYV12()
Tweak(sat=1.7, bright=17, cont=1.1)
Lanczos4Resize(368,208)
BESWEET
BeSweet.exe -core( -input "C:\Documents and Settings\pc-user\My Documents\My Videos\
Episode 1 TO1 2_0ch 256kbps 48KHz.wav" -output "C:\Documents and Settings\pc-user\My Documents\My Videos\
Episode 1 TO1 2_0ch 256kbps 48KHz.mp4") -bsn( -2ch -cbr 128 -accprofile_lc ) -ota( -g max ) -soundtouch( -r 25000 24000 )
Then muxed with YAMB, and converted with ATOMCHANGER.
Plays fine on the PC with QT but when placed on the PSP its out of sync, i,am not sure what i have done wrong, as i have been using this for awhile now with FPS as 29.97 and had no problems.
Anyone got an idea whats going on? Thanks.
This is really pi**ing me off now...29.97fps is out of sync now as well.
CruNcher
11th June 2006, 23:16
:thanks: to Jonny and magiK! for PMP Mod AVC :)
http://jonny.leffe.dnsalias.com/pmp_mod_avc/index.htm at least we have 480x272 now, still some hurdles to take before we reach full UMD res tough but it progresses nice to see :)
btw did one of yeah heared something about the Author of another ffmpeg decoder based Player called PSPlayer MT, seems he vanished ?
Jonny the PSP optimized ffmpeg h.264 decoder how fast is it compared to Sony's (is it optimized @ all or only ported ? )
BetaBoy allready said that Picard is working on porting CoreAVC to the PSP this could be very interesting in the Future too :)
heres my first test 480x272x24p 788 kbps
http://www.filefactory.com/get/v3/f2.php?f=c411ee
Playback is smooth no problems but the combo 788 kbps avc (deblocking) + 320 kbps mp3 seems to suck on the battery alot
Some chat about the patches with the X264 Devs
(pengvado): x264-info_file.diff: no, I won't allow extra output files. if there isn't any good way to get that info, then write a 10 line C program to grab it directly from avisynth.
(Jarod): how does that help changing .mp4 output?
(pengvado): not at all
(pengvado): I don't see why that patch was written in the first place
(Jarod): to play on the psp?
(Jarod): or should the muxer do it you mean?
(pengvado): x264-info_file.diff doesn't change muxing at all
(Jarod): hmm
(Jarod): so, its useless?
(pengvado): yes
(pengvado): the main patch, x264-pictiming-magik.diff makes the following unacceptable changes:
(pengvado): sets IDR-frames to "low priority" (should be "highest", like it was before)
(pengvado): removes x264's identifacion and settings userdata-sei
(pengvado): and the following errors:
(pengvado): writes low_delay_hrd_flag unconditionally (should appear only when hrd_settings is present)
(CruNcher): pengvado im not sure but maybe that's the way Sony want's the bitstream to be to work on the PSP ?
(Jarod): i doubt that
(pengvado): 4th error: I have to flame the author for calling it x264 v1.0
Bug Reports:
B-frames doesn't work couseing a "avc_get: sceMpegAvcDecode failed" error, but only if --ref is <1 else the decoding of b-frames is out of order seems it displays the encoding order instead of the displaying order (warping)
example = http://www.filefactory.com/?5e25b6
jonny
12th June 2006, 13:11
we are using the psp avc decoding api (the only libavcodec part used is the mp3 decoding now)
at 222mhz, the psp can decode 480x272 @ ~180fps!
(on the player the speed is around 67fps, software mp3 decoding slow down stuffs alot)
probably in successive versions i'll downclock the psp to 111mhz
ffmpeg h264 goes really slow on psp atm (a lot of work would be required to get full speed in software)
interesting infos about bframes (i was assuming bframes totally not working)
about the x264 modifications, my info_file patch is used by my pmp muxer (so it's useful for me and for everyone using the muxer)
the pictiming patch is done by magiK, i don't know 100% the details, but the psp don't decode the stream (or crash) without it (this patch was made analyzing the avc stream inside pmf files and streams produced with the elecard codec)
EDIT:
if some x264 developer is interested, this is the thread where all it's started:
http://forums.ps2dev.org/viewtopic.php?t=5820
(as you can see, at the start, only the elecard codec was working)
rootkit
15th June 2006, 23:44
Where can I get ATOMChanger?
quake74
16th June 2006, 07:40
Where can I get ATOMChanger?
:search: and look at the site in the signature of deets
http://www.bontragerphotography.com/psp/
Hyper Shinchan
16th June 2006, 10:03
I was looking at deet's website and I've noticed that he says
sadly I dont know who the original author was, but of course many thanks to them and also thanks to qyqgpower a kind user over on doom9 who recompiled atomachanger to remove the 29fps settings.
Well, the authors of AtomChanger are "Mobile Hackerz", they are Japanese and their own page is only in Japanese (sadly). AtomChanger is published under the LGPL.
http://www.nurs.or.jp/~calcium/3gpp/
rootkit
17th June 2006, 14:45
Hi,
i can do the same only with ffmpeg (firmware 2.71).
This is my script
#!/bin/sh -e
[ "$#" -ne 3 ] && exec echo "usage: $0 <input.avi> <output.mp4> <Titolo del film>"
ffmpeg -y -i "$1" -title "$3" -vcodec h264 -s 368x208 -coder 1 -b 300 -g 250 -f h264 -an -qcomp 1 -subq 6 -qns 3 -trell 2 -pass 1 /dev/null
ffmpeg -y -i "$1" -title "$3" -vcodec h264 -s 368x208 -coder 1 -b 300 -g 250 -f psp -acodec aac -ac 2 -ar 48000 -aq 80 -qcomp 1 -subq 6 -qns 3 -trell 2 -pass 2 "$2"
rm -f x264_2pass.log
Hyper Shinchan
27th June 2006, 16:43
Hi,
i can do the same only with ffmpeg (firmware 2.71).
This is my script
#!/bin/sh -e
[ "$#" -ne 3 ] && exec echo "usage: $0 <input.avi> <output.mp4> <Titolo del film>"
ffmpeg -y -i "$1" -title "$3" -vcodec h264 -s 368x208 -coder 1 -b 300 -g 250 -f h264 -an -qcomp 1 -subq 6 -qns 3 -trell 2 -pass 1 /dev/null
ffmpeg -y -i "$1" -title "$3" -vcodec h264 -s 368x208 -coder 1 -b 300 -g 250 -f psp -acodec aac -ac 2 -ar 48000 -aq 80 -qcomp 1 -subq 6 -qns 3 -trell 2 -pass 2 "$2"
rm -f x264_2pass.log
What build are you using? Is it possible to use all the x264 option in it? Like the rdo or the motion search quality?
deets
28th June 2006, 20:56
I was looking at deet's website and I've noticed that he says
Well, the authors of AtomChanger are "Mobile Hackerz", they are Japanese and their own page is only in Japanese (sadly). AtomChanger is published under the LGPL.
http://www.nurs.or.jp/~calcium/3gpp/
just seen this. so is it ok to have the recompiled file on my site then?
Hyper Shinchan
30th June 2006, 10:11
just seen this. so is it ok to have the recompiled file on my site then?
I guess so, but I'm not expert with this license... anyway you've just re-build it and patched it, right? If I'm not wrong the LGPL don't allow you to take portion of code and include them in your own program (but I repeat, I don't have confidence with these stuffs).
foxyshadis
1st July 2006, 01:01
GPL => can only be incorporated into other GPL software, any other license must be switched to GPL first.
LGPL => can be incorporated into any software. Technically, it also has to be backward-compatible with itself, to keep apps from breaking if a library is upgraded.
Either way you must supply the source if someone asks (an offsite link is sufficient, or you can just package it too), and the license has to be included with the binary. But that's about it afaik.
JOCKYW
1st July 2006, 15:57
I've developed a vlc client called "PMP VLC" for Sony PSP.
(http://forums.ps2dev.org/viewtopic.php?t=6053)
With the app PSP users can view video streams via wlan. The transcoding is done in real-time by vlc 0.8.5 on a PC.
Currently a good quality can be achieved with following transcode params:
Code:
:sout=#transcode{vcodec=DIV3,vb=700,width=360,height=272,fps=25,acodec=mp3,ab=48,channels=2}:duplicate{dst=std{access=http,mux=ogg,url=0.0.0.0:1234}}
Since the PSP can do H264 decoding with dsp hw, I have started doing experiments with x264 (vcodec=h264). However, I have 2 problems:
1. it pushes my AMD 2400 cpu to 100% and the pc is not responsive anymore
2. the only http stream container for h264+mp3 which works seems to be .ts
My questions are therefore:
1. what x264 video encode settings can you recommend to reach a decent quality similar to DIV3@700kbs (360x272, 25fps) and a cpu load well under 100% (e.g. like with DIV3 around 60%)
2. can the ogg container work for http streaming? if not now perhaps in the future? is there another container which may work?
Thx in advance!
===========================
EDIT:
After a long search I found the answers in this thread:
http://forum.doom9.org/showthread.php?t=111925
:sout=#transcode{vcodec=h264,vb=600,width=360,height=272,fps=25,venc=x264{me=dia,subme=1,analyse=none,bframes=1,b-adapt=none,chroma-me=none,merange=12},acodec=mp3,ab=48,channels=2}:duplicate{dst=std{access=http,mux=asf,url=0.0.0.0:1234}}
Quality is way beyond my expectation, x264 is cool!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.