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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th May 2007, 17:39   #1  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
TsRemux v0.21.2: Transport Stream De/Re-muxer

Having been inspired by Pelican9's and DrMpeg's work, I decided to write a transport stream re-muxer similar in functionality to EvoDemux. Some of the features currently implemented:
  • Removal of source packet header
  • Generation of source packet header
  • Regeneration of DTCP descriptor (all others are kept) which removes analog output restrictions (downrezzing of HD, macrovision etc.)
  • PAT/PMT generation for RAW TS files sourced from Sat/Cable/OTA
  • Async I/O for maximum throughput
  • Ability to trim streams at the beginning and/or the end
  • Ability to pick and choose elementary streams to be kept
  • Ability to remux PCR-less streams
  • Ability to remux program streams (MPG/VOB/EVOB) into TS/M2TS
  • Ability to demux elementary streams as well as subtitle streams compatible with SUPreader (right click the selected stream with the mouse)
  • Fixing PCR/PTS/DTS after a file merge
  • Removing end-of-stream markers for VC1 and AVC after a file merge
  • Ability to inmux SUPreader presentation graphics subtile streams
  • Ability to remux into simple Blu-Ray output (new)
  • Ability to remux MKV into TS (alpha)
  • Ability to extract Dolby Digital from TrueHD in Blu-Ray streams
  • Ability to extract DTS Core from DTS HD in Blu-Ray streams
  • [spacecat56] performance fixes (new)
  • [spacecat56] command line capability (new)

Current Version 0.21.2

Notes:
  • All PIDs are now forced to follow Blu-Ray PID requirements
  • Still working on MKV support
  • Blu-Ray output option is beta quality.
  • Audio PES packets follow the blu-ray standard. (PES stream type 0xFD instead of 0xBD is incompatible with some older splitters/players)
  • HD-DVD to Blu-Ray conversion might have issues due to incompatible DDPlus requirements. Combo-players will have better results than Blu-Ray only.
  • MKV support early alpha quality. MPEG2/AC3 seems to work, others don't.

Download link

Source Code (GPL)

Last edited by dmz01; 21st May 2008 at 01:55. Reason: new version
dmz01 is offline   Reply With Quote
Old 4th May 2007, 22:47   #2  |  Link
zgx
Registered User
 
Join Date: Feb 2007
Posts: 94
Thank you. Great work .
zgx is offline   Reply With Quote
Old 4th May 2007, 23:33   #3  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
since im not too familiar with that technical stuff, which transport streams does this tool demux now, only mpeg2 or also h264 .ts streams ? and where do they get demuxed too, in which file or container ?

btw. tried to open a skyHD cap h264 .ts 12 gb file and then a 150 mb sample of this stream: in both cases the cpu seemed to work to infinity, but nothing actually happened, the file apparently cant be opened.

Last edited by Thunderbolt8; 4th May 2007 at 23:47.
Thunderbolt8 is offline   Reply With Quote
Old 5th May 2007, 00:06   #4  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
In theory it should work with any TS file. Is there somewhere where I can download the non-working sample?

I don't demux, since there is already a tool for that. I can add that if there is demand for it. For now I just re-mux into a new TS file.
dmz01 is offline   Reply With Quote
Old 5th May 2007, 00:43   #5  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
took another sample of another skyHD cap, this one could at least be loaded. but when remuxing it just gave me der objektverweis wurde nicht auf eine objektdistanz festgelegt -.-
Thunderbolt8 is offline   Reply With Quote
Old 5th May 2007, 00:51   #6  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
Can't figure it out without a sample. Can you make a small sample for me?
dmz01 is offline   Reply With Quote
Old 5th May 2007, 01:00   #7  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
sry, but I dont know how to cut out a sample out of a .ts file -.-

btw. would also be taking a sample from the sample a possibility or must the source here be the original file ?
Thunderbolt8 is offline   Reply With Quote
Old 5th May 2007, 01:06   #8  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
You're free to test all these: http://x264.nl/h.264.samples/
bob0r is offline   Reply With Quote
Old 5th May 2007, 01:44   #9  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
Quote:
Originally Posted by bob0r View Post
You're free to test all these: http://x264.nl/h.264.samples/
Well, all of those work fine. I need a sample TS that doesn't work with my app.

