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 26th January 2008, 04:11   #21  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Here is my translation of the readme.txt.
-----

How to use tsmuxer from the command line:

It is necessary to create a file with the extension '.meta'. In this file are listed the streams that are to be multiplexed into the transport stream, the type of each stream, and additional parameters delimited by commas. Each additional parameter is specified by a name and value. Here is an example of the contents of a .meta file:

V_MPEG4/ISO/AVC, D:\media\test\stream.h264, fps=25
A_AC3, D:\media\test\stream.ac3, timeshift=-10000ms

This example specifies the multiplexing of one AC3 audio stream and one H264 video stream.

Additional parameters:

fps - For H264 video it is possible to assign an fps value (see the example above). If fps is not specified, it is determined from the stream.

level - Allows for specifying the level field in H264 streams. For example, it is possible to change High@5.1 to High@4.1. One should bear in mind that this merely rewrites the field and does not recode the stream to satisfy the requirements of the lower level.

timeshift - Supports timeshifting of the audio stream. It can specify positive or negative timeshifts. The value of timeshift can be given in milliseconds ending with 'ms' (e.g., 25ms), or in seconds ending with 's' (e.g., 1s). This parameter makes it possible to shift the audio either forwards in time (positive values of the parameter) or backwards in time (negative values of the paramater).

down-to-dts - Can be used to convert DTS-HD to standard DTS.

track - Beginning from version 0.9.96 this parameter allows specifying a stream contained in a container. In this case it is necessary to specify the number of the stream inside the container. The following containers are supported:

TS/M2TS
EVO/VOB/MPG
MKV

To determine the number of a path, execute:

tsmuxer <name of the container file>

To start tsmuxer, open a Windows command window and type:

tsmuxer <name of a .meta> <name of the output TS file>

Specifiers for codecs in the .meta file:

V_MPEG4/ISO/AVC - H264
V_MS/VFW/WVC1 - VC1
V_MPEG-2 - MPEG2

A_AC3 - DD (AC3)/DD+ (E-AC3) [The subtype DD or DD+ is determined automatically]
A_AAC - AAC
A_DTS - DTS/DTS-HD

tsmuxer does not use external filters (codecs).
Guest is offline   Reply With Quote
Old 26th January 2008, 05:32   #22  |  Link
yonta
Registered User
 
Join Date: Mar 2005
Posts: 136
I played around with elementary stream muxing last night and all the samples I have seemed to work just fine!!! except one vc-1 video from Blu-ray.
My rough guess is that this 1080i@29.97fps vc-1 video(NIN Live) is probably corrupt or something because another 1080i@29.97fps vc-1 from HD DVD(Galapagos) works ok.

Looking forward to TrueHD/LPCM support!
yonta is offline   Reply With Quote
Old 26th January 2008, 07:39   #23  |  Link
puppydg68
Registered User
 
Join Date: Dec 2006
Posts: 43
Thank you so much, I've been looking for a good AVC+ac3 solution for PS3 streaming. Xmuxer/manzan and everything else let me down.. Going to try this right away!
Hope it works with ps3

update. Works great on the 2 muxes i tried so far. One thing to note, the .TS files that TSmuxer outputs is fully compatible with PS3 with full audio. No need to remux using tsremux to .M2ts. Both muxes i tried had full audio with the resulting TSmuxer file.

1) AVC+LCPM Blu-ray - demuxed using tsremux, and audio converted to .AC3 - Muxed back together with the new TSMuxer to .TS - worked 100% on ps3 streamed through tversity.
2) X264 MKV - mkvextract into elementary streams, AVC Profile converted to 4.1. Muxed back together with new TSMuxer to .TS - worked again.

Just wanted to say thanks for an awesome tool.

Last edited by puppydg68; 26th January 2008 at 08:42.
puppydg68 is offline   Reply With Quote
Old 26th January 2008, 08:59   #24  |  Link
fbd
Registered User
 
Join Date: Nov 2004
Location: FRANCE
Posts: 37
neuron2
fbd is offline   Reply With Quote
Old 26th January 2008, 09:01   #25  |  Link
yonta
Registered User
 
