I'm using avisynth to massage video clips and am having problems with Samsung HD MP4 files. (I get it to work with avi, mpg, MOD and MTS) in the simplest case I'm just trying to add a subtitle. My avsynth script is:
When I play it with mplayerc I get the subtitle but there is no motion just the opening frame. Quicktime's movie inspector tells me its Format: H.264 1280 x 720. FPS: 59.94. I've also tried:Code:DirectShowSource("C:\HDV_0719.MP4") Subtitle("www.mydomain.com", spc=20, align=2, size=48)No joy.Code:DirectShowSource("C:\HDV_0719.MP4", fps=30, convertfps=true ) Subtitle("www.mydomain.com", spc=20, align=2, size=48)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 8 of 8
Thread
-
-
Directshowsource can be unreliable; it is dependent on your system installed filters/splitters
You may need a better mp4 splitter (e.g. install haali media splitter, or gabest mp4 splitter)
or try ffms2
ffmpegsource2("C:\HDV_0719.MP4",atrack=-1)
Subtitle("www.mydomain.com", spc=20, align=2, size=48)
http://code.google.com/p/ffmpegsource/ -
WOW. Thanks for the very quick response. Your response helps particularily about the unreliability of DSS as it does seem to work once in a while. I'll be honest and admit I don't truly understand much of this so am grateful for your help. I have installed a lot of stuff. I think the haali splitter got installed with the k-lite Coder Pack. But I don't know how to activate it. (I've also got the ffdshow stuff which is how I got mpg stuff to work by fiddling with the decoder settings) In my excitement just now I just tried running avisynth with ffmpegsource2 and got the script error "there is not function named ffmpegsource2. I visited the link you provided (thanks for that.) but was wondering if I could get some guidance before just haphazardly downloading stuff. Do I just pick the vanilla package? (I would like something that generically runs on 32 and 64 bit if possible and not to complicated as I hope to share with others for their machines.) Thanks again for the ultra quick response.
-
vanilla package is the most stable and will run on everything
unzip the contents into the avisynth/plugins folder . Specifically , the .dll and .avsi , have to be in the plugins root directory to autoload .
You can read the included documentation at your own leisure for full instructions, but this should get you by for now -
Thanks. In my initial tests that seems to work. Can ffmpegsource2 be used as a general replacement for Directshowsource?
-
not necessarily , beware there are "quircks" for everything;
there is a list of "known issues" in the documentation for ffms2
for example ffms2 doesn't work well with transport streams, or sometimes the fps is a bit off. You can use assumefps to "fix it" . For example in your 59.94 progressive, it would be AssumeFPS(60000,1001) . Check with info() to see if it returned the correct frame rate. It usually gets the correct frame count, so it's easy to fix the frame rate.
directshowsource can sometimes work fine, but only if you do a straight linear encode (no temporal filtering) , but you need to get your directshow subsystem cleaned up and working to use it .If you do any non linear seeks or use temporal filtering, you can "lose your place" and mix up frames. It's usually the "last resort" source filter to use, if nothing else worksLast edited by poisondeathray; 1st Mar 2011 at 18:11.
-
Thanks. I think I'm going to take this all pretty slow. Thanks for your help it did get me going. I never remember adding Directshowsource to the plugin directory off avisynth. Is that something that just comes included and if so is it possible to get a version with ffmpegsource2 included?
Similar Threads
-
Merging and converting H.264 mp4 HD files from Samsung HMX-H204?
By guy24s in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 18th Jun 2011, 07:41 -
Samsung S10 HD Camcorder - Getting mp4 files with time / date stamp added
By time2innov8 in forum Newbie / General discussionsReplies: 5Last Post: 28th May 2011, 07:06 -
.mp4 Avisynth import issues
By Campony in forum Video ConversionReplies: 29Last Post: 20th May 2011, 09:11 -
Samsung HD digicam file to MP4
By iknowjack00 in forum Newbie / General discussionsReplies: 1Last Post: 2nd Apr 2009, 17:28 -
CCE, MP4 and AviSynth Error
By Maikeru-sama in forum Video ConversionReplies: 28Last Post: 11th Jun 2008, 05:24