Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 836
|
grayline with mpeg2source
heya guys,
I'm having a weired problem with avisynth 2.5.6a (I just got this one after reinstall), I capture my HDTV fine (1080i which is what's broadcast), no problem with .ts, I used HDTVtoMPEG2 no problem, got my .mpg file, plays fine no artifacts. open it up in DGIndex, save the project, no probs. now avs script: Code:
mpeg2source("clip.d2v")
any ideas what the problem could be? I never had avisynth do this before on any source and quite frankly I'm at a loss as to what could be wrong in such a simple setup. (I know it needs deinterlace, that doesn't help, so here I keep the script simple for debugging)
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Apr 2005
Posts: 1,341
|
I'm not certain of the cause, but you might want to run Fix1088.exe on the source file.
"fix1088 Will process a transport stream recording to remove the grey or black bar that you see at the bottom of some 1080i broadcasts. It will replace any vertical size value of 1088 in the sequence headers with 1080. Note that sometimes the grey bar is caused by a bug in the decoder rather than in the encoder, in which case this will not help. Usage: fix1088 [-s] <input file/pattern> <PID> -s: save input files instead of overwriting them specify PIDs in hex without the leading 0x. fix1088 has not been tested with files greater than 2 GB, but I think it should work." http://www-personal.umich.edu/~balaz...88/fix1088.exe |
|
|
|
|
|
#4 | Link |
|
Aging Video Hobbyist
Join Date: Dec 2004
Location: No man's land.
Posts: 1,557
|
When I encounter this (using AutoGK to convert my 1080i ts to Xvid) AGK "sometimes" adds that line to the Xvid. Something about needing 1088 not 1080 to be divisible by 16. Dunno why, but the grey/white line doesn't always appear, but...
The solution with AutoGK is just to crop it off (CTRL-F9). Not sure what you are trying to do, but avisynth can crop it of course. |
|
|
|
|
|
#5 | Link | |
|
Registered User
Join Date: Jan 2004
Posts: 836
|
Quote:
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 Last edited by lexor; 10th December 2005 at 17:33. |
|
|
|
|
|
|
#7 | Link |
|
Aging Video Hobbyist
Join Date: Dec 2004
Location: No man's land.
Posts: 1,557
|
I use AutoGK which is Avisynth-based. AGK always detects my 1080i ts captures as '1920x1088'. When I look at these captures with other tools, they say 1920x1080. Then I run fix1088 on them, and it finds nothing to fix!
When I run a FILM-based 1080i program thru AGK (again, detected as 1920x1088) it applies Telecide to the program, and it comes out (Xvid) with no grey line. When I run an Interlaced 1080i program thru AGK (which always as I've said states it is 1088) it applies KernelDeint to the program and it comes out with the grey line at the bottom. As I said, fix1088 doesn't work. Something about the way AGK detects these files, and Telecide (OK) and KernelDeInt (not OK). Bottom line: I have to use CTRL-F9 and crop 8 pixels off the bottom of an interlaced 1080i ts program to avoid the grey line. Film-based doesn't have the same problem. |
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 836
|
sweet gorilla of manila, crop(0,0,0,-8) fixed it, and I run leakkerneldeint no probs on it as well. thanx a bunch laserfan
![]() now I just have a nice clean script without needing to run any other tools
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 Last edited by lexor; 11th December 2005 at 00:59. |
|
|
|
|
|
#10 | Link | |
|
Registered User
Join Date: Jan 2004
Posts: 836
|
Quote:
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 Last edited by lexor; 11th December 2005 at 05:16. |
|
|
|
|
|
|
#11 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
If you use the Stream menu, which is very simple, you can eliminate one of the tools that you are using. So it will simplify your process, which you seem keen to do. It will also be faster, since you will make one less pass over the source file.
Last edited by neuron2; 11th December 2005 at 07:47. |
|
|
|
|
|
#12 | Link |
|
Aging Video Hobbyist
Join Date: Dec 2004
Location: No man's land.
Posts: 1,557
|
I have never used DGindex directly myself, only via AutoGK and maybe some others I don't even know about. But owing to this question (the grey line) I launched DGindex and opened one of my 1920x1080 transport streams, and it is recognized as a 1920x1088 file, and sure enough a grey line appears at the bottom.
neuron2 I wonder why DGindex does this (says it is 1088)? If you know can you suggest--is it something that could be tweaked about DGindex, or should I raise this with len0x re: AutoGK? Seems strange to have to always think for 1920x1080 sources to "leave alone if FILM and crop-off if Interlaced" in AutoGK. |
|
|
|
|
|
#13 | Link |
|
brainless
Join Date: Mar 2003
Location: Germany
Posts: 3,484
|
OMG. if the line bothers you, just use this workaround:
mpegsource("1080i.d2v") (height==1088) ? crop(0,0,0,-8) : last
__________________
Don't forget the 'c'! Don't PM me for technical support, please. |
|
|
|
|
|
#15 | Link |
|
Registered User
Join Date: Jan 2004
Posts: 836
|
@scharfis_brain we already figured that out, no need to quote my own posts to me
@neuron2 Problem is that my capture machine is what you would call legacy (read an array of small FAT32 drives) which means I have to break up .ts on capture into relatively small files (about 500mb) to make my hardware keep up (it chockes if I try to make larger continuous files), and after I fill them up, I just do one batch encode (of multiple movies cupped continuously, I separate them later rather than make breaks at capture time, there is a reason for this too, and it can't be helped), problem being that there seems to be an uppper limit on how many .ts files I can add to DGIndex at once (though I didn't try to find out how many), so I need HDTVtoMPEG2, to make one big .ts on my encode machine anyway, though now that you pointed it out, I no longer covert to .mpg, but single .ts. Still my process can't be simplified by heavier use of DGIndex. So unless someone wants to sponsor my capture machine's upgrades, I'm afraid there isn't much that can be done in the current chain, which is: hdtvtompeg2 -> many .ts to one .ts -> load in DGIndex -> save project -> mpeg2source in avisynth -> megui I dunno, but that dgindex step just seems like pointless busy work, just because I can't load .ts directly... well that sounded like a dis of some great software and effort (I think you developed it?) but it really isn't, it's just this separation of tools to make them more modular really backfires in my setup.
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
|
|
|
|
#16 | Link | ||
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Quote:
Quote:
Last edited by neuron2; 12th December 2005 at 07:04. |
||
|
|
|
|
|
#17 | Link | |||
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Quote:
Quote:
Quote:
Last edited by neuron2; 12th December 2005 at 05:14. |
|||
|
|
|
|
|
#19 | Link |
|
brainless
Join Date: Mar 2003
Location: Germany
Posts: 3,484
|
@lexor: I didn't quote anywhere.
@laserfan: I thought it was for recoding purposes, so always put this line after mpegsource and get happy
__________________
Don't forget the 'c'! Don't PM me for technical support, please. |
|
|
|
|
|
#20 | Link | |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Quote:
![]() I made no attack on you, nor am I irritated; I merely stated the facts as I see them. Please follow up with a PM if you want to pursue this; it is off topic for this thread. Last edited by neuron2; 12th December 2005 at 07:14. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|