Join Date: Mar 2005
Posts: 136
Quote:
Originally Posted by puppydg68 View Post
1) AVC+LCPM Blu-ray - demuxed using tsremux, and audio converted to .AC3 - Muxed back together with the new TSMuxer to .TS - worked 100% on ps3 streamed through tversity.
2) X264 MKV - mkvextract into elementary streams, AVC Profile converted to 4.1. Muxed back together with new TSMuxer to .TS - worked again.
Just for your info,
1) You don't have to demux AVC in this case.
Just load the .m2ts in tsMuxeR and uncheck LPCM track and add .AC3 converted from LPCM.

2) tsMuxeR supports Direct MKV input and on-the-fly AVC level changing.
yonta is offline   Reply With Quote
Old 26th January 2008, 12:23   #26  |  Link
The1n
Registered User
 
Join Date: Nov 2005
Posts: 74
Im seeing some strange behaviour , if im trying to remux a bluray with lpcm and ac3 tracks. When im muxing only the avc and ac3 track directly from the m2ts(bluray) file there is error messages in the gui saying that there is error in the ac3 stream and says resyncing.
With the outcome that the file is not playable on a PS3. But if i demux the ac3 track with TSmux0.19 and the directly muxes it into the original m2ts everything is fine.
This has happend for two different movies , just want to know if anyone elese experienced something similar.

Anyway as i have stated earlier I love this program.

@neuron2 thanks for transl.
The1n is offline   Reply With Quote
Old 26th January 2008, 14:57   #27  |  Link
puppydg68
Registered User
 
Join Date: Dec 2006
Posts: 43
Quote:
Originally Posted by yonta View Post
Just for your info,
1) You don't have to demux AVC in this case.
Just load the .m2ts in tsMuxeR and uncheck LPCM track and add .AC3 converted from LPCM.

2) tsMuxeR supports Direct MKV input and on-the-fly AVC level changing.
wow, awesome, thanks for the tip.. I didn't know that. I did have a data corrupted, when trying to convert 1080 MKV files, do I need to change a profile or anything. I tried 4.1 and 5.1 for AVC level. both muxed and came out data corrupted on ps3. I was only trying on sample files so far.
puppydg68 is offline   Reply With Quote
Old 26th January 2008, 15:57   #28  |  Link
The1n
Registered User
 
Join Date: Nov 2005
Posts: 74
Quote:
Originally Posted by puppydg68 View Post
wow, awesome, thanks for the tip.. I didn't know that. I did have a data corrupted, when trying to convert 1080 MKV files, do I need to change a profile or anything. I tried 4.1 and 5.1 for AVC level. both muxed and came out data corrupted on ps3. I was only trying on sample files so far.
Try to exctract the mkv with mkvexctract and mux it together with tsmuxer and never go over level 4.1 if you want it to be compatible with the ps3.

The1n
The1n is offline   Reply With Quote
Old 26th January 2008, 16:24   #29  |  Link
tyee
Registered User
 
Join Date: Oct 2001
Posts: 416
So, looking at the supported containers, like evo, has anyone tried an hd-dvd remux to .ts yet??

Hmmm.... still got to do something about that darn evo framerate of 29.97fps and get it back to 23.976 for a blu-ray .ts!
tyee is offline   Reply With Quote
Old 26th January 2008, 22:46   #30  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by Atak_Snajpera View Post
m2ts muxing should be implemented in first place. Whole PS3 scene is waiting for this BTW Excellent tool! You are a hero!
why do we need mt2s is it because it supports multiple streams? i thougt ps3 will not play mt2s unless its in a bd structure?

Last edited by jamos; 26th January 2008 at 22:49.
jamos is offline   Reply With Quote
Old 26th January 2008, 22:49   #31  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
why do we need mt2s is it because it supports multiple streams?
No... because AVCHD uses m2ts files and I want to create mini-bluray discs
Atak_Snajpera is offline   Reply With Quote
Old 26th January 2008, 22:50   #32  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by The1n View Post
Try to exctract the mkv with mkvexctract and mux it together with tsmuxer and never go over level 4.1 if you want it to be compatible with the ps3.

The1n
no go with 1080p tried that..I have yet to see a 1080p mkv source work with just muxing on a ps3. Using ffmpeg to convert to mpeg2 always works for me on the ps3 and I really do not lose quality only time and space as it is a bigger file.
jamos is offline   Reply With Quote
Old 26th January 2008, 22:53   #33  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by Atak_Snajpera View Post
No... because AVCHD uses m2ts files and I want to create mini-bluray discs
ahh yes ive seen how to do that..good idea.
jamos is offline   Reply With Quote
Old 26th January 2008, 23:47   #34  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
i thougt ps3 will not play mt2s unless its in a bd structure?
PS3 plays m2ts files without problems. PSP , DVD doesn't matter But video must be encoded like I mentioned before.

