View Full Version : smartLabs tsMuxeR: Transport Stream muxer
survivant001
31st March 2008, 00:49
dirkr
kurt
In any case, please try new version on popkorn. May be reason of stutters in pulldown marks only.
what is popkorn ?
DoomBot
31st March 2008, 01:36
Popcorn hour is a media player
73ChargerFan
31st March 2008, 02:20
First, I demuxed a TS file into the H264 & LPCM streams.
The LPCM track was exported as two 6-channel wav files, due to the size limit of the wav format. SurCode DTS needs 6 separate mono wav files, one for each channel. I wasted all day trying to create these, and most of the tools aren't up to it.
Finally I used Audacity 1.3.4-beta to merge the parts, rename the streams (it named them 1, 2, ..., 6), then exported the separated streams. DIFFICULT.
Encoded LPCM track to DTS 1.536 mb/s using SurCode DVD DTS version 1.0.23.
The .dts file gave error "can't detect stream type" (latest mpc can play it, but for some reason the length was expanded from 131 minutes to 133 minutes.)
A 6 channel DTS .wav file was recognized as 2 channel (so does mpc.)
tsMuxeR v1.7.2 correctly recognized the DTS Compact file .cpt.
Now I'm trying to remux the results.
Q1: Should I enable or disable "Add picture timing info" and "Continually insert SPS/PPS" options for the H264 stream? What are these options?
Q2: Can the options be explained in the first post?
Q3: Can the readme.txt file be translated from russian to english?
Q4. Can an option be added to export LPCM tracks to separate channels, as mono WAV files with the names "FL, FR, CENTER, LFE, SL, SR"?
Thanks for all the hard work.
73ChargerFan
31st March 2008, 02:29
I cleared the two options, "timing info" & "SPS/PPS" and muxed a few minutes work, and the results look and sound good.
When I mux, I get the following messages in the output:
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976
H.264 muxing fps not set. Get fps from stream.
Why the error message about the fps not set?
Ryu77
31st March 2008, 03:33
I cleared the two options, "timing info" & "SPS/PPS" and muxed a few minutes work, and the results look and sound good.
When I mux, I get the following messages in the output:
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976
H.264 muxing fps not set. Get fps from stream.
Why the error message about the fps not set?
The message is simply letting you know that you didn't set the fps manually and it will get the information from the stream.
In regards to your "Add picture timing info" and "Continually insert SPS/PPS" question... I would also like to know detailed information about what these options actually do.
kurt
31st March 2008, 07:12
dirkr
kurt
In any case, please try new version on popkorn. May be reason of stutters in pulldown marks only.
sorry, unfortunately I'm not at home for the next 14 days and cannot test.
dirkr?
but if I remember correctly the early vc1conv version (which only removed pulldown) did actually work without stuttering on Pocorn Hour ...
n0mag!c
31st March 2008, 07:53
* Version 1.6.3(b)[/URL]
-Bug fixed: PTS/DTS timing for MPEG2 streams without GOP headers filled wrong
720x576@25 - now plays fine on PS3
1920x1080@24 - now plays fine on PS3
1920x1080@30 (with 3:2 pulldown) - still can't plays fine on PC & PS3
* Version 1.7.2(b)
- Bug fixed: Now pulldown info correctly processed.
- Ability to remove pulldown info from stream added. All video codecs are supported: H.264, VC-1, MPEG2.
I will test again with new version this week.
dirkr
31st March 2008, 09:11
dirkr
kurt
In any case, please try new version on popkorn. May be reason of stutters in pulldown marks only.
tested with 1.7.1b => not working.
will try 1.7.2b in 2 hours
fbd
31st March 2008, 10:33
tested with 1.7.1b => not working.
will try 1.7.2b in 2 hours
@ roman76r and all
vc1conv V0.3 modify these settings :
http://forum.doom9.org/showpost.php?p=1108596&postcount=54
See Ron writing:
Resetting the interlaced flag to 0 (yes)
Resetting the pulldown flag to 0 (no)
Resetting the frame rate to 24000/1001 (yes)
Removing the FCM (yes)
Removing TFF/RFF (aka RPTFRM) (no)
Removing UVSAMP (yes)
Removing that last byte if it is 0x00. (no)
I don't clear the pulldown flag. I just set RPTFRM to 0 in each frame. This seems to be the common practice on Blu-ray streams.
Regards,
Franck
mmace
31st March 2008, 10:46
I tried this software yesterday on 2 films, both are 1920x1080 mpeg2 23.976fps m2v files, I also had .dts 6 channel 1500kps for each of them.
I tried muxing to m2ts as well as Blu-ray structure, both films ended up with no audio (I tried playing the .dts and it's fine on its own)
what am I doing wrong?
roman76r
31st March 2008, 10:59
fdb
I don't clear the pulldown flag. I just set RPTFRM to 0 in each frame. This seems to be the common practice on Blu-ray streams
OK. Now I understood. It is other transformation which demands separate parameter in GUI.
dirkr
31st March 2008, 11:02
@roman76r:
1.7.2b seems to work (any changes comparing 1.71.b related to that issue?) but I would feel better if you could make the other changes too because Mediainfo says again 1080i and I don't know what happened if Popcornhour brings a new firmware version.....
n0mag!c
31st March 2008, 11:48
I tried this software yesterday on 2 films, both are 1920x1080 mpeg2 23.976fps m2v files, I also had .dts 6 channel 1500kps for each of them.
I tried muxing to m2ts as well as Blu-ray structure, both films ended up with no audio (I tried playing the .dts and it's fine on its own)
U ain't say where you're playing movies. Please be more specific.
mmace
31st March 2008, 12:13
they aren't playing with audio on my PC in mpc or vlc. I'm wanting to put them on BD in BDMV format but cannot seem to get a working mux
n0mag!c
31st March 2008, 12:45
they aren't playing with audio on my PC in mpc or vlc. I'm wanting to put them on BD in BDMV format but cannot seem to get a working mux
You know, the same thing happens on my PC. DTS audio didn't play with MediaPlayerClassic with HAALI media splitter, but plays fine with power dvd. I didn't go deep with this issue 'cause it ain't really bother me as I'm watching movies on PS3 on AVCHD or BD-R(E).
mmace
31st March 2008, 12:55
it doesn't playback with PDVD either, will give it a go and burn to BD-RE then to see if it works on the PS3, cheers for the help (here & my other post)
survivant001
31st March 2008, 14:07
@roman76
I have a sample for the split and playlist
http://forum.doom9.org/showthread.php?t=136419
hope that can help.
thanks
buggymonkey
31st March 2008, 15:37
Hi Roman
excellent tool keep up the good work ,
is there anyway you could get a DTS-HD to AC3 downconverter in there ???
I know I want everything ;)
many thanks again
roman76r
31st March 2008, 16:04
survivant001
Thanks. I'll work on it.
dirkr
31st March 2008, 16:28
is there anyway you could get a DTS-HD to AC3 downconverter in there ???
Why? every reveicer today could handle dts. And tsmuxer make a downconvert. So why?
Nobody needs it really
vob
31st March 2008, 16:39
Why? every reveicer today could handle dts. And tsmuxer make a downconvert. So why?
Nobody needs it really
You forget PS3 users that don't want to burn BR but play the streams from their hard disk or media server (mediatomb etc). PS3 cannot handle DTS within eg. MPEG containers. But it can play AC3 AAC aso. So it would make things easier.
btw: to convert dts to ac3 use ffmpeg
ffmpeg -i input.dts -acodec ac3 -ac 6 -ab 384K output.ac3
dirkr
31st March 2008, 16:44
You forget PS3 users that don't want to burn BR but play the streams from their hard disk or media server (mediatomb etc). PS3 cannot handle DTS within eg. MPEG containers. But it can play AC3 AAC aso. So it would make things easier.
/CODE]
ok, didn't know that but i own a ps3 :)
Ryu77
31st March 2008, 17:26
btw: to convert dts to ac3 use ffmpeg
ffmpeg -i input.dts -acodec ac3 -ac 6 -ab 384K output.ac3
Why use 384Kbs, when the PS3 can decode ac3 at 640Kbs? Wouldn't you prefer the higher bitrate to increase the quality?
vob
31st March 2008, 20:06
Why use 384Kbs, when the PS3 can decode ac3 at 640Kbs? Wouldn't you prefer the higher bitrate to increase the quality?
Sure you can even use 640K. This was just an example ;)
BTW: You need he ability to hear the difference. And the equipment ;)
hero88
31st March 2008, 20:25
I still have issues with 1.7.2 and extracting subs, I am extracting from ID4, blu-ray, bd+ removed.
I have extracted 4 subs 3 us & 1 dk, and SupRead is only able to see the first line in one of the them, it gets the number of lines and timings correctly though, whereas SupRip is able to detect all text in all 4 files succesfully.
Let me know if you wish to have a look at any the sup files
kurt
31st March 2008, 20:28
I still have issues with 1.7.2 and extracting subs, I am extracting from ID4, blu-ray, bd+ removed.
I have extracted 4 subs 3 us & 1 dk, and SupRead is only able to see the first line in one of the them, it gets the number of lines and timings correctly though, whereas SupRip is able to detect all text in all 4 files succesfully.
Let me know if you wish to have a look at any the sup files
same here with Pirates 3. maybe it's a bug in supread...
hero88
31st March 2008, 23:30
I have now tried to demux a sub using tsremux 0.0.20, and supread is still unable to read it so it seems to be an issue with supread and not tsmuxer. Suprip is still able to read it.
Suprip has an issue with the timings though, so if anyone else has issues, here is my workaround.
Get the subs, load them into supread and save the srt without doing anything, this will save the timings.
Now load the sub into suprip and ocr it, save that also.
load both srt files into Subtitle Processor and copy the timings from the supread created srt to the srt created by suprip.
Save the suprip created srt again and you should have a file which should be working correctly.
fib0by
1st April 2008, 05:25
Thanks for your kind answer:
The input file
Link to download the .M2TS file coming straight from my SONY camcorder. Size less than 6 Mb.
http://www.yousendit.com/transfer.php?action=download&ufid=55E5F3EF31C17921
The generated BR output
Link containing the entire Blu-Ray structure generated by TSMuxer 1.6.3.
http://www.yousendit.com/transfer.php?action=download&ufid=40A7D02B1C05EA3C
Authored with 1.7.2 and the PS3 doesn't play anything - black screen, no sound.
73ChargerFan
1st April 2008, 05:33
hero88, I just survived a book of tongue twisters by Dr Seuss, and your post gave me a headache. :)
Quatre
1st April 2008, 07:58
You forget PS3 users that don't want to burn BR but play the streams from their hard disk or media server (mediatomb etc). PS3 cannot handle DTS within eg. MPEG containers. But it can play AC3 AAC aso. So it would make things easier.
btw: to convert dts to ac3 use ffmpeg
ffmpeg -i input.dts -acodec ac3 -ac 6 -ab 384K output.ac3
use mkv2vob to make an x264 mkv file into one playable on ps3 (it remuxes to avc or transcodes if it has to) and recodes dts to ac3.
BDLAB
1st April 2008, 11:00
Hi Roman76,
thanks for the powerfull tool.
I have a problem with version 1.7.1/2. The program regulary crashes when I try to demux or mux a H264/AC3 TS stream. Alternatively the program terminates with the message "Bitstream exception. It does not have to be! ...".
Earlier versions (1.6.3 or lower) work fine.
Any ideas ?
Thanks
guru1968
1st April 2008, 12:08
@kurt, hero88:
try demuxing the subs with xportpgs, that worked for me before tsMuxeR 1.7.2 was out...
(the demuxed streams are not identical, so there are chances that tsMuxer stil has SUB issues)
BTW:
CLI syntax is:
xportpgs -jhus <filename> 1 1 1 <subtitle stream no>
demuxes one subtitle at a time, always with the name bits0001.sub (into xportpgs installation directory); be sure to move or rename that file before doing the next subtitle...
Renzz
1st April 2008, 17:23
Crashing immediately for me too (1.7.2) when trying to remux a BBC-HD AVC/AC3 TS file to M2TS.
DrWatson log shows
Application exception occurred:
App: C:\Video\TSMuxer\tsMuxeR.exe (pid=5296)
When: 01/04/2008 @ 17:15:58.662
Exception number: c0000005 (access violation)
kurt
1st April 2008, 17:53
@kurt, hero88:
try demuxing the subs with xportpgs, that worked for me before tsMuxeR 1.7.2 was out...
(the demuxed streams are not identical, so there are chances that tsMuxer stil has SUB issues)
BTW:
CLI syntax is:
xportpgs -jhus <filename> 1 1 1 <subtitle stream no>
demuxes one subtitle at a time, always with the name bits0001.sub (into xportpgs installation directory); be sure to move or rename that file before doing the next subtitle...
thx, will try this out soon.
73ChargerFan
1st April 2008, 19:36
Q1: Should I enable or disable "Add picture timing info" and "Continually insert SPS/PPS" options for the H264 stream? What are these options?
I turned off SPS/PPS options, and my remux of the h264 stream into a TS container worked well and seeks fine. I still don't know under which conditions these flags are necessary.
I found an explanation of PPS in the h264info thread. (http://forum.doom9.org/showthread.php?p=1120380#post1120380)
Glorioso
1st April 2008, 23:18
What program can i use to make a 720p suntitle SUP file?
fib0by
2nd April 2008, 03:24
I have several .m2ts input files. I Add the first one, then I Append the rest of the files (so select Add for the first file, then select Append for all the remaining files).
I select the "create Blu-Ray disk" option, then click on the Blu-Ray tab.
There are 3 options for chapters:
no chapters
insert chapter every X minutes
custom chapter list
It would be very nice if there was a 4th option:
- insert chapter for every input file
This would be incredibly useful for .m2ts files downloaded from an AVCHD camcorder, where each file is typically a different scene. When creating a DVD or a BD, it's typical to insert a chapter for each scene - and since every scene is a different file, the feature request becomes obvious.
As a bonus, it would be nice if, when selecting this new option, tsMuxeR would not create one single huge file in the STREAM directory, but instead leave the files separate (essentially, if there are 5 input files, create 5 files in STREAM).
But that's less important. The most important thing is the authoring feature of having a chapter inserted automatically for every input file.
That's actually how some AVCHD camcorders create the BD image on the flash card in real time - each scene is a separate file, and if you burn the flash on a BD, each file plays as a separate chapter.
This feature would make tsMuxeR very useful for people who create HD content with AVC camcorders (and probably with HDV camcorders too).
Thank you.
Ryu77
2nd April 2008, 04:42
What program can i use to make a 720p suntitle SUP file?
http://forum.doom9.org/showthread.php?t=134402
@roman76r
When will you release the 172(b) for Linux?
roman76r
2nd April 2008, 08:45
survivant001
I have found some discrepancies to the standard at splitted files in a blu-ray muxing mode in tsMuxer. I'll create update tomorrow or after tomorrow.
BDLAB
I have a problem with version 1.7.1/2. The program regulary crashes when I try to demux or mux a H264/AC3 TS stream. Alternatively the program terminates with the message "Bitstream exception. It does not have to be! ...".
Earlier versions (1.6.3 or lower) work fine.
Any ideas ?
Yes. I found this problem with version 1.7.1/2. This bug appear for H.264 streams. Workaround for this problem: you can use older version or demux stream and process it with h264Info.
Lacix
2nd April 2008, 09:58
I've converted a .srt file to a .sup file with Supread, then I've created a Blu-ray compilation with AC3 and DTS sound.
My problem is that I can't switch off the subtitles while playing on PS3. Is it normal ?
I've tried running the linux binary from your website with the following error:
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
Looks like it was linked against an older version of libstc++
Anybody else have this problem?
Same here with Fedora 8! Any workaround?
survivant001
2nd April 2008, 12:48
survivant001
I have found some discrepancies to the standard at splitted files in a blu-ray muxing mode in tsMuxer. I'll create update tomorrow or after tomorrow.
good news.. thanks
Glorioso
2nd April 2008, 13:52
http://forum.doom9.org/showthread.php?t=134402
SUORead only makes 1080p subs, no 720p ondes
Ryu77
2nd April 2008, 14:29
SUORead only makes 1080p subs, no 720p ondes
Glorioso, did you read that guide thoroughly?
The method stated there uses Sonic Scenarist which can accept subtitles exported as a custom image format from Subtitle Workshop 4 (srt method).
I have successfully created a 720p BD-9 with switchable subtitles using that method.
phigment
2nd April 2008, 16:06
Same here with Fedora 8! Any workaround?
Well, I upgraded my version of GCC and that helped.
To do this easily on ubuntu, I just grabbed the latest gcc-snapshot package. I then made sure libstdc++ was pointing to the version from that snapshot.
This seemed to solve the problem, but I haven't had the time to test any actual demuxes or muxes though.
Well, I upgraded my version of GCC and that helped.
I see. I still have 2.7 installed. Maybe you could test it and let me/us know if it's worth the effort.
The other idea is to use wine...
fib0by
2nd April 2008, 17:09
The other idea is to use wine...
tsMuxergui does not work with WINE. At least not for me. I am running the very latest stable WINE release (subscribed to their software repository, so it gets updated whenever they release a new version) on Ubuntu 7.10 and 7.04
It appears to work fine, it launches, but it gives errors when I try to add AVCHD .m2ts files.
It would be great if the GUI could run with WINE.
hm10
2nd April 2008, 17:21
can you please release the source code?
thx
Glorioso
2nd April 2008, 18:41
Glorioso, did you read that guide thoroughly?
The method stated there uses Sonic Scenarist which can accept subtitles exported as a custom image format from Subtitle Workshop 4 (srt method).
I have successfully created a 720p BD-9 with switchable subtitles using that method.
But you have to own scenarist, i'm using tsMuxer...
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.