|
|
Link #1 |
|
Member
Join Date: Jul 2003
Location: Nashville
Age: 26
|
Converting/Playing H264
As we all know, not everyone can play H264 encoded vids, so is there a way to encode them into XVID, seaching the forums I didn't really see one, but I may have overlooked it. I've tried every conventional way of playing them, all the players, CCCP, the codec AS gives, so the way I figure the last chance is converting them, plus I rather have XVID.
|
|
|
|
|
|
Link #3 |
|
Administrator
AnimeSuki Site Staff ModeratorJoin Date: Jan 2001
Location: Netherlands
Age: 34
|
If they don't play correctly than I doubt you will be able to convert them correctly.
The easiest way would be to use a AviSynth file in VirtualDub you see, but for that to work H.264 has to work -- although it doesn't need to be played at full speed. (though if mere CPU power is the problem, then converting file is going to take ages) |
|
|
|
|
|
Link #4 | |
|
Reverend K-Rist
|
Quote:
Ilk out just over 2ghz across 40 machines XD |
|
|
|
|
|
|
Link #5 |
|
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 26
|
Virtualdub isn't multithreaded (or, well, it has one decoding thread and one processing thread), so I dunno how much that would help...
Anyway, here is a guide on how to do it with MP4's. The process for MKV's is similiar, but watch out for VFR, which introduces a bunch of problems to which there's no really good solution. If it's softsubbed you will also need to demux the subs and hardsub them in (or just have them in a separate file, if your computer can handle softsubs). Note that for this stuff to work your computer WILL need to be able to play h264 encoded files correctly, even if they play really slow. Also note that some groups really doesn't like transcoding of their releases. I personally think it's a waste of time and CPU power, but as long as I can redirect the tech support that invariably pops up around guides like the one linked above to someone else, I mostly just shrug. That being said, the BY FAR simplest way to solve the problem is to download an XviD version of what you're trying to watch - or to upgrade your computer.
__________________
|
|
|
|
|
|
Link #6 |
|
Senior Member
Join Date: Nov 2003
Age: 33
|
If it's computer speed which is the problem, and not decoding it accurately,
Code:
mencoder [-sid 0] -oac mp3lame -lameopts preset=<audio bitrate> -ovc xvid -xvidencopts cartoon:pass=[1|2]:bitrate=<video bitrate> -o <output filename> <input filename> Telling people they should be getting a new computer when the old one is perfectly capable of doing everything you want were people to use the right codecs smacks a bit of technology fetishism. (redundant)That smiley is ': p' without the space. Stupid graphical smileys. Edit: Did what him below said. Last edited by Lambda; 2006-01-13 at 17:29. |
|
|
|
|
|
Link #7 |
|
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 26
|
Stick it inside [code] tags and it should look nicer...
How does mencoder deal with VFR? If it works well with VFR, it might well be a much nicer alternative to Avisynth, even if it doesn't do softsubs nicely (they'll just be the plaintext ones you see in MPlayer).
__________________
|
|
|
|
|
|
Link #9 |
|
Administrator
AnimeSuki Site Staff ModeratorJoin Date: Jan 2001
Location: Netherlands
Age: 34
|
In the latest version of AviSynth you can add convertfps=true in the DirectShowSource()
command, and while whatever framerate conversion is done might not be pretty, it should work. |
|
|
|
|
|
Link #10 |
|
Gao~ a sound for the ages
Join Date: Nov 2003
Location: I live in a relm of swirling of thought and emotion, Ever lost in the relm of infinite possiblities.
Age: 26
|
You could increase Priority in Task Manager (Processes) of the player to Above Normal or High to see if that gets better results (It did for me). I can play h.264 encoded episodes with some softsubs on my 750MHZ though it stutters from time to time.
|
|
|
|
|
|
Link #11 |
|
Junior Member
Join Date: Aug 2004
|
This seems to work for me:
To convert file h264isevil.avi to xvidisgreat.mkv: 1. create text file conv.avs Code:
DirectShowSource("h264isevil.avi",convertfps=true)
Code:
avs2avi conv.avs video.avi -l c:\xvid.cfg 3. run mkvmerge Code:
mkvmerge -o xvidisgreat.mkv --novideo h264isevil.avi video.avi |
|
|
|
|
|
Link #12 | |
|
Aegisub dev
IT SupportJoin Date: Dec 2004
Location: Florianópolis, Brazil, Pale Blue Dot
Age: 27
|
Quote:
__________________
|
|
|
|
|
|
|
Link #13 |
|
Gao~ a sound for the ages
Join Date: Nov 2003
Location: I live in a relm of swirling of thought and emotion, Ever lost in the relm of infinite possiblities.
Age: 26
|
The point is to get the video Running right?
And yes its harder to get a response when the player is running on a higher priority. Though during my lack of a video card on my beast of a machine I had to get my anime hit somehow. |
|
|
|
|
|
Link #14 |
|
Member
Join Date: Jul 2003
Location: Nashville
Age: 26
|
Wow, thanks for all the responses, increasing thread priority does help sometimes, and converting has worked on a couple of vids, but not all. I guess I have to face the fact that I'm behind the curve though. Thanks again everyone for all the useful tips and ideas.
|
|
|
|
|
|
Link #15 | |
|
Reverend K-Rist
|
Quote:
Never set the priority higher than abovenormal. It can lead to serious hardtime vegas lockups and shit, specially if you have other shit going on in the background. |
|
|
|
|
|
|
Link #16 |
|
Gao~ a sound for the ages
Join Date: Nov 2003
Location: I live in a relm of swirling of thought and emotion, Ever lost in the relm of infinite possiblities.
Age: 26
|
Well If you turn off the other stuff you dont wish to run in the back ground especialy on a very slow system. Then the Higher priority wouldnt matter too much.
In my case my bro had a 750 MHZ laptop and he wanted to watch a h.264 encode. I closed some processes and still wasnt getting the consitant FPS so I raised the priorty to High to see if it'll work. It did. Warning like said by others doing anything else in windows while the video is running will be slower than my Grandpa driving on I-95 (its a highway). |
|
|
|
![]() |
| Thread Tools | |
|
|