Last edited by Atak_Snajpera; 26th January 2008 at 23:50.
Atak_Snajpera is offline   Reply With Quote
Old 27th January 2008, 00:28   #35  |  Link
survivant001
Registered User
 
Join Date: Nov 2007
Posts: 449
my first test :

264 +ac3 = 4 384 047 406 bytes
mkv = 4 385 382 340 bytes
ts (gtom tsmuxer) = 4 512 126 900 bytes
m2ts(tsremux) = 4 622 791 872 bytes

here my command line to encode :

x264.exe --pass 2 --bitrate 7200 --stats ".stats" --progress --keyint 14 --bframes 3 --qpmin 7 --qpmax 51 --mixed-refs --trellis 1 --ref 3 --filter 0,0 --subme 6 --direct auto --vbv-bufsize 12000 --vbv-maxrate 26000 --me umh --level 4.1 --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aud --nal-hrd --sar 1:1 --output "movie.264" "movie.avs"


the playback is fine.. can ff and rw. (take some seconds to play after a ff.. but it's work fine (maybe is Tversity)

I'm happy happy

Last edited by survivant001; 27th January 2008 at 01:16. Reason: add mkv
survivant001 is offline   Reply With Quote
Old 27th January 2008, 00:39   #36  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
--qpmin 7 --qpmax 51 --aud do you really need this?

Quote:
264 +ac3 = 4 384 047 406 bytes
ts (gtom tsmuxer) = 4 512 126 900 bytes
m2ts(tsremux) = 4 622 791 872 bytes
It looks like my calculations were correct (3% and 5.5%)
Atak_Snajpera is offline   Reply With Quote
Old 27th January 2008, 01:01   #37  |  Link
puppydg68
Registered User
 
Join Date: Dec 2006
Posts: 43
Quote:
Originally Posted by puppydg68 View Post
wow, awesome, thanks for the tip.. I didn't know that. I did have a data corrupted, when trying to convert 1080 MKV files, do I need to change a profile or anything. I tried 4.1 and 5.1 for AVC level. both muxed and came out data corrupted on ps3. I was only trying on sample files so far.
Changing the profile level to 4.1 did not for PS3 play for me within the TSmux program. however if I convert a 5.1 to 4.1 in h264info first then mux it with tsmux, it works fine.

Still no luck getting 1080 MKV or AVC stuff working on PS3, unless the original AVC came from a blu-ray m2ts in the first place, then I'm able to convert dts to ac3 mux it with tsmux and stream to ps3 from the network.
puppydg68 is offline   Reply With Quote
Old 27th January 2008, 01:08   #38  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Still no luck getting 1080 MKV or AVC stuff working on PS3,
This is because your mkv was encoded with b-pyramid.
Atak_Snajpera is offline   Reply With Quote
Old 27th January 2008, 01:22   #39  |  Link
survivant001
Registered User
 
Join Date: Nov 2007
Posts: 449
Quote:
Originally Posted by Atak_Snajpera View Post
--qpmin 7 --qpmax 51 --aud do you really need this?
I think that -aud was mandatory for Encore cs3.. but don't know what it does.. but it work, so I'll let it there until I figure what it really does

for --qpmax 51 it useless
for --qpmin 7 (the default is 10), I change it to 7 because with the bitrate that I have to file size was 3.6 gigs instead of 4.x and in the stats, I had 60+ % at qp 10, I just change it to 7 to fit the target size.

most of the time.. I don't have to change it. it's a anime my movie.. always the same one that give me so much trouble

I got a PRSN of 0.9976 I think
survivant001 is offline   Reply With Quote
Old 27th January 2008, 01:28   #40  |  Link
survivant001
Registered User
 
Join Date: Nov 2007
Posts: 449
@Atak_Snajpera

will you update ripbot264 for adding the output ts or m2ts (when it will be available) using tsremux (command line) ?

and change the x264 build.
survivant001 is offline   Reply With Quote
Reply

Tags
tsmuxer

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 06:56.


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