AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > Anime Related Topics > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2008-10-08, 16:14   Link #1
JediNight
キズランダム
 
 
Join Date: Apr 2003
TS container conversion

Heyas~ I'm a couple years out of practice on the encoding side of things, as I haven't really been involved in much since like 2005. But lately I've tried downloading a number of the lossless transport streams for shows, but haven't been successful in preparing it in any way that would allow a re-encode.

MPC and VLC won't even open them. MPlayer can play them at least, but using Mencoder with a number of CLI settings doesn't result in a workable raw for AVS. WMP of all things can play them (boggle?). Premiere actually imports it properly. DGavc gags on it, and TMPGenc wants to re-encode it to 720x480 and refuses to let me adjust to the correct resolution. AVS won't import them using Directshow or Mpeg2 source.

I've tried with the Tales of the Abyss Ep1, ToraDora Ep1, and even a Xam'd TS just to see if it was any different. All with the same above-mentioned problems. The puzzling thing is I used to work with TS files years ago, and never had any issues.

Anyone got any tips for an "out of shape" encoder?
JediNight is offline   Reply With Quote
Old 2008-10-08, 16:40   Link #2
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 28
Quote:
Originally Posted by JediNight View Post
lossless transport streams
... Japanese TV is all coded with MPEG2. MPEG2 isn't lossless. (Noone sane would ever broadcast lossless video anyway, it'd take way too much bandwidth.)

Quote:
Originally Posted by JediNight View Post
MPC and VLC won't even open them. MPlayer can play them at least, but using Mencoder with a number of CLI settings doesn't result in a workable raw for AVS. WMP of all things can play them (boggle?). Premiere actually imports it properly. DGavc gags on it, and TMPGenc wants to re-encode it to 720x480 and refuses to let me adjust to the correct resolution. AVS won't import them using Directshow or Mpeg2 source.
You've tried pretty much everything except the correct program. The reason DGAVC gags is because they aren't AVC, and if directshowsource/MPC doesn't work that means you probably don't have a recent enough haali splitter (which does support transport streams). But never mind dss, what what you should do is treat it just like a DVD and use ye olde DGIndex to index, and then mpeg2source() (dgmpegdec.dll, comes with dgindex) to load it in Avisynth. Then you obviously need to apply IVTC, decimation, cropping and resizing but that's not TS-specific.

