View Full Version : smartLabs tsMuxeR: Transport Stream muxer
jocassien
9th January 2009, 11:06
Hi everybody and specially to you Roman for whom I have a question :
I have already used tsMuxeR to successfully remux a silent avc file with its soundtrack trying to recover after an aborted render in Vegas pro8 -to make a long story short my render aborted at 1h15 mns after a power shutdown !
Then I have tried to append this first file (7,3 Go) with another ( 2Go) which is the render of the end of my video, this time successfully rendered to its end in Vegas . The tsmuxer process starts OK but at 72,9% I get the following message "not enough buffer for parse video stream", which means I guess that I am short of virtual memory or of disk space on my system partition (it's 18 Go and XP pro leaves me around 10 Go free on it). I precise that in tsMuxer I have asked the finalized file to be saved on a second hard drive I use only for video files and renders; that disk has more than 300 Go free space.
Do you have an idea what goes wrong ? I can give the following details :
- I have renamed the 2 appended files with an m2v extension; the 1rst and bigger one results from an image-only blu ray render (I was able to recover it under the stream file of the blu ray structure); that's why I got an avc-extension file. For the 2nd I have asked an mpeg2 render with the sony AVC codec
- the soundtrack of the video has been saved as AC3 still in Vegas and it is recognized all right
- I have tried to set the parameters as ts muxing and m2ts muxing with the error message popping at the same place
- I have also tried to remux with another computer disposing of a much larger partition system with the same result
I am afraid of one thing : that my 1rst has not been finalized correctly so that the appending operation can't get to its end.
What do you think of it ? Can you help me save a 33 hrs render :scared:
Many Thanks in advance anyway.
vcarter
12th January 2009, 11:11
hi
sorry if you ever said this a lot of times,but after reading 20 pages,i did not find tha answer.
in tsmuxergui what bitrate must i put to prevent the almost 400 mo that "appears" when i do mkv (exactly the size of a dvd dl) to blu-ray?everyone knows that problem.after using tsmuxergui the file is too big to burn it on a dvd dl.
and what's the best way (easier) to add black border to .264 files?i mean ps3 need 1920*1080 or 1280*720 and not cropped resolutions
sorry for my english.in french forum,these questions appear a lot of time without any pertinent answer.
bye
G_M_C
12th January 2009, 12:38
I thought there would be an update to tsMuxeR in januari. Has anybody heard/read/seen news of this (coming) release yet ?
MadMonkey57
12th January 2009, 13:12
...after using tsmuxergui the file is too big to burn it on a dvd dl...
For short, mkv is a container (like avi, mp4, ...). A container is a way of organizing streams (audio, video, subtitles) so that they can be easily played. Every container adds extra data in addition to the streams themselves. tsmuxer creates a movie based on an m2ts container. m2ts adds an extra 6%-7% to the data streams. That is the reason why your BD output is bigger than the original mkv file.
...and what's the best way (easier) to add black border to .264 files?i mean ps3 need 1920*1080 or 1280*720 and not cropped resolutions...
Your need to reencode the stream at the proper size.
...sorry for my english.in french forum,these questions appear a lot of time without any pertinent answer...
In case of absolute necessity (;)), you can PM me in french.
Butterfly666
12th January 2009, 15:31
I thought there would be an update to tsMuxeR in januari. Has anybody heard/read/seen news of this (coming) release yet ?
I need to know this 2....
jocassien
12th January 2009, 15:58
Sorry to bother you but can anyone answer my trouble ?
Hi everybody and specially to you Roman for whom I have a question :
I have already used tsMuxeR to successfully remux a silent avc file with its soundtrack trying to recover after an aborted render in Vegas pro8 -to make a long story short my render aborted at 1h15 mns after a power shutdown !
Then I have tried to append this first file (7,3 Go) with another ( 2Go) which is the render of the end of my video, this time successfully rendered to its end in Vegas . The tsmuxer process starts OK but at 72,9% I get the following message "not enough buffer for parse video stream", which means I guess that I am short of virtual memory or of disk space on my system partition (it's 18 Go and XP pro leaves me around 10 Go free on it). I precise that in tsMuxer I have asked the finalized file to be saved on a second hard drive I use only for video files and renders; that disk has more than 300 Go free space.
Do you have an idea what goes wrong ? I can give the following details :
- I have renamed the 2 appended files with an m2v extension; the 1rst and bigger one results from an image-only blu ray render (I was able to recover it under the stream file of the blu ray structure); that's why I got an avc-extension file. For the 2nd I have asked an mpeg2 render with the sony AVC codec
- the soundtrack of the video has been saved as AC3 still in Vegas and it is recognized all right
- I have tried to set the parameters as ts muxing and m2ts muxing with the error message popping at the same place
- I have also tried to remux with another computer disposing of a much larger partition system with the same result
I am afraid of one thing : that my 1rst has not been finalized correctly so that the appending operation can't get to its end.
What do you think of it ? Can you help me save a 33 hrs render :scared:
Many Thanks in advance anyway.
Selur
13th January 2009, 19:57
Muxing an .264 (created with x264) using tsmuxer and the following .meta file:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "c:\tmp\test_193002937.264", fps=23.976, insertSEI, contSPS
A_AC3, "c:\tmp\00156 DELAY 0ms_193002937.ac3", timeshift=0
the .m2ts file created shows a resolution of 1920x1084p in tsmuxer. (using the GUI and not the command line results in the same output)
-> Where does the 4 come from?
Cu Selur
deank
14th January 2009, 02:02
I doubt it will affect player application, but still... I also had some similar <>1080 outputs (and it is mainly because 1080 is not a multiple of 16) so check your x264 encoding settins.
I use something like:
x264.exe --bitrate 50000 --keyint 25 --min-keyint 1 --ref 4 --mixed-refs --bframes 1 --weightb --subme 5 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 30000 --vbv-maxrate 50000 --qcomp 0.5 --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --mvrange 511 --aud --nal-hrd --sar 1:1 --output %1.264 %1
And get 1920x1080 in tsMuxer.
Selur
14th January 2009, 08:44
Input and output resolution used, in x264, was 1920x1080, dgavcdec shows 1920x1080 as resolution for the x264 output.
Thanks, for the info, will try to figure out if this is related to some x264 setting.
Cu Selur
Selur
14th January 2009, 14:08
okay hunted it down :)
if one does not enabled '--8x8dct' tsmuxer creates a 1084 file, as soon as "--8x8dct' is enabled resolution is fine again. :)
ExSport
14th January 2009, 19:26
Your need to reencode the stream at the proper size.
If you will use great app from Deank, then re-encoding is not necessary to be Blu-ray/Avchd compliant.
LINK (http://forum.doom9.org/showthread.php?t=143744)
deank
14th January 2009, 19:31
:) If your input files are not AVCHD compatible, multiAVCHD won't fix it. As in this case, 704x... video won't show if processed with multiAVCHD.
ExSport
14th January 2009, 19:42
and what's the best way (easier) to add black border to .264 files?i mean ps3 need 1920*1080 or 1280*720 and not cropped resolutions
Yes Deank I reacted on re-encoding always when video was cropped from Blu-Ray source:-)
Now if video stream is compliant but was cropped to not compliant resolution, your app will do the job!:D
Thanks for it.
deank
14th January 2009, 19:47
Sorry... I thought of another thread :)
kurt
15th January 2009, 13:40
is it possible to mux an mkv with a custom AR to ts/m2ts while respecting this AR value? or is AR flagging not possibel for ts in general? (so to say it's a mkv only feature?)
http://netload.in/dateiIZXcXBtmHl/Sample.mkv.htm
I tried it with this sample but the custom AR is not displayed neither with Popcorn Hour nor in mpc+haali splitter.
If it's not possible then maybe a custom SAR value in x264 bitstream would be successful? can I change the SAR after encoding at all?
background: mkv is parsed in software and L4.1 1080p mkvs tend to stutter via USB on Popcorn Hour in fast motion scenes. A remux to ts solves the problem (it's parsed in hardware --> less cpu activity) but the custom AR is gone...
Selur
16th January 2009, 00:29
Is there some info about .meta files in addition to post #21 (http://forum.doom9.org/showpost.php?p=1092138&postcount=21) of this thread?
Or does someone know if it is possible to add and subtitle files (.e.g. .srt, .sup) via command line and specify all the setting available under the 'Subtitles'-tab in the gui?
@kurt: not sure but I think, "h264info alpha" was able to change the par,...
Cu Selur
deank
16th January 2009, 01:07
Yes, you can add subtitles in tsMuxer's meta file, provided you know FPS, video height/width. If subtitles are in MKV you'll need their track number, if external you still need to set movie FPS. Easy way to find more is to start tsMuxer and examine the .meta file it creates (or to read the manual).
kurt
16th January 2009, 11:29
@kurt: not sure but I think, "h264info alpha" was able to change the par,...
thx for the hint, Selur :)
posted in Trahald's thread (http://forum.doom9.org/showthread.php?p=1238041#post1238041)...
Edit: the solution is YAMB (http://forum.doom9.org/showthread.php?p=1238396#post1238396)
--> really useful, for anamporphic encodes too of course ...
jfcarbel
18th January 2009, 14:36
tsMuxer includes an option to cut end credits. A few questions:
About how much space on average can actually be saved doing this for a blu-ray movie?
Just wondering if this is another significant option in reducing BD50 to fit on BD25.
Any risk to audio getting out of sync?
Anyone here done this successfully and what is best way to make sure you are only cutting the credits and not more?
psmaniac
18th January 2009, 20:48
Thanks for the great tool. With it I finally got a HD movie to play right on my PS3.
Though the muxer always thinks the source videos are at 25fps and that I'm wrong to force them to 23.976. that causes desync with subtitles.
also if I cut out a bit from the start the subtitles are not cut and end-up late.
I'll still need to reencode some videos that utilize level 5.1 and some other features that the ps3 doesn't decode, but at least I can rely on this to mux it properly. unlike that mp4box which wants the audio to already be in a gpac iso structure within a mp4 file before i can mux it with the audio. well it plays on the pc no prob, but on the ps3 has no sound without that thing. oh and it doesn't support ac3.
Quatre
20th January 2009, 12:42
since the first post in this thread doesn't update with new versions, where is the best place to check for new versions of this prog and see the changelog? i missed past updates cus they weren't in the first (or last post in the thread) and had to find out after the fact and get a link several pages back from the last page of the thread by the time i found out.
d0ORk
20th January 2009, 19:30
It would be nice to enter a custom filename, as I get this error in TSMuxerGUI:
Can't create output file Q:\00000+00024+00001+00025+00002+00026+00003+00027+00004+00028+00005+00029+00006+00030+00007+00031+00008+00032+00009+00033+00010+00034+00011+00035+00012+00036+00013+00037+00014+00038+00015+00039+00016+00040+00017+00041+00018+00042+00019+00043+00020+00044+00021+00045+50202+00023.track_4113.264
I think the filename is too long
psmaniac
21st January 2009, 00:42
since the first post in this thread doesn't update with new versions, where is the best place to check for new versions of this prog and see the changelog? i missed past updates cus they weren't in the first (or last post in the thread) and had to find out after the fact and get a link several pages back from the last page of the thread by the time i found out.
www.videohelp.com usually has the updates of it's tools not long after their release. though you could have cut this (http://www.smlabs.net/) out of the download link and it would lead you to http://www.smlabs.net/tsmuxer.html
Новая версия tsMuxeR запланирована на начало 2009 года. Свои пожелания и рекомендации отправляйте по адресу (tsmuxer@smartlabs.tv).
I'm not good with Russian but here's a crude translation.
A new version of tsMuxeR is planned for the beginning of 2009. Send your feature requests and suggestions to this address (tsmuxer@smartlabs.tv).
d0ORk isn't that name a bit too unreasonably long? as in "longer than fat32 allows" long, or "WTF are you thinking!" long?
rica
21st January 2009, 00:56
You don't have to be good in Russian; this was the english one:
http://www.smlabs.net/tsmuxer_en.html
d0ORk
21st January 2009, 14:18
Yes psmaniac, thats what i thougt... is it unreasonably long... or WTF are you thinking long or longer than fat32 allows (even while using NTFS) :P
aba101280
21st January 2009, 14:50
Hi,
I have a short question concerning the TSMuxer 1.8.8(b). I tried to mux a vob File to TS Container using the GUI. The Vob File does include an mpeg-2 Video File and also an Mpeg Layer2 Audio File.
The file can be played witzhout problems but the audio is track is broken. You can hear something but very soft and "blurred" (Hope this is the right word). I tried tsremux just to compare and with this tool the Audio Track is fine.
Does anyone here have an idea what this can be
Regards,
Alex
vamsiklak
21st January 2009, 16:06
Hi,
I have a short question concerning the TSMuxer 1.8.8(b). I tried to mux a vob File to TS Container using the GUI. The Vob File does include an mpeg-2 Video File and also an Mpeg Layer2 Audio File.
The file can be played witzhout problems but the audio is track is broken. You can hear something but very soft and "blurred" (Hope this is the right word). I tried tsremux just to compare and with this tool the Audio Track is fine.
Does anyone here have an idea what this can be
Regards,
Alex
i think tsmuxer is not comptable for vob files
i tried itdoesn't cameuot good at all as audio had a problem
i think tsmuxer is strictly for bluray's (i hope not)
let see if anybody had a good luck with it as far as dvd-ts/m2ts/bluray folders
aba101280
21st January 2009, 16:23
Hi,
I tried also with VOB Files that had 2 AC3 tracks and with that it worked perfectly. Only with this Stereo Mpeg-2 Audio it make problems.
I think the TSMuxer can handls Vobs otherwise it would not perfectly work for the AC3 ones. Right?
Regards,
Alex
vamsiklak
21st January 2009, 19:45
Thats leads me to another question
on the bluray
does tsmuxer handles every audio
imean
lpcm
dts-hd
dts
ac3
except tru-hd is this true!!!???
i have blurays audio dts-hd and dts and ac3 in one movie
if i use tsmuxer and eliminate all the tracks except dts-hd doea my bluray backup will playback without any problems
please help !!!???
rica
21st January 2009, 20:40
Thats leads me to another question
on the bluray
does tsmuxer handles every audio
imean
lpcm
dts-hd
dts
ac3
except tru-hd is this true!!!???
i have blurays audio dts-hd and dts and ac3 in one movie
if i use tsmuxer and eliminate all the tracks except dts-hd doea my bluray backup will playback without any problems
please help !!!???
Hope you will find the answers here:
http://forum.doom9.org/showthread.php?t=141125
_ _ _ _ _
espinha
21st January 2009, 23:32
Matroska parse error: Read error at pos 5947
I try to create bluray disc from my x264 HOUSE episodes and gives that error in the beginning , what may be the cause?
jamos
22nd January 2009, 02:36
Bug: True hd still has some issues with the latest version as far as muxing into BD format.
Edit: fixed by using TSRemux to extract raw audio streams instead of TSmuxer. So if you having issues with Dolby-HD not working with a bluray remux in TSmuxer then use TSremux to extract your audio stream.
jamos
22nd January 2009, 02:51
Thats leads me to another question
on the bluray
does tsmuxer handles every audio
imean
lpcm
dts-hd
dts
ac3
except tru-hd is this true!!!???
i have blurays audio dts-hd and dts and ac3 in one movie
if i use tsmuxer and eliminate all the tracks except dts-hd doea my bluray backup will playback without any problems
please help !!!???
It should if you burn it correctly and your bd player supports dts-hd.
vamsiklak
22nd January 2009, 14:45
Thankyou
jamos
Just in case: iam using Tsmuxer and keep the main movie and selecable audio (dts-hd or lpcm)
and output it to bd-structure
and create iso image and burn it by using imgburn
jamos
22nd January 2009, 16:21
Thankyou
jamos
Just in case: iam using Tsmuxer and keep the main movie and selecable audio (dts-hd or lpcm)
and output it to bd-structure
and create iso image and burn it by using imgburn
actually it is not fixed in standalone players still no audio with true-hd. :confused:
spida_singh
22nd January 2009, 16:40
Hope you will find the answers here:
http://forum.doom9.org/showthread.php?t=141125
_ _ _ _ _
Just had a look at the post, it states to get truehd working correctly, you can mux with tsmuxer, but, you will have to remux again with tsremux to fix bug. Might be better off muxing to m2ts only with tsmuxer, and then remux to blu ray output using tsremux.:)
jamos
22nd January 2009, 17:40
Just had a look at the post, it states to get truehd working correctly, you can mux with tsmuxer, but, you will have to remux again with tsremux to fix bug. Might be better off muxing to m2ts only with tsmuxer, and then remux to blu ray output using tsremux.:)
tried that and got stuttering audio output from tsremux.
rica
22nd January 2009, 20:01
Jamos, you have to use eac3to for demuxing.
And try again.
If the problem still exists, convert THD to flac with eac3to.
jamos
22nd January 2009, 22:13
Jamos, you have to use eac3to for demuxing.
And try again.
If the problem still exists, convert THD to flac with eac3to.
I got it to work by converting truehd to lpm then importing it to tsmuxer but that increases the size so it no longer fits to a dvd-9. i will try demuxing using eac3 but I think the issue is remuxing using tsmuxer which i must do to create the bd structure. tsREMUX doesnt do well muxing to bd.
rica
22nd January 2009, 22:56
Yes, TSMuxer increases the final file lenght approx. 20% after you put LPCM into a BD container.
But it is not an excuse of not squeezing it into a DVD9 since the original movie is min. 25GB.
So finally you have to re-transcode the video to h264 with MeGui considering that overhead.
73ChargerFan
22nd January 2009, 22:59
Or...
Making a dts track from lpcm using eac3to & surecode will take 20 minutes, and would likely fit onto a dvd9 with the video you've already created. IME, I can't hear the difference between dts 1536 & lossless, but I hate ac3/dd 640.
Losing a few bits in audio sounds better than in video.
jamos
22nd January 2009, 23:23
Yes, TSMuxer increases the final file lenght approx. 20% after you put LPCM into a BD container.
But it is not an excuse of not squeezing it into a DVD9 since the original movie is min. 25GB.
So finally you have to re-transcode the video to h264 with MeGui considering that overhead.
Aye but Ive already recoded video and do not want to lessen my video quality bitrate more for a small audio quality increase (am converting to 720p). its not a big deal for me to use just a regular ac3 track. This is just a bug that TSmuxer developers need to be aware of.
rica
22nd January 2009, 23:33
Aye but Ive already recoded video and do not want to lessen my video quality bitrate more for a small audio quality increase. its not a big deal for me to use just a regular ac3 track. This is just a bug that TSmuxer developers need to be aware of.
OK, good choice to select dts or ac3. (ac3- after removal of dialog normalisation looks better :) )
But if you record to an HDD, the best choice would be flac+mkv.
Extract video to mkv and convert THD/DTS-MA to flac with eac3to and remux them to mkv container with MkvMergeGui.
umaximus
23rd January 2009, 11:05
I have a question regarding TrueHD tracks.
I have all my blu-ray collection remuxed into mkv & dts with eac3to.
I still have all the original audio streams (pcm, dtshdma, truehd) backed up and now when i got my new receiver that can handle dtshd & truehd, i would like to remux my mkvs into ts and add truehd to them. The problem is that tsmuxer is causing problems and damage truehd streams. TsRemuxer can only handle original m2ts with truehd already in them, so i cant add it.
After reading alot about 'bug' tsmuxer have, is it possible to first use tsmuxer and remux my mkvs + adding truehd streams into it & then running them again via tsRemuxer? Will this iron out the potential stuttering in truehd caused by tsmuxer? Is there any other way to do it?
When will mkvmerge support truhd?
Quatre
23rd January 2009, 12:22
www.videohelp.com usually has the updates of it's tools not long after their release. though you could have cut this (http://www.smlabs.net/) out of the download link and it would lead you to http://www.smlabs.net/tsmuxer.html
thanks
ricky man
23rd January 2009, 15:47
i have this error problem: H264 bitstream changed: insert pict. timing and buffering period SEI units.
can anyone tell what does that mean and how can i fix this problem or error?
thank you.
laserfan
23rd January 2009, 16:49
i have this error problem: H264 bitstream changed: insert pict. timing and buffering period SEI units.
can anyone tell what does that mean and how can i fix this problem or error?Not an error, nor a problem. That's a normal output message.
gkar
23rd January 2009, 22:19
I have recently ventured into the Blu-ray arena. I have tried a number of methods for extracting the relevant AC3/DTS core audio from the HD streams for muxing into my *.mkv transcodes.
With Close Encounters Of The Third Kind, I used tsMuXeR to author an m2ts file from the playlist for the director's Cut version of the movie. I loaded that file into tsMuXeR, removing unwanted video & subs (easier to say than graphics presentation stream), leaving only the TrueHD & DTS-HD MA streams. I asked tsMuXeR to extract the AC3 & DTS cores.
With Ironman, it only involves one m2ts file. I did the same as above for the TrueHD stream.
I have also tried using the eac3to method to demux & extract.
My question is: with each generated sound file, my Denon AV receiver NEVER activates the DD or DTS light, indicating the audio being played back is actually digital. How can you tell if the audio is genuine ACs or DTS? Thanks.
PS. my Denon is an earlier model that does not handle the HD audio formats but that should be irrelevant for my purposes here.
Nullity
24th January 2009, 03:04
I have a question regarding TrueHD tracks.
I have all my blu-ray collection remuxed into mkv & dts with eac3to.
I still have all the original audio streams (pcm, dtshdma, truehd) backed up and now when i got my new receiver that can handle dtshd & truehd, i would like to remux my mkvs into ts and add truehd to them. The problem is that tsmuxer is causing problems and damage truehd streams. TsRemuxer can only handle original m2ts with truehd already in them, so i cant add it.
After reading alot about 'bug' tsmuxer have, is it possible to first use tsmuxer and remux my mkvs + adding truehd streams into it & then running them again via tsRemuxer? Will this iron out the potential stuttering in truehd caused by tsmuxer? Is there any other way to do it?
When will mkvmerge support truhd?
Not a direct answer to your question, but just so you know, mkv doesn't support TrueHD yet either (the rest of the HD audio stream types work fine though).
gkar
24th January 2009, 07:28
In playing around with the files, I decided to demux each of the separate m2ts files that make up the Director's Cut movie. I tried muxing them using MKVMergeGUI. Guess what, when I played the resulting *.mka audio file my Denon receiver showed the DTS indicator.
Does anyone know why this would be the case? Why would a merged file using Matroska audio format activate the DTS indicator when the extracted DTS file, using tsMuXeR, not activate it???
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.