[Question] Regarding Video Encoding
Hello guys! I'm just new here :D so please bear with me :)
I recently started to try subbing animes.. but I encountered a problem. I can already make subtitle files with aegisub but I don't know how to encode them, so I searched the net for guides and tutorials and saw many methods... So I downloaded MeGUI, avysinth, etc etc. I tried to run the avysinth script which contains this code: Code:
LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\VSFilter.dll") Is this normal? If yes, what should I do next to get the mp4 or mkv... |
.STATS and .MBTREE are created by the h.264 video encoder (x264) on the first pass of a 2 pass encode.
What "Encoding Mode" did you set in the encoder settings? "2pass - 1st pass" is not enough. I recommend "Const. Quality". |
So that means I really did do something wrong? I see....
by the way, sorry for posting on the wrong section :D I'm just new so I didn't see the other sections Edit: Thanks!!! It worked!!! :D *Click +Rep* |
Another question here...
What's the best settings used by most fansub groups? and what file container do they use? |
Quote:
You might as well just use x264 from the command line (with batch files, for example), as it's literally only a couple of settings; Also AvsPmod is recommended as an Avisynth script editor/preview application. Matroska is the container of choice (d'oh) for most people, because they do not need the possible extra information that a raw H.264 bit stream might contain (HRD info, extra headers and such, useful for muxing into MPEG-TS for broadcast/blu-ray mastering), while letting you use the output file even if your encode should be disrupted. Not to mention that for muxing in video/audio/subtitles/chapters/attachments the matroska format is the most versatile, as well as has one of the best graphical muxing applications with mkvtoolnix toolset's mmg (mkvmergegui). Also, for <insert deity>'s sake, do softsubbing since you can. Re-encoding because of typos and similar is just derp in 2012. |
Quote:
Got another question :D What's the best alternative for "that one" which allows me to use the "AVIsource='' " in an avysinth script?(I don't know what you call that...was it plug-in?) I want it changed because mine only supports .avi files... I want ones that could support .mp4 too.. |
Quote:
for mp4 (and actually almost anything else decodable by ffmpeg) I'd recommend using ffms2 https://code.google.com/p/ffmpegsource/ |
Do what Quarkboy says. ffms2 or FFMpegSource can load just about anything you have. Make sure you read on how to use the commands for it so you can go a little further then just loading a source. Not that you'd always need to use the extra strings, but should the need ever arise you'd at least know how to use them instead of loading in other filters that you wouldn't be needing.
|
How do I load a filter? xD
Do I put it inside the folder of MeGUI or avysinth? and in what specific folder? |
Quote:
http://avisynth.org/mediawiki/Plugins in the script itself. |
Quote:
and what do you mean by automatic loading? I thought you would always need to use the LoadPlugin command or whatever that is... |
Avisynth will automatically try to load all plugins in a particular folder, usually something like c:\program files\avisynth 2.5\plugins\. Do not use that, it's a wonderful way to get strange behaviour because some plugins do unexpected things or interfere with each other or whatever else. (The Avisynth installation automatically places DirectShowSource and TcpDeliver there, it's fine to keep those in place.)
Always LoadPlugin() what you need, and only what you actually need. |
Quote:
|
I still can't make it work :(
I'm only a beginner so I don't really understand much about this... Could someone give me an example code? Let's say I have a video named video1.mp4 and a subtitle file named subs1.ass, then I need to make an avs script with notepad...and import it to MeGUI right? What's supposed to be the code? |
Quote:
LoadPlugin(" ") ffms dll LoadPlugin(" ") vsfilter.dll vid = FFVideoSource("video1.mp4") aud = FFAudioSource("video1.mp4") Audiodub(vid,aud) textsub("subs1.ass") Note, the first time this script is loaded the mp4 will be indexed and an ffindex file will get saved. |
Make sure you put the path in there, i.e.
"c:\user\mydocuments\video1.mp4" |
Quote:
I tried this code, and I got an Error "There is no fuction FFVideoSource" Edit: I was just wondering, besides using MeGUI for re-encoding videos to add subtitles, does video re-encoding with MeGUI produce better results than re-encoding with video editors like Vegas Pro? or nothing really special? and How come people still bother to download and use MKVmerge when there is already a built-in muxer with MeGUI? Edit2: Follow-up Question. I saw you could mux a subtitle file with a video to .mkv using MeGUI's MKV muxer... why bother doing this ffmpeg thing? I got a lot of questions -_-" |
Quote:
Here I have a suggestion: Copy everything with in your .avs script and paste it here so we can see it and show you what you're doing wrong. Quote:
It's hard to understand what you mean by better, but I guess I'll just take it as a general term. It depends on what you're looking for, and what you're using it for. If you're trying to encode some animes to go on, let's say, you're Iphone, then stick with MeGUI. If you need to edit a video of some of you're gameplay footage off of you're xbox or ps3 and you want to upload it to youtube, then Sony Vegas or AE is your best bet. Though you could use a combination of the two. What is it that you are trying to encode, or accomplish for that matter? Quote:
Quote:
Because if you want to "hard sub"(make the subs permanent), then it's best to load the subtitle with-in your .avs script to hard code them on to the video. When you use the muxer from MeGUI or use MKVmerge, they are soft coded, meaning they can be toggled on and off of the video and extracted. If you prefer hardsubs, keep using the .avs script. If you like soft subs, then I'm sure you can figure out that part ;). But why use the FFMpeg, because it's great at loading .mkv, .mp4, .avi, and even the rare sources of h264 avi's.(This has been done with virtual dub, friend of mine did it. I don't recommend doing it,they can be quite finicky.) And I personally think that it's better then Directshowsource and dss2, some other media loaders. If you use MeGUI's AVSscript creator, then it'll use one of those two as a default media loader. |
Here's the code:
Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ffms-2.17-cplugin\ffms2.dll") |
Well with Text sub you also need to string the file path as well so make sure you put that in there as well.
Try loading the video as vid= FFMpegSource(" ") Then do the audio the same way you've already done it, then see if that works. |
All times are GMT -5. The time now is 07:02. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.