2009-08-14, 18:47 | Link #1 |
Senior Member
Join Date: Jun 2007
|
Re-encoding 720p help?
I kinda already asked this question in the playback help section, but thought I might get a more specific, useful reply here. The issue I am trying to solve is that many groups have started to release only high resolution h.264 encodes, which kinda screws me and a few others due to not having a system that is up to snuff. I've tried about all I can in order to play these on my system without re-encoding them, and they still lose synch rather quickly (already tried CoreAVC). The only solution seems to be to re-encode files into a less demanding format.
I had previously tried using meGUI, but could not manage to accomplish anything than creating some junk files that took 16+ hours per piece. I don't care too much about anything like artifacting, bluring, or even the audio degrading slightly. I would however like to have an image and subtitles that somewhat match the audio. What I would like to know is if there is a way to do this that won't error out half-way through, and doesn't take more than a few hours of re-encoding per 24 minute episode (ideally, 2 episodes within a 6-8 hour window). Essentially, if there is any sort of practical way to deal with the issue without having to buy new hardware (not even a remote possibility). Any help would be appreciated. |
2009-08-14, 19:55 | Link #2 |
x264 Developer
Join Date: Feb 2008
|
ffmpeg -i inputfile -vcodec mpeg4 -qscale 2 -acodec libmp3lame -scodec copy -ab 128k output.mkv
That'll re-encode to MPEG-4 while copying the subs. You can add an -s option to reduce the size if decoding is still not fast enough (e.g. -s 720x480). |
2009-08-15, 17:07 | Link #6 |
ことわり
Fansubber
Join Date: Apr 2006
|
Try one of the more recent builds of CoreAVC instead. Your system's already quite capable of running 720p (even my abysmal former P4 PC, equipped with a jaw-dropping 512 megs of RAM and a thoroughly ancient motherboard, ran 720p perfectly with CoreAVC's help).
|
2009-08-15, 18:42 | Link #7 | |
Member
Fansubber
Join Date: Jan 2008
|
Quote:
|
|
2009-08-15, 20:53 | Link #9 |
Senior Member
Join Date: Feb 2008
Location: Philadelphia, Pa
|
My initial question would be if you are using something like CCCP? If you are then you need to make sure to go into the settings file for it and turn off the FFDshow H.264/AVC video decoder. This will allow CoreAVC to be used when opening a H.264 MKV.
If you really need to reencode. Then I'll tell you how I usually go about doing it. There might be easier ways but this is just the way I know. Download Virtualdub, AviSynth, Aegisub, and MKVextract. These are all freeware. Extract the .ass file using MKVextract from the video. Open Notepad Create a file with this: LoadPlugin("c:\program files\aegisub\csri\vsfilter.dll") DirectShowSource("c:\FILENAME AND LOCATION OF YOUR VIDEO.mkv") TextSub("C:\FILENAME AND LOCATION OF YOUR SUBTITLES.ass") Save as WHATEVER.AVS Open virtualdub Drag .AVS file into virtualdub Click on Video tab. Go to Compression. Click on XVID codec. Go to file tab and click on Save as AVI. Save it as whatever you want. This shouldn't take long to encode. Probably 30-45 minutes if that. Basic crap quality encode.
__________________
|
2009-08-16, 01:14 | Link #10 | ||
Senior Member
Join Date: Jun 2007
|
Quote:
Quote:
|
||
2009-08-16, 02:38 | Link #11 | ||
Senior Member
Join Date: Dec 2005
Age: 42
|
Quote:
|
||
2009-08-22, 11:22 | Link #14 | |
Senior Member
Join Date: Jun 2007
|
Quote:
As for re-encoding... mkvextract lacks any sort of GUI, and tells me a whole lot of stuff I can't make much sense of, and closes the window before I can even read anything to try and make some sense... So can someone please give me some sort of direction as to what else I need to use than just mkvextract and the source file to end up with an .ass file? Last edited by Vagrant0; 2009-08-22 at 12:01. |
|
2009-08-22, 14:29 | Link #15 |
Senior Member
Fansubber
|
Get MKVExtractGUI to use with the executable.
|
2009-08-23, 01:02 | Link #16 |
Senior Member
Join Date: Jun 2007
|
Well, either I'm doing something wrong, or it just isn't going to happen as well as mentioned.
Followed the instructions as above. Got as far as compression before I started having problems. Xvid doesn't show under the codecs. All of the other options either result in a file that is well over 1gb in size, have no video, or which play the video at an incredibly high rate, or just don't work. It also ends up being either a 24-56 (roughly 0.6-0.4 frames a second) hour long process if I want to see any of the video, or a 50 minute one if I want to look at a blank screen. Oddly enough, the blank screen ends up with a larger file size. This is also with a h.264, low resolution .mkv file that actually plays properly when I try... So yeah, kinda scratching my head. I installed everything listed using the latest versions, tried running/configuring anything that had that option. So not sure what the problem is. |
2009-08-23, 01:35 | Link #18 | |
Senior Member
Join Date: Feb 2008
Location: Philadelphia, Pa
|
Quote:
You don't have to encode the entire video either if you want to test out different ways to encode. You can encode select parts in virtualdub. Use the home button to mark the beginning of the frames you want to encode and the end button to mark the end. You can also use the button at the bottom right to do the same thing. This will encode just those frames in the selection area.
__________________
|
|
2009-08-23, 02:34 | Link #19 |
Member
Join Date: Jul 2007
|
It would be better for him to invest his time fixing his system then trying to reencode. Next he will not know how to get the softsubs or the right font. Then filesize is to huge or he has mouch compresionartefacts. 720p xvid is not the way to go... Some times later he will have problems because of a vfr source.
All that with a some how "borked" system that will have problems with other aplications to. Or it is a "fucking h264 highres encode" troll... |
2009-08-23, 04:03 | Link #20 | |
Senior Member
Join Date: Mar 2004
|
Quote:
While I agree the specs look like there should be no problems playing HD video, the Pentium D line is just dual core Pentium 4s, which depending how the system tries to handle that may account for the problems they're having.
__________________
|
|
|
|