Last edited by dmz01; 5th May 2007 at 01:47.
dmz01 is offline   Reply With Quote
Old 5th May 2007, 01:46   #10  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
Quote:
Originally Posted by Thunderbolt8 View Post
sry, but I dont know how to cut out a sample out of a .ts file -.-

btw. would also be taking a sample from the sample a possibility or must the source here be the original file ?

Yes, you can make a sample of a sample etc. even a 1MB sample would be fine as long as it breaks the app.
dmz01 is offline   Reply With Quote
Old 5th May 2007, 02:13   #11  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
yes, but tell me how plz, what do I have to do with which tools
Thunderbolt8 is offline   Reply With Quote
Old 5th May 2007, 02:36   #12  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
try a simple "copy" command and "CTRL-C" it after a few seconds.
dmz01 is offline   Reply With Quote
Old 5th May 2007, 07:31   #13  |  Link
Pookie
Registered User
 
Join Date: Apr 2005
Posts: 1,339
dmz01 - Thanks. Looking forward to trying this.


Thunderbolt8 - try cutfile -

http://jsoto.posunplugged.com/tools/CutFile_exe.zip


Edit:

dmz01 - drmpeg's Mpeg2 TS test files =

http://www.w6rz.net/

AVCHD .MTS files =

https://oncourse.iu.edu/access/conte...napp/00055.MTS
https://oncourse.iu.edu/access/conte...napp/00043.MTS

Last edited by Pookie; 5th May 2007 at 08:01.
Pookie is offline   Reply With Quote
Old 5th May 2007, 09:20   #14  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by Thunderbolt8 View Post
took another sample of another skyHD cap, this one could at least be loaded. but when remuxing it just gave me der objektverweis wurde nicht auf eine objektdistanz festgelegt -.-
I have the same problem here, but with a Blu-Ray .m2ts (AVC)
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004
CruNcher is offline   Reply With Quote
Old 5th May 2007, 09:24   #15  |  Link
DeepBeepMeep
Registered User
 
Join Date: Jun 2006
Posts: 133
Thanks! that's a very interesting tool. Unfortunately on all the streams I have tried gives me the error "Object reference not set to an instance of an object" when I click remux.
DeepBeepMeep is offline   Reply With Quote
Old 5th May 2007, 10:56   #16  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by dmz01 View Post
try a simple "copy" command and "CTRL-C" it after a few seconds.
allright, so its the same as when making a sample for .mkv with mkvmerge (or any other mkv muxer), when I just cancel/close the process in the mid of the work ?
wasnt sure if this way maybe could alter or invalidate the file.

edit: doesnt work for me, when I cancel the copy process, the file gets deleted automatically
apart from that he copies too fast anyway, so the file would be getting too big that way

Last edited by Thunderbolt8; 5th May 2007 at 11:04.
Thunderbolt8 is offline   Reply With Quote
Old 5th May 2007, 11:21   #17  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,556
Virtualdub has a hex editor with a "truncate" menu item. Most hex editors do, as well as those "file splitters", but that's one you probably already have.
foxyshadis is offline   Reply With Quote
Old 5th May 2007, 13:03   #18  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
Quote:
Originally Posted by Pookie View Post
All of those work fine too...

For anyone who has an issue, please try go get me a sample if you can.
dmz01 is offline   Reply With Quote
Old 5th May 2007, 16:37   #19  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
as written above, I cant do it the way you described
apart from that I have computer problems atm, my comp is is rebooting constantly when I try to open certain things or dl anythig with any browser, get emails etc. (virus?)
so I might get back later again
Thunderbolt8 is offline   Reply With Quote
Old 5th May 2007, 17:32   #20  |  Link
DeepBeepMeep
Registered User
 
Join Date: Jun 2006
Posts: 133
Quote:
Originally Posted by dmz01 View Post
All of those work fine too...

For anyone who has an issue, please try go get me a sample if you can.
It's a shame I can't get it to work at all I have the error message ""Object reference not set to an instance of an object" no matter what stream I throw at it. Is there any special requirements like MFC?
DeepBeepMeep is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 +1. The time now is 05:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.