View Full Version : Encode 1080i TS to x264?
bcc
10th February 2009, 19:06
:thanks:Hey.
I bhought med HDTV tuner with hdd to record and encode matches in x264 just for fun :) I recored 3 matches which i am try to encode to x264.
I have tried automkv - megui - straxrip and handbrake with not luck :((
I liked automkv but it dont work for me. I get error no video sequence found or some ting.
Some one can guide med how to demux 1080i files so i encode to x264 with AC3 sound ?
Thx
jeffy
10th February 2009, 19:19
What? HDTV tuner with hdd? Could you please post its exact model number and a screenshot of the file in GSpot http://www.videohelp.com/tools/GSpot (use mediafire.com for the image, don't attach it.)
bcc
10th February 2009, 21:21
What? HDTV tuner with hdd? Could you please post its exact model number and a screenshot of the file in GSpot http://www.videohelp.com/tools/GSpot (use mediafire.com for the image, don't attach it.)
Dreambox 8000 HDTV. Files er .ts
Wishbringer
10th February 2009, 21:30
Try out:
Demux audio with eac3to,
use TSmuxer or tsRemux and extract video (should be seen by one of them)
use DGavcindex with demuxed raw video.
bcc
10th February 2009, 23:18
Try out:
Demux audio with eac3to,
use TSmuxer or tsRemux and extract video (should be seen by one of them)
use DGavcindex with demuxed raw video.
I demuxed AC3 with DGAVCIndex also raw video also.
what next ?
ftdwffs
11th February 2009, 00:52
for video:
first read http://neuron2.net/dgavcdec/AVCQuickStart.html
then run the script through what ever gui u want
for audio:
just use besweet or some other audio encoder
then mux
bcc
11th February 2009, 15:30
I encoded to mkv with MeGUI now next problem is ghosting.
Guest
11th February 2009, 15:37
Ghosting (that isn't in the source) is usually caused by blend deinterlacing. Did you deinterlace, and if so, how?
A screenshot of your blending (not resized) will be useful.
jeffy
11th February 2009, 15:38
Post your script, please. If possible, post a short source sample as well. You can use eg. http://www.mediafire.com
bcc
11th February 2009, 22:18
i tried to upload my source but it was to big 400mb.
my avs script was made with AvsP looks like this
LoadPlugin("C:\dgavcdec108\DGAVCDecode.dll")
AVCSource("C:\Documents and Settings\DK\My Documents\Download\test.dga")
Crop(4, 0, -4, -0)
LanczosResize(1280, 720)
FieldDeinterlace()
jeffy
11th February 2009, 22:30
Try this first: replace FieldDeinterlace() with Yadif() or FieldDeinterlace(blend=false).
If you can still see the ghosting, you can split eg. first 20 MB only (a few seconds) with DGSplit: http://forum.doom9.org/showthread.php?t=143963&highlight=dgsplit
smok3
11th February 2009, 22:42
i tried to upload my source but it was to big 400mb.
my avs script was made with AvsP looks like this
LoadPlugin("C:\dgavcdec108\DGAVCDecode.dll")
AVCSource("C:\Documents and Settings\DK\My Documents\Download\test.dga")
Crop(4, 0, -4, -0)
LanczosResize(1280, 720)
FieldDeinterlace()
deinterlacer must be before vertical resizing.
ftdwffs
12th February 2009, 05:51
first make sure that your source isn't some sort of pulldown; if it is, use decomb or (faster) titvc
as a rule of thumb, deinterlace/inverse telecine should go immediately after the "...source" filter
also, you don't need "loadplugin" if you copy the plugin dll to c:\program files\avisynth 2.5\plugins\
bcc
12th February 2009, 11:55
here is sample. http://www.mediafire.com/?sharekey=4d95fafc7372a2dc0de4fc1039a01674e04e75f6e8ebb871
I hope some one can give me good settings to encode and how to mkv 720 with ac3
Atak_Snajpera
12th February 2009, 12:44
This sample is very easy to encode if you used my GUI.
Simply select .ts
go to Properties
enable Deinterlace TFF -> 50 fps
click ok
select .mkv
done
START
bcc
12th February 2009, 20:18
This sample is very easy to encode if you used my GUI.
Simply select .ts
go to Properties
enable Deinterlace TFF -> 50 fps
click ok
select .mkv
done
START
I did that. now picture is freezing. picture freeze after few sesonds.
Whats best settings in AvsP to encode this with ripbot OR Megui
bcc
12th February 2009, 20:20
first make sure that your source isn't some sort of pulldown; if it is, use decomb or (faster) titvc
as a rule of thumb, deinterlace/inverse telecine should go immediately after the "...source" filter
also, you don't need "loadplugin" if you copy the plugin dll to c:\program files\avisynth 2.5\plugins\
how to find out that ?
Atak_Snajpera
12th February 2009, 20:21
I had no problems with your sample. Encode that sample and send to us. We will examine later.
What CPU do you have? Do you use FFDshow MT? http://sourceforge.net/project/showfiles.php?group_id=173941&package_id=214245&release_id=523000
bcc
12th February 2009, 21:47
Intel E6850 3GHZ. I have encoded this sample with new MeGUI / avs scripter editor with these settings. Looks fine but some smal blending.
AVCSource("C:\Documents and Settings\KD\My Documents\Downloads\sample.dga")
TDeint(order=-1)
crop( 4, 0, -2, 0)
LanczosResize(1280,720) # Lanczos (Sharp)
#denoise
bcc
12th February 2009, 21:57
sorry here is link. http://www.mediafire.com/?sharekey=4d95fafc7372a2dc0de4fc1039a01674e04e75f6e8ebb871
Atak_Snajpera
12th February 2009, 22:30
TDeint(order=-1)
You should use yadif deinterlacer instead of TDeint because I see corrupted zones near clock.
Here is another example that TDeint should not be used
http://img11.imageshack.us/img11/6550/snapshot20090212213515mn4.th.png (http://img11.imageshack.us/my.php?image=snapshot20090212213515mn4.png)
bcc
12th February 2009, 23:12
i encoded this sample with handbrake looks good
http://www.mediafire.com/download.php?2nnmouoyzin
bcc
12th February 2009, 23:22
You should use yadif deinterlacer instead of TDeint because I see corrupted zones near clock.
Here is another example that TDeint should not be used
http://img11.imageshack.us/img11/6550/snapshot20090212213515mn4.th.png (http://img11.imageshack.us/my.php?image=snapshot20090212213515mn4.png)
I get error when loading yadif in AvsP. I have download yadif and moved to plugin folder. what is i am doing wrong ?
XhmikosR
12th February 2009, 23:45
How exactly are you loading the yadif plugin? If you take a look at the Readme file you''ll see the following:
Implemented as Avisynth C-plugin (not regular Avisynth plugin).
Must be loaded with Load_Stdcall_plugin("yadif.dll") or LoadCplugin("yadif.dll")
bcc
12th February 2009, 23:47
i tried both and got error
Unable to load C plugin
bcc
12th February 2009, 23:49
found out seems to loaded now thx :)
bcc
13th February 2009, 00:04
AVCSource("C:\Documents and Settings\DK\My Documents\My FTPRush Downloads\sample.dga")
LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
Crop(4, 0, -4, -0)
LanczosResize(1280, 720)
I use this like now. But still same error.
Encoded .ts file with HANDBRAKE and it looks good
poisondeathray
13th February 2009, 01:46
AVCSource("C:\Documents and Settings\Khurram Dawood\My Documents\My FTPRush Downloads\sample.dga")
LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
Crop(4, 0, -4, -0)
LanczosResize(1280, 720)
I use this like now. But still same error.
Encoded .ts file with HANDBRAKE and it looks good
You should read the yadif read me. You loaded the plugin but didn't use it.
Yadif(order=1)
or
Yadif(order=1,mode=1) for bob
use it before resizing
bcc
13th February 2009, 15:58
Thanks every one. i encode with this script
LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
Crop(4, 0, -4, -0)
Yadif(order=1)
LanczosResize(1280, 720)
and it looks damn good
Jay Bee
13th February 2009, 17:17
i encoded this sample with handbrake looks good
http://www.mediafire.com/download.php?2nnmouoyzin
The stuttering is horrible. You need to use bob, yadif mode 1. Or at least use a blend type deinterlace, the blur will make the motion smoothness almost look acceptable.
bcc
13th February 2009, 19:25
no blending any more only used Yadif(order=1)
How long it takes to encode a 1 hour video ? Any ting i can do to cut down time ?
Jay Bee
14th February 2009, 06:04
You need Yadif(order=1,mode=1).
bcc
14th February 2009, 12:29
You need Yadif(order=1,mode=1).
Why and what it will do ?
Jay Bee
14th February 2009, 12:35
It will be smooth instead of stuttery. Try it.
bcc
14th February 2009, 13:21
take longer time to encode i guess ?
jeffy
14th February 2009, 13:56
Yes, it will take longer. Yes, the filesize will increase. Yes, the framerate will be 50 frames per second instead of 25 frames per second (mode=1 vs. mode=0). But it will be smooth.
bcc
14th February 2009, 16:51
source is 25 frames why i need 50 frames than ?
nm
14th February 2009, 16:58
Because your source is interlaced and therefore it has 50 fields per second. To convert that to progressive video while keeping all the motion information requires doubling the framerate to match the original field rate.
laserfan
15th February 2009, 00:25
If de-interlacing is sometimes so difficult, what is the argument for working so hard to make an I/L program into progressive? I gave-up trying to de-interlace an I/L MPEG2 recording of the Beijing Olympics (1080i) and simply re-encoded using x264 --bff in my case. Looks as good as the original??? :confused:
fangorn
15th February 2009, 09:59
I have the same problem with recordings from AnixeHD.
I came up with a solution by using ffmpeg to transcode the whole .ts to .mkv. Then I view it and cut beginning and end in a second run.
This sample is very easy to encode if you used my GUI.
Simply select .ts
go to Properties
enable Deinterlace TFF -> 50 fps
click ok
select .mkv
done
START
I tried recoding the .mkv but get double frame count. Any chance you got the relevant part for mencoder at hand? ( -vf <deinterlacer> -fps 50 ?)
bcc
27th February 2009, 22:34
Thx for help its working for me
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.