Ok, that error I posted above goes away when I open up GraphEdit without the Capture Module but if I start up the capture module. Is that ok? Here's a ts file it produced, audio/video sync seems to be way better.
http://www.sendspace.com/file/56rovp
+ Reply to Thread
Results 91 to 120 of 224
-
-
With the Haali installed, H264_cutter now works perfectly
I am using the SVN build of the 3rd of September for x64 systems. (For ffdshow). The h.264/AVC was already set to libavcodec.
Yes I figured the .acc part myself since it wasn't showing in the list of files to add. Yes, I am working with 1080i files and that would explain the problem since I put 29.97 for the framerate.
I will try with 59.94 and report back. -
Alright, here's that TS file above encoded.
http://www.sendspace.com/file/twni26
1.) I demuxed the video using DGAVCIndex.
2.) I encoded the video with VirtualDub using this avs script with Fast recompress and XviD with 1350kbps bitrate.
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("GraphEdit TS.dga")
SelectEven().Decimate(5)
Crop(168, 8, -168, -0)
Lanczos4Resize(640,480)
DirectShowSource("GraphEdit TS.ts",video=false) -
Splitter works perfect and output .ts file is all good.
No go with the demuxing/remuxing process though.
Also, when I playback my original .ts I noticed some 1 or 2 pixels purple dashed lines at the top/and or bottom of the screen. Also, the audio is delayed randomly from 0 ms to 100ms during the video (hard to say what/when the delay is, but it's noticeable, especially when you look at the lips of someone talking). For the delay, I will try to check with the folks at GB PVR what the issue could be, but if you have a solution to fix it in the encoding process, don't hesitate.
Here are some clues that something is not right with the number of vertical lines and the audio delay.
Thank you for all your help, and I am still looking for a way to encode my cut ts into a x264 mp4. -
Originally Posted by Red Hat
So many options/buttons, I don't know where to start to get to my goal. (Synched and cropped x264 mp4 from my ts)
The only A/V programs I have experience with are Premiere and VirtualDub. -
I use Adobe Premiere and VirtualDub as well for producing videos I film. I use VirtualDub, Avidemux, AVISynth, and MeGui for encoding videos. MeGUI does a great job encoding videos and getting them back to their original fps.
-
Originally Posted by poisondeathray
Even though MeGUI is more complex, I have no problems using it if I'm guided a bit in my scripts making at first. For example a script that crops, synchs (I understand "synch" is not a command, but I need help finding what is causing the strange delay and fixing it) and encodes to x264 mp4. -
I use MeGUI for everything, you can crop through .avs scripts. You can in both those as well directly, but the options are more limited (although you can use scripts for those as well). There are several guides on how to use MeGUI here and other websites if you get stuck.
If your input .ts is out of sync, your output file will be out of sync. If it's just a simple constant delay scenario, you can use the DelayAudio() command in avisynth. Your options are to fix the .ts first, or fix the output .mkv or .mp4. This is a separate topic, and there are many guides on how to do this.
If it's not the constant sync scenario, it's much more difficult to fix., essentially you have to either shrink/expand either the audio or video to match. Again, there are several guides on how to do this...
If you are still stuck despite looking at the guides, post specific questions and someone will help you out
Cheers -
Thanks for the information, I will try my luck. Is there any program that will help me tell if the desynch is constant or not, it's hard to tell just by looking at the video. Sometimes it seems all is synched sometimes it seems like there is a 20ms delay but I question my judgement.
-
http://www.sendspace.com/file/bm83jb - Can some of you download that and tell me if the audio/video sync is good?
I encoded the video in virtualdub using this avs script with dual-pass xvid at 1200kbps bitrate and fast recompress.
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("output.dga")
SelectEven().Decimate(5)
Crop(168, 8, -168, -0)
Lanczos4Resize(640,480) -
Excellent, that's the first HD-PVR video more than 10 seconds I've been able to encode and keep the a/v sync good. I was able to ditch TotalMedia Extreme and DirectShowSource.
-
Trying to do something with this: http://mewiki.project357.com/wiki/MeGUI/HDTV_Transcoding_Guide
ProjectX will let you take the ac3 audio out of your transport stream.
Open up the TS with PTSCalc, press calc. This handy little program will work out the audio delay for you.
Once everything works fine, I will PayPal money to every program that will have helped me getting there -
Great system mathieumg. I wish I had that system. Also, here's how I encode MKV files now.
1.) I demux the video with DGAVCIndex.
2.) I create my avs script and insert filters to crop and resize and then I open up megui and encode to x264 at 4000kbps bitrate.
3.) Next, I open up the ts file under audio with megui and encode to ac3 at 192kbps.
4.) I mux the files together with megui and choose English as the language.
Here's the avs script I use for my HDTV stuff.
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("GraphEdit TS.dga")
SelectEven().Decimate(5)
Crop(0, 8, -4, -0)
Lanczos4Resize(1280,720)
LoadPlugin("C:\dgavcdec100a34\DGAVCDecode.dll")
AVCSource("GraphEdit TS.dga")
SelectEven().Decimate(5)
Crop(168, 8, -168, -0)
Lanczos4Resize(640,480) -
I do it after it's encoded with megui with VirtualDub or Avidemux for AVI and Matroska Splitters for MKV. Also, do you have a Straight 5.9 in Vista mathieumg?
By the way, jagabo are you on Windows Vista 32-bit or 64-bit? -
I will try it with your scripts and get back to you.
And yeah thanks, yep yep 5.9I wanted to get a new system for two years now (my old one is now 4-5 years old) but kept pushing back. At the end of July I decided it was enough and went with the big thing
Your system looks good too by the way
I haven't had time to play with the OC yet, but so far I don't really need it
Just out of curiousity, do you know if many of the programs/encoders mentionned in this thread are multithreaded? -
Your system without overclocking kicks the crap out of mine with overclocking. Also, I recommend not to re-encode the audio, just use my scripts to encode video and take out .Decimate(5) if it's not a film source. I mux the audio file made with dgavcindex with the video encoded with megui. I also don't do MKV on PDTV. Just use VirtualDub and do dual-pass encoding with xvid for for avi video and mux with megui.
http://www.sendspace.com/file/zdakz3 - HDTV samples. -
Nice @ your MKV sample, I want mine to look as good
What did you use to record the original .ts for that sample by the way?
Here is my script:
LoadPlugin("C:\Files\Programs\GB PVR\dgavcdec100a35\DGAVCDecode.dll")
AVCSource("Sports 30_20080907_02000230_cut_demuxed.dga")
Crop(0, 2, 0, -2)
Lanczos4Resize(1920,1080)
-
Did you install CCCP? Your script looks fine. I record with GraphEdit using the instructions jagabo posted above. I tried GB-PVR and BeyondTv and found them too slow. The Best PVR software out there is MythTv but I won't use it until I can afford to a build a system like yours and then I'll use this system for a MythTv PVR.
-
Originally Posted by Red Hat
Originally Posted by Red Hat
Originally Posted by mathieumg
By the way, anyone still having problems with GraphEdit should try GraphStudio or GraphEdit Plus. Actually, even if you're not having problems you should try them out. GraphStudio is especially useful because it can tell you a lot more information about each filter. -
No luck even after installing CCCP
I first tried SageTV but didn't like it much and its expensive, then I heard about BeyondTV but it said on their product page that Vista x64 wasn't supported. Then I found out about GB-PVR and everything works fine and its well built, has nice support, etc. What do you mean when you say its slow? And I didn't know about MythTV until now. -
Originally Posted by Red Hat
-
Thanks poisondeathray, that fixed it. Its now warning me that my script is not mod16, I assume this is a pixel ratio or something but I'm not sure what I have to change, here it is:
LoadPlugin("C:\Files\Programs\GB PVR\dgavcdec100a35\DGAVCDecode.dll")
AVCSource("Sports 30_20080907_02000230_cut.dga")
Crop(0, 2, 0, -2)
Lanczos4Resize(1920,1080) -
1920,1088 - evenly divisible by 16
mod16 is usually better for compatibility and compressibility reasons. (e.g. some DXVA acceleration requires mod16 or sometimes standalone units that play h264 have difficulty with non-mod16 resolutions)
However, x264 will encode and play fine on the PC with non-mod16 resolutions using the majority of software media players, the choice is up to you -
As long as I get rid of the little 2px purple dashed line at the top/bottom, I don't mind.
Similar Threads
-
Saving space with MKV H.264 files
By Ahari in forum Newbie / General discussionsReplies: 269Last Post: 26th Apr 2013, 17:57 -
LaCinema Mini HD Connect cannot play MKV H.264 files ?
By centrino3 in forum Newbie / General discussionsReplies: 12Last Post: 12th Aug 2011, 09:45 -
How to edit .WTV files from Hauppauge HD-PVR (H.264/AC3) in Adobe Premiere
By milOtis in forum User guidesReplies: 2Last Post: 12th Apr 2010, 04:04 -
Accurately editing commercials from HD PVR h.264 .ts files
By finallygreen in forum Video ConversionReplies: 10Last Post: 28th Oct 2009, 14:14 -
Best way to convert/burn/play .mkv H.264 Blu-ray/HD DVD files on a Mac
By iMacMan in forum MacReplies: 7Last Post: 21st Mar 2009, 16:50