(Edit: note of possible interest: it is possible to remux transport streams to MKV with Haali's GDSMux.)
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2008-10-08, 18:33   Link #3
NicestBoat
Junior Member
 
Join Date: Feb 2008
As TheFluff said, you're using the wrong tools.

For japanese HDTV broadcasts(tales of the abyss/toradora) which are 1440x1080(i) mpeg2, a DGIndex->YMC->YATTA->avisynth->.. workflow tends to be fine.

For xam'd, it's probably a HDMI capture, at 59.94fps encoded with h264. It was captured from a ps3 which was displaying it at 23.976fps. You'll probably have to use one of the AVC indexers or something, I haven't tried it myself. Also you'll have a aaabb dupe pattern(23.976*5/2), where a and b are unique frames, you may selectevery(5,1,3), but it might not always be fine(one in 5 chance it would get it wrong), and if there was decoding jitter for the ps3, there may be additional issues). Edit: I think fdecimate() might be something you should look into.

MPC should be able to open all of the TSes you mention, I'm guessing your splitter is not up to date. Update CCCP or Haali's splitter and make sure it's set to decode Transport Streams.

Last edited by NicestBoat; 2008-10-08 at 18:59.
NicestBoat is offline   Reply With Quote
Old 2008-10-08, 19:27   Link #4
JediNight
キズランダム
 
 
Join Date: Apr 2003
Sorry I was mixing together my workflow pattern in my head. (I planned to convert to a lossless file from the TS is what I meant. Nicer for me to work from the lossless file) And yeah, my bad on not trying DGindex with the Mpeg2.

I checked CCCP and I have the most recent version from them (which isn't that recent ... their last update was like 6+ months ago I think?), but I didn't download a new version of haali's separately. I'll look into that.

Thanks for the help.
JediNight is offline   Reply With Quote
Old 2008-10-08, 19:50   Link #5
neothe0ne
Senior Member
 
 
Join Date: Mar 2008
By the way, I've always wondered:

How do you IVTC/decimate w.e a 29.97fps source to its proper 23.976fps in Avisynth? I've tried various settings:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
TFM(-1, -1, 0, 6) <-- various numbers from the readme

But I usually end up with periodic stutter that shouldn't be there.
__________________
neothe0ne is offline   Reply With Quote
Old 2008-10-08, 20:06   Link #6
NicestBoat
Junior Member
 
Join Date: Feb 2008
Quote:
Originally Posted by neothe0ne View Post
By the way, I've always wondered:

How do you IVTC/decimate w.e a 29.97fps source to its proper 23.976fps in Avisynth? I've tried various settings:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
TFM(-1, -1, 0, 6) <-- various numbers from the readme

But I usually end up with periodic stutter that shouldn't be there.
Did you forget to decimate by any chance?
NicestBoat is offline   Reply With Quote
Old 2008-10-08, 22:17   Link #7
neothe0ne
Senior Member
 
 
Join Date: Mar 2008
Quote:
Originally Posted by NicestBoat View Post
Did you forget to decimate by any chance?
I know nothing about AviSynth, but when I tried to use VirtualDub to do IVTC it wouldn't give you the option to also choose to decimate, so I assumed it wouldn't be needed. What should the AviSynth code look like to turn a 30fps source into the 24fps source it should be from blurred/duplicate frames?
__________________
neothe0ne is offline   Reply With Quote
Old 2008-10-08, 22:27   Link #8
D404
Banned
 
Join Date: Aug 2006
I wanna say: RTFM... rly. Read-up ppls >.>.
D404 is offline   Reply With Quote
Old 2008-10-09, 02:30   Link #9
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 28
Quote:
Originally Posted by neothe0ne View Post
What should the AviSynth code look like to turn a 30fps source into the 24fps source it should be from blurred/duplicate frames?
Code:
somesource("file")
tfm()
tdecimate(mode=1)
This is the most basic IVTC you can do, pretty much; for clean sources this is enough. From here you can make it just as complicated as you want depending on content.
Useful filters include fieldhint, telecidehints and various deinterlacers (tdeint, nnedi, etc); for complicated operations YATTA is probably a good idea.

You may also want to read this.
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2008-10-09, 07:29   Link #10
Zero1
Two bit encoder
*Fansubber
 
 
Join Date: Jan 2006
Location: Chesterfield, UK
Age: 30
A few years ago I used to use a program called Project X. It was Java based and a bit crappy in the interface department, however it was good at what it did. I've only ever used it for boring old UK DVB which is MPEG-2 with layer 2 audio. I'll post some proper info when I get to a computer in case this is of interest. I did write a kind of a guide some time ago on the CCCP forums. The program can "fix" corrupt streams and cut out commercials without encoding.

Edit
-----
You can download Project X from Doom9: http://www.doom9.org/index.html?/software2.htm
Just search for Project X in the page, or click on the Digital TV section.

And here is the thread/guide thing: http://www.cccp-project.net/forums/i...sg4676#msg4676
I'm amazed the sample is still available. Thanks to movax for uploading it all that time ago.
__________________

Last edited by Zero1; 2008-10-09 at 14:15. Reason: Stuff
Zero1 is offline   Reply With Quote
Old 2008-10-10, 05:35   Link #11
lamer_de
Member
 
 
Join Date: Jun 2003
Location: somewhere far beyond
ProjectX will fail due to the Japanese AAC Audio, whis isn't that common in the rest of the world, i.e. ProjectX is only for DVB or ATSC streams. DGIndex is the only easy way (well, avidemux might also work).
__________________
Proud to be a Warezubber!
lamer_de is offline   Reply With Quote
Old 2008-10-10, 06:40   Link #12
Zero1
Two bit encoder
*Fansubber
 
 
Join Date: Jan 2006
Location: Chesterfield, UK
Age: 30
Quote:
Originally Posted by lamer_de View Post
ProjectX will fail due to the Japanese AAC Audio, whis isn't that common in the rest of the world, i.e. ProjectX is only for DVB or ATSC streams. DGIndex is the only easy way (well, avidemux might also work).
I thought that might be the case, but I wondered if it would just try to extract streams and private streams regardless of what they are. I haven't tried it so I can't comment.
__________________
Zero1 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 17:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
We use Silk.