Ive taken some videos on my N95 mobile phone and they are in MP4 format which works fine when I play them on PS3. Unfortunately most of the videos are sideways on and need to be rotated. After scouring the internet, Ive tried several apps and the only one Ive had any success with was Avidemux. With this, I am able to load the MP4 and rotate it but in order for it save you have to set the video and audio settings. I set the video to MPEG-4 ASP (Xvid) and left the audio as 'Copy', applied the video filter to rotate the video and saved the result as MP4. It plays back fine on the PC but the PS3 wont play it.
Has anyone used this program or know anything about rotating video for playback on the PS3?
And then encode the video with MeGUI and finally (within MeGUI) mux the old audio and the new video. Avisynth is a very powerful tool, which I like to use a lot.
I got Avisynth but double clicking the executable does nothing whatsoever! It doesnt even load anything, unless Ive downloaded a virus lol
avisynth doesn't have a frontend - double-clicking it does nothing, you either run it from the cmd line with parameters or get one the frontends like avisynth front, gknot, avstool (they do their job, but iirc none of them offer the full feature range)
Haha, well I will try to do it as simple as possible.
First, Avisynth is a frame server, not an editing/encoding/etc application. This means that you provide a script (in an .AVS file), and it will transform it online to audio and video (i.e. serve frames, ergo frame server). You tell it how to serve the frames by providing it with a script, in which you put function calls. For instance, in the example above, I opened a file using DirectShow and told Avisynth to rotate the video left (90 degrees). There are plethora of functions available built-in in Avisynth, as well as huge amounts of plug-ins for all aspects of video and audio manipulation (very few examples: sharpening, extracting data, audio manipulation, etc).
MeGUI is a GUI program that uses external tools for encoding (like Xvid, x264, Nero AAC, etc.). It also manages its external tools by itself, so it will download whatever you need. What is most important, is it is built to encode Avisynth scripts.
Lets first test if you have installed Avisynth properly. Go to the directory of some media file (for instance, the files you are unhappy with), and make the following script (create a new text file and change its extension to AVS):
Code:
DirectShowSource("...")
Inside the function you provide the name of the media file you want to open. Now just open this AVS file with Media Player Classic, WMP, KMP or whatever media player you use. It should play the file. What is happening behind the scenes is, Avisynth is opening the media file with directshow (Windows' codecs) and serving the frames to the media player. If all works well, it means you have Avisynth installed and working.
Now, you said you wanted to rotate the videos. Avisynth provides you with functions to rotate your videos left and right by 90 degrees.
After installing MeGUI and updating its tools (it should do all that automatically on first run), you will see place to input the video AVS and audio AVS (in our case, the single AVS will provide both audio and video, so input the same script in both fields), as well as what preset to use for encoding both audio and video. The PS3 has support for h264, so you could use x264 for encoding, or of course, you can use Xvid. For audio, you can use AAC or MP3, but AAC is more efficient. Then, you can click "Auto Encode" to bring up settings on how large you want your file to be. You should decide that based on the resolution and length of your videos. You can also select which container you want (for the PS3 you want MP4). Then when you click "Schedule", it will create for jobs in the batch tab. Click start, and it will do its magic and create your fixed videos.
I appreciate the explanation of the two apps and it is making more sense but I wouldnt say it was any simpler!
Ok this is what I did.
I created a new text document and renamed the extension to .avs as you instructed. Then I opened it in VLC player and it did nothing which Im pretty sure is normal. I mean playing an empty text file in a media player isnt going to much really, is it? What Im failing to grasp is the bit between creating the text file and playing the avs in the media player. I dont understand the directshowsource code or how to apply it.
Does it sound like I might not have Avisynth installed properly then?
I created a new text document and renamed the extension to .avs as you instructed. Then I opened it in VLC player and it did nothing which Im pretty sure is normal. I mean playing an empty text file in a media player isnt going to much really, is it? What Im failing to grasp is the bit between creating the text file and playing the avs in the media player. I dont understand the directshowsource code or how to apply it.
Does it sound like I might not have Avisynth installed properly then?
Empty AVS file will not work, of course. Like I said above, you need to put "DirectShowSource("<<<path to video file here>>>")" in it.
ps3 sucks ass SO ... if he really wants it then he should install Linux OS on PS3 and Mplayer or a Snes/Nes/amiga emu and have better fun like i have ... on this failed platform
everybody knows that the default crap that PS3 has to output movies is shiat
Last edited by Spiderman on Sat, 15th Aug 2009 01:28; edited 1 time in total
I'm not sure VLC can parse AVS documents. Try using MPC. Also, I think it should be
Code:
TurnRight()
as it is a function.
I added the correct function but still nothing. I also tried opening the avs with Windows Media Player but it causes an error and WMP crashes lol. What is MPC?
And then encode the video with MeGUI and finally (within MeGUI) mux the old audio and the new video. Avisynth is a very powerful tool, which I like to use a lot.
The only success I have had doing the same thing myself from mobile phone videos is using Xilisoft 3gp converter to convert the mp4 to WMV the load the new WMV file into windows movie maker, you can the use the video otions to rotate the screen and save the finished result as mpeg. Hope this helps. Not particularly split second process but should only take a few minutes.
Reencoding worsens quality each time you do it, so no point in going from MP4 (guessing it's MPEG4 ASP) to WMV to MPEG4. Just a waste of time and quality.
Also, one-click tools are usually not recommended because you never have as much control over the encoding process and they use crappy encoders.
It can usually be installed from within the Avisynth installation (this is what they recommend).
How do I go about installing Windows Media Classic from within the Avisynth installation? I couldnt even find Windows Media Classic on Vista. Im pretty sure I used to have it on XP though.
Someone else recommend Windows Movie Maker but I cannot even run that as I have sucky on board video. My video card died a while back and I get an error when I try to start Windows Movie Maker, due to the lack of hardware acceleration.
Signature/Avatar nuking: none (can be changed in your profile)
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