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 9th December 2011, 06:25   #4141  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
@svcdprayer

Hi!
Quote:
Ive also tried multiavchd
Select "Hard encode first external subtitle track (transparent)" twice (You'll see what I mean)
setarip_old is offline   Reply With Quote
Old 9th December 2011, 14:50   #4142  |  Link
HanSooloo
Registered User
 
Join Date: Apr 2007
Posts: 5
tsMuxeR commandline demuxing of Bluray subtitles

Have an M2TS file from a Bluray disc. I would like to use the command line tsMuxeR tool on Linux to remove the English subtitle track and save it as a .sup file. I setup a .meta file to help.

But I am not getting the subtitle file, instead it creates a directory with the same name.

What am I doing wrong?

file.meta file:
Code:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr  --vbv-len=500
S_HDMV/PGS, "00501.m2ts", track=4608, lang=eng
Command line:
Code:
./tsMuxeR file.meta 00501.sup
Resultant files:
Code:
root@127.0.0.1:/Folder/BDMV/STREAM# ls -lrtd *.sup
drwx------    2 root     root            3 Dec  8 21:29 00501_track4621.sup/

root@127.0.0.1:/Folder/BDMV/STREAM#
HanSooloo is offline   Reply With Quote
Old 9th December 2011, 14:59   #4143  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Don't give the .SUP file name as output in the command line -- give it an output folder name. TSMUXER will name the .SUP itself based on the source name and track ID. It has to do that since the demuxing function can result in more than one output file.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 9th December 2011 at 15:23.
jdobbs is offline   Reply With Quote
Old 9th December 2011, 16:13   #4144  |  Link
HanSooloo
Registered User
 
Join Date: Apr 2007
Posts: 5
Quote:
Originally Posted by jdobbs View Post
Don't give the .SUP file name as output in the command line -- give it an output folder name. TSMUXER will name the .SUP itself based on the source name and track ID. It has to do that since the demuxing function can result in more than one output file.
That did the trick.

However, the output looks like it's just a suffix, i.e., .track_4608.sup

Any way to prefix it with the M2TS file name, e.g., 00501.track_4608.sup?
Code:
root@127.0.0.1:/Folder/BDMV/STREAM# ls -la sup
drwxr-xr-x    2 root     root            3 Dec  9 09:33 ./
drwxr-xr-x    3 nobody   smbusers       74 Dec  9 09:32 ../
-rw-r-----    1 root     root     37305563 Dec  9 09:42 .track_4608.sup
HanSooloo is offline   Reply With Quote
Old 9th December 2011, 17:05   #4145  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by HanSooloo View Post
That did the trick.

However, the output looks like it's just a suffix, i.e., .track_4608.sup

Any way to prefix it with the M2TS file name, e.g., 00501.track_4608.sup?
Code:
root@127.0.0.1:/Folder/BDMV/STREAM# ls -la sup
drwxr-xr-x    2 root     root            3 Dec  9 09:33 ./
drwxr-xr-x    3 nobody   smbusers       74 Dec  9 09:32 ../
-rw-r-----    1 root     root     37305563 Dec  9 09:42 .track_4608.sup
It always does when I use it -- but I''m on a windows machine. Here's an example of a meta file I've used:
Code:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr  --vbv-len=500
V_MPEG4/ISO/AVC, "00018.m2ts", fps=23.976
A_DTS, "00018.M2TS", down-to-dts, track=4352, lang=eng
S_HDMV/PGS, "00018.M2TS",fps=23.976, track=4608,lang=eng
S_HDMV/PGS, "00018.M2TS",fps=23.976, track=4609,lang=spa
With this command line:
Code:
d:\tsmuxer\tsmuxer.exe 00018.meta  d:\output
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 9th December 2011 at 17:09.
jdobbs is offline   Reply With Quote
Old 9th December 2011, 19:56   #4146  |  Link
Capsbackup
Registered User
 
Join Date: Jul 2005
Posts: 1,995
Quote:
Originally Posted by HanSooloo View Post
That did the trick.

However, the output looks like it's just a suffix, i.e., .track_4608.sup

Any way to prefix it with the M2TS file name, e.g., 00501.track_4608.sup?
Now that you have successfully demuxed the file you can rename it to whatever you like!
Capsbackup is offline   Reply With Quote
Old 8th January 2012, 06:15   #4147  |  Link
ralphclark
Media Transcoder Novice
 
Join Date: Dec 2007
Posts: 1
I know people have been asking for this for years, but I would really like to see tsMuxeR gain the capability to mux DVB subtitles into .M2TS (from a .srt file).
My HD player doesn't recognize PGS-formatted subtitle streams and there doesn't seem to be anything out there that can create a .M2TS file with a "DVB subtitle" track. If tsMuxeR could do it, it would enable a complete end-to-end solution for transcoding video to play on HD recorders.
ralphclark is offline   Reply With Quote
Old 23rd January 2012, 05:12   #4148  |  Link
BassPig
Registered User
 
BassPig's Avatar
 
Join Date: Jan 2003
Posts: 302
I love this program! It saved my bacon when my authoring system decided to stop allowing me to produce multichannel BD-Rs. Now I just strip in the Dolby AC3 multichannel after building the disc image. But that got me thinking.. BD supports up to 8 channels of LPCM. So why not mux in multichannel LPCM instead of lossy Dolby ac3? But here's my problem.. tsMuxer accepts the LPCM just fine and muxes it beautifully.. but when I burn the disc and pop it into my Oppo BDP-83, the player thinks it's "1/1 Dolby" and won't play any audio--disc is silent. Any idea what I might be doing wrong?
__________________
Take care,

Mark & Mary Ann Weiss

www.mwhdvideo.com The Best in Video & Sound
www.ampexperts.com
www.basspig.com The Bass Pig's Lair - 20,000 Watts of Driving Stereo!
-
BassPig is offline   Reply With Quote
Old 23rd January 2012, 05:41   #4149  |  Link
IanD
Registered User
 
Join Date: Jun 2003
Location: Australia
Posts: 190
Quote:
Originally Posted by BassPig View Post
I love this program! It saved my bacon when my authoring system decided to stop allowing me to produce multichannel BD-Rs. Now I just strip in the Dolby AC3 multichannel after building the disc image. But that got me thinking.. BD supports up to 8 channels of LPCM. So why not mux in multichannel LPCM instead of lossy Dolby ac3? But here's my problem.. tsMuxer accepts the LPCM just fine and muxes it beautifully.. but when I burn the disc and pop it into my Oppo BDP-83, the player thinks it's "1/1 Dolby" and won't play any audio--disc is silent. Any idea what I might be doing wrong?
Firstly, LPCM on Bluray is not in standard channel order, so if you want it to be correct when burnt to a disc, you need to re-arrange the channels if you have created LPCM from DD, DTS etc.

LPCM files over 4GB can cause muxing issues I believe: IIRC, creating them as w64 gets around this issue.

Eac3to can decode most things to LPCM and can perform channel re-ordering and output as w64 in one go: it might be your best option before muxing with TsMuxer.

LPCM is very space hungry compared to the lossy and lossless audio codecs, so don't be surprised at 6GB just for audio for a movie.

Last edited by IanD; 23rd January 2012 at 05:46.
IanD is offline   Reply With Quote
Old 23rd January 2012, 06:11   #4150  |  Link
BassPig
Registered User
 
BassPig's Avatar
 
Join Date: Jan 2003
Posts: 302
My test file was under 2GB, less than 20 minute program. The channel order is L,R,C,SW,LS,RS. The audio originates from a MOTU896, whose files go into Adobe Premiere CS3 to make the main program. From there, I make a multichannel PCM file with the above channel assignments, and then remux it with tsMuxer.
Lately, I'm wondering if it's a little endian problem.. some info I looked up said that Blu-ray is Big endian, so my little endian PCM might be the problem?
__________________
Take care,

Mark & Mary Ann Weiss

www.mwhdvideo.com The Best in Video & Sound
www.ampexperts.com
www.basspig.com The Bass Pig's Lair - 20,000 Watts of Driving Stereo!
-
BassPig is offline   Reply With Quote
Old 23rd January 2012, 07:54   #4151  |  Link
BassPig
Registered User
 
BassPig's Avatar
 
Join Date: Jan 2003
Posts: 302
I found another problem with the BD I made this evening using tsMuxer, this time to fuse a Dolby Surround file with the associated video stream (that Encore demoted to stereo, hence why I'm using tsMuxer to replace the defective audio): although the discs play ok if you simply put them in the player and watch from start to end, any attempt to navigate via chapter advance, or fast forward, results in playback freezing for about a minute, before resuming playback. The disc images I made in Encore that I did NOT touch with tsMuxer, fast forward and chapter advance like a normal commercial BD, with barely any lag. Uh-oh. Houston, I think we have a problem here...

Edit:
Apparently it's just the 640kbps Dolby surround track that causes this. Fusion with the 512kbps Dolby surround track is okay. I guess not a problem with the muxing, but a problem with Blu-ray player being able to handle 640kbps ac3 file.
__________________
Take care,

Mark & Mary Ann Weiss

www.mwhdvideo.com The Best in Video & Sound
www.ampexperts.com
www.basspig.com The Bass Pig's Lair - 20,000 Watts of Driving Stereo!
-

Last edited by BassPig; 23rd January 2012 at 09:05.
BassPig is offline   Reply With Quote
Old 27th January 2012, 19:27   #4152  |  Link
craftech
Registered User
 
Join Date: Apr 2006
Posts: 4
I am trying to mux to .m2ts an .m2v file edited in Sony Vegas with an .ac3 file edited in Vegas. TsMuxer handles it just fine if I leave it at VBR default settings.

However, the original renders were 1920 x 1080 / 60i m2v at a CBR of 21,000 kbps. I want to keep it that way.

But when I change the VRR in TsMuxer to a CBR of 21,000 kbps and try to mux, it gives continuous VBV Buffer Overflow errors until finally terminating the mux indicating too many overflow errors. Tried to mux to .ts and same thing occurs.

I have tried more than 10 different settings for VBV buffer size and all cause the same problem.

Anyone have a solution?

I am using tsMuxer version 1.10.6

Someone posted the same problem on VideoHelp under the download for TsMuxer

I get buffer overflow errors when trying to mux cbr--Ive changed the bit rate and changed the vbv buffer size and still getting the error--But for vbr muxing, this program rocks!

No one had an answer.

http://www.videohelp.com/tools/tsMuxeR

Thanks,

John

Last edited by craftech; 27th January 2012 at 19:33.
craftech is offline   Reply With Quote
Old 28th January 2012, 00:34   #4153  |  Link
Capsbackup
Registered User
 
Join Date: Jul 2005
Posts: 1,995
Quote:
Originally Posted by craftech View Post
I am trying to mux to .m2ts an .m2v file edited in Sony Vegas with an .ac3 file edited in Vegas. TsMuxer handles it just fine if I leave it at VBR default settings.
If you are using tsMuxeR to mux a file that has been edited with any program, why does it matter what the setting is? Whatever the files properties were encoded at are what they are! tsMuxeR is only muxing them.
Header information will not necessarily change a files compliance.
Capsbackup is offline   Reply With Quote
Old 28th January 2012, 05:10   #4154  |  Link
craftech
Registered User
 
Join Date: Apr 2006
Posts: 4
Quote:
Originally Posted by Capsbackup View Post
If you are using tsMuxeR to mux a file that has been edited with any program, why does it matter what the setting is? Whatever the files properties were encoded at are what they are! tsMuxeR is only muxing them.
Header information will not necessarily change a files compliance.
I tried that and when I tested the file it was indeed VBR and not CBR as was the m2v that I muxed with the ac3. TsMuxer indeed muxed the m2ts as a VBR. When I brought the file into DVD Architect to author it, DVDA wanted to recompress the m2ts file because it didn't meet the project properties parameters I specified which were CBR.

And why the buffer overflow to the point of termination if I choose CBR in TsMuxer if those settings don't mean anything?

John

Last edited by craftech; 28th January 2012 at 05:14.
craftech is offline   Reply With Quote
Old 31st January 2012, 11:49   #4155  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
What happens when the chapters list (say every 5 minutes) doesn't fit with the actual position of I-frames? Will it go to the next one, to the nearest one, or ignore it?
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 31st January 2012, 14:27   #4156  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
IME most players will find and display the nearest PREVIOUS I-frame.
laserfan is offline   Reply With Quote
Old 15th April 2012, 20:22   #4157  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
Wow, kind of quiet here the last few months.

Tsmuxer always works fine for me except for a strange mux today. Blu-ray mux with a h264 @ 19.8 gb + DTS-HD @ 2.9gb
Tsmuxer states completed successfully however at 87%, not 100%. The resulting mux is only 20.8gb when it should be closer to 23gb.

The movie plays completely but I'm wondering why the lower % and smaller file size ??
__________________
"Talk to me Goose"

Last edited by rapscallion; 16th April 2012 at 13:45.
rapscallion is offline   Reply With Quote
Old 16th April 2012, 02:03   #4158  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by Ghitulescu View Post
What happens when the chapters list (say every 5 minutes) doesn't fit with the actual position of I-frames? Will it go to the next one, to the nearest one, or ignore it?
I think it depends on the player -- but it will have to go to an I-Frame (either before or after). The thing you have to watch carefullly is when you use large GOPs, because sometimes the nearest I-Frame might be as much as 10 seconds away.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 19th April 2012, 13:03   #4159  |  Link
Ulf
Registered User
 
Join Date: Sep 2008
Location: Sweden
Posts: 66
How to capture stdout message from tsMuxeR.exe?

When executing tsMuxer in cmd line mode, is there any way to capture what tsMuxer writes to stdout?

Command line:
Quote:
tsMuxeR.exe "C:\out\MUXOPT.meta" "C:\out"
Info written to stdout:
Quote:
SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.2 Resolution: 1920:1080p Frame rate: 50
H.264 stream does not contain fps field. Muxing fps=50
0.3% complete
Decoding AC3 stream (track 2): Bitrate: 256Kbps Sample Rate: 48KHz Channels: 2
Processed 720 video frames
100.0% complete
Demux complete.
Demuxing time: 0 sec
I want to write this information to a file.

I have tried the following:
Quote:
tsMuxeR.exe "C:\out\MUXOPT.meta" "C:\out" > "C:\out\info.txt"
but redirection doesn't work (and neither does demuxing in this case).
Ulf is offline   Reply With Quote
Old 19th April 2012, 16:36   #4160  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by Ulf View Post
When executing tsMuxer in cmd line mode, is there any way to capture what tsMuxer writes to stdout?
We still are allowed to select and copy the text that is written on the CLI window...

Quote:
but redirection doesn't work (and neither does demuxing in this case).
Probably that's a limitation which comes from the source-code itself
Midzuki 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 10:27.


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