View Full Version : TsRemux v0.21.2: Transport Stream De/Re-muxer
digitlman
8th November 2007, 19:35
well i actually just got someone to send me version .16 and it processed Stargate just fine. i will try playing it tonight and make sure it worked ok
madshi
8th November 2007, 20:10
I converted an DD+ track from an HD-DVD to DD. Now I don't know how to bring the video-stream and the audio-stream back together. Can TSRemux do that? I can't find out, how to do that. Seems to be not so easy... It would be nice, if someone could give me a hint.
TsRemux doesn't work for that cause it cannot mux new/converted audio tracks. Here's what I'm usually doing:
(1) I'm demuxing the audio tracks and converting them to the format I like.
(2) For VC-1 and MPEG2 movies I'm joining the EVO files with EvoDemux into one big EVO file.
(3) Then I'm remuxing the video track (only the video track) of joined video file to MKV by using Haali's Media Splitter + Haali's Matroska Muxer.
(4) Next I'm rewriting the timestamps of the newly created MKV with mkvtoolnix to 23.976.
(5) Finally I'm muxing the converted audio tracks into the MKV, again by using mkvtoolnix.
Works just fine for me. However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately... :(
honai
8th November 2007, 20:41
However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately...
Just remux to elementary stream (.264) with xport, and import into mkvtoolnix (you have to set the framerate manually), works just fine.
Thunderbolt8
8th November 2007, 20:55
However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately... :(as honai already said, just demux the video stream with evodemux or xport. its actually even easier as for VC-1 streams, because you dont have(and cant?) do the additional step with gdsmux in between, you can put the raw stream into mkvmerge directly.
dmz01
8th November 2007, 21:10
Hi, first off i want to say thanks for writng such a great program. the ability to stream streams and extras from BR movies is a tremendous diskspace saving feature! All has gone well for me until i ran into Stargate. there seems to be some sort of possible bug in the program, when converting to blruay disk format while leaving only the mpeg2 video and dts-hd audio track it chugs along fine until about 57 minutes is left in the movie and then it slows to a crawl. i have left it running overnight a couple of times. it eventually gets a memory error or something and aborts. i tried moving it to another computer that is faster and has more memory and after 24 hours got it to make it down to only 36mins left before it crashed. any chance for a bugfix? or maybe i could try to find an older version that might not have that same result?
thanks
Did you try disabling async I/O?
hgmeier
9th November 2007, 08:05
TsRemux doesn't work for that cause it cannot mux new/converted audio tracks. Here's what I'm usually doing:
(1) I'm demuxing the audio tracks and converting them to the format I like.
(2) For VC-1 and MPEG2 movies I'm joining the EVO files with EvoDemux into one big EVO file.
(3) Then I'm remuxing the video track (only the video track) of joined video file to MKV by using Haali's Media Splitter + Haali's Matroska Muxer.
(4) Next I'm rewriting the timestamps of the newly created MKV with mkvtoolnix to 23.976.
(5) Finally I'm muxing the converted audio tracks into the MKV, again by using mkvtoolnix.
Works just fine for me. However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately... :(
Okay, but at the end I get a mkv that I can't use for a bluray disc. TSRemux doesn't like the mkv for some reason. Is there a way to generate a m2ts that I can use for the generation of a bluray structure with TSRemux?
Thanks,
Chris
madshi
9th November 2007, 09:40
Okay, but at the end I get a mkv that I can't use for a bluray disc.
Sorry, can't help you there. Wasn't aware that you want to end up with a Blu-Ray disc.
hgmeier
9th November 2007, 19:19
Yes, I wanted to end up with a bluray disc. I didn't want to buy an additional HD-DVD Player only for the few discs that are available exclusively on HD-DVD. So I thought that there should be somehow a way to convert the discs for a Bluray-Player, in my case a PS3. But obviously this is not possible and I just can hope that those movies will be released on BD one day.
Chris
Pyth0n
11th November 2007, 04:47
PS3 now can Playback 5.1 from XMB since Firmware 2.0.
Tested with a VOB file I extracted from my pink floyd DVD.
Remuxing a MKV movie with AC3 5.1 to test.
Would like to have some AAC 5.1 to test. And other audio formats like DTS.
tyee
11th November 2007, 09:23
hgmeier
Yes you can convert HD DVD to Bluray PS3!
Read This -- http://www.hardforum.com/showthread.php?t=1234100
hollydoc
11th November 2007, 10:50
PS3 now can Playback 5.1 from XMB since Firmware 2.0.
Tested with a VOB file I extracted from my pink floyd DVD.
Remuxing a MKV movie with AC3 5.1 to test.
Would like to have some AAC 5.1 to test. And other audio formats like DTS.
But 1080/24P is not possible frm XBM? Anyone has test this?
Hollydoc
hollydoc
11th November 2007, 11:49
hgmeier
Yes you can convert HD DVD to Bluray PS3!
Read This -- http://www.hardforum.com/showthread.php?t=1234100
It is possible with HD-DVD with VC-1 codec. AVC from HD-DVD Scenarist don`t like.
Another Problem is the postautoring flag in videostreams. All Blurays from HD-DVD the PS3 will play in 1080i 60Hz with 2:3 pulldown.
Hollydoc
hgmeier
11th November 2007, 18:02
hgmeier
Yes you can convert HD DVD to Bluray PS3!
Read This -- http://www.hardforum.com/showthread.php?t=1234100
... thnaks for your reply. The problem is that I need Sonic Scenarist for that procedure. This progream is really quite expensive, so I have to find an alternative program.
Chris
tyee
11th November 2007, 20:18
@hollydoc
I just tried using tsremux for the first time following, I believe, your procedure here
http://www.hdtvtotal.com/module-pagesetter-viewpub-tid-1-pid-1051.html
I was backing up a bluray with an AVC coded movie. After getting it off the disk onto the HDD, the main feature plays fine in MPC, VLC starts and shows the first few frames then crashes, MPlayer plays fine.
I put it through tsremux after selecting the AVC video and DD audio and when I try to play it I only get the following --
1. VLC crashes
2. MPC plays only the audio (the MPC window stays small)
3. MPlayer plays good with ffmpeg H.264 codec (information window)
Regarding MPC, looks like tsremux is doing something to the stream that MPC doesn't like, Maybe VLC can't play these yet, and MPlayer seems ok.
Any hints as to what you think is happening. I think it might have to do with the movie being AVC because I tried some other MPEG encoded .m2ts streams from the movie and put them thru tsremux and they play fine.
I do have the CoreAVC codec installed, but maybe it's not setup correct?? Not sure what to do next.
Update -- I just copied the split files (4GB each, due to fat32 limits of PS3) onto an external 2.5" laptop drive and connected to the PS3 via a USB cable and it plays just fine! (I found a fat32 formatter that will format any size drive as fat32 so you don't have to break it into 32GB partitions like MS wants you to!! My laptop drive is 250GB! I do notice that a few scanlines are cutoff at the bottom of the picture.
Now the secret is how to get all of the 4GB files to play one after the other without having to start them playing manually. Anyone have any tips?
Inventive Software
12th November 2007, 05:07
Playlist file?!
tyee
12th November 2007, 05:59
There is a feature called "Play from beginning" which I tried but it didn't work to play the second file,etc.
I'm new to the PS3 so I'll try the playlist too, thanks.
digitlman
12th November 2007, 21:38
Did you try disabling async I/O?
Yes i always disable async i/o as i had problems the first time i tried it with it on.
Someone sent me version .16 and it worked fine. So apparently it is a bug that cropped up in .18 (or .17?) i think it is some sort of memory leak. when i ran taskmanager my cpu usage is maxed at 100% and memory usage is jumping up and down about 200MB a chunk every few seconds. the program is actually working, it just takes forever, maybe two minutes of video processed in an hour or so (wild guess) but it could never finish, it eventually gets a memory error or something and crashes.
Thunderbolt8
19th November 2007, 01:34
remuxing of seamless branching blue rays causes trouble. I tried it with ratatouille, but throughout the movie the audio goes out of sync (and mpc crashes sometimes).
someone else who did this already succesfully sent me a picture of his tsremux settings (which were basically only lpcm + avc stream selected, use async i/o checkmarked and m2ts packets) and what was strange was that in his case the field video length showed the correct length of ~1:50:31, while in my case it was only 8 mins + rest! how can this be, we both joined the .m2ts files together the same way, using copy /b :S
when I load the with tsremux remuxed .m2ts file again in tsremux ( :D ) then it displays a length of only 1:50:29+rest, that means compared to the real video length I lost 2 seconds throught this process ? :S
woah!
21st November 2007, 06:34
i got ratatouille done ok, but had to run the muxed m2ts through behappy to a wav file using directshow first to get a correct audio length. then i used encWAVtoAC3 to get a 448kb ac3 file.
i used TSSplitter v1.0 and sorted out the order in it and muxed to 1 m2ts file first.
Thunderbolt8
21st November 2007, 19:36
I did copy /b and then ran tsremux over that .m2ts. when I do an encode from it its fine, but when just further re-/demuxing then its not.
the only thing which comes close is when I put that .m2ts file then in gdsmux, the resulting .mkv then has the correct length (1:50:32) and at least it seems to be in sync. but I cannot really test this, because Im unable to skip in that .mkv file from gdsmux.
when I put this .mkv then im mkvermge it becomes completely unreadable afterwards, at opening it will just load forever and not stop. seems to be a haali splitter problem then, after that also all explorer status bar info of all .mkv files is gone then until the next restart of windows.
woah!, can you please tell whats your exact result is (outcome=.mt2s? with lpcm only or with all streams? etc.) and what exactly you did do with which program versions? ill try to do the same then. thanks.
btw. I used also mencoder to test demuxing, and it gave me 30 frames more for the demuxed video compared to the correct number of frames megui shows for the encode. since there are 31 parts to join=30 joining fuses, this is not a coincidence, is it? do most demuxer add a duplicate frame where the pieces are joined together. will test this also for xport, unless I manage to get it running elsehow.
tyee
22nd November 2007, 05:59
I just found out that VC1 format is not supported as a file format so tsremuxing to .m2ts does not work. It does for AVC. Since BD players do support VC1 on a disc can I use tsremux and select the Blu-ray output option, then copy the BD structure created onto a USB Hard drive and have it play??
Thunderbolt8
22nd November 2007, 06:23
ratatouille is AVC. nevertheless, outside .m2ts I guess nothing but an encode works, as some or every demuxer seems to add additional frames (e.g. mencoder adds 30 frames; there are 31 joined files = 30 fuses ->coincidence?) and this causes trouble.
when demuxing the avc stream and joining with mkvmerge, then you'll get a delay. nothing I can do against it. every attempt I had so far involving xport or mencoder demuxing and remuxing with mkvmerge = delay & random mpc crashes on the file. the only thing I can do is gdsmux with avc and pcm. but then you are not able to jump backwards and forward in the video stream, as gdsmux is still buggy regarding avc. and a further mux of this .mkv with mkvmerge causes endless processing on the file without any result (well the result is that you have lose the infobar for .mkv files in explorer until the restart of windows).
bb1b
23rd November 2007, 02:50
Hi all,
I'm just trying to get a feel on the success rate of getting some movies to work on the PS3.
For my part, I got one movie to work properly, but for some others I only get the video, or nothing at all. For the moment, I'm trying to read the .m2ts file directly for a USB disk on my PS3.
Hope to get some feedbacks for you all,
Thanks,
bb1b
zakia
25th November 2007, 04:22
Hello!
I am wondering if the BluRay output from TSRemux supports subtitle playback (if subtitle streams are present in the .M2TS input) when burned as an AVCHD disc?
The reason for asking is that I have so far achieved the following:
* Split main movie .m2ts file from BluRay disc into ~4.3 GB chunks (dividable by 192) using HDBDSPlitGUI
* Run each .m2ts segment through TSRemux 0.18 selecting BluRay output and keeping all streams (including audio and subtitle streams)
* Burn output from TSRemux 0.18 as UDF 2.50 on DVD+R disc.
* Successfully playback DVD+R disc in PS3 with 5.1 audio
* Audio stream/subtitle stream selection is not available when playing the AVCHD disc burnt from the TSRemux output.
Is this as expected with the current version of TSRemux (0.18) ? Or am I doing something wrong?
If this kind of functionality is not currently implemented in TSRemux, are there any plans to extend the functionality of TSRemux to produce a more "advanced" BluRay-output, enabling audio/subtitle stream playback/selection when burned as AVCHD disc?
Same problem here, Subtitle streams are not available on PS3, even when burn on BD-RE disc. Any workaround?
liquidator87
28th November 2007, 12:49
Does TsRemux support command line?
Heimwerker
29th November 2007, 18:29
@dmz01,
first: Thank you for your great tool tsremux.
Since a few days I use ClarkeTech 5000 HD to record HD-files.
With files from "ProSieben HD" I have no problems to remux this files to ts.
But I have problems with recorded trp-files from AnixeHD. After remuxing sometimes the pictures freezes some seconds and video and audio will not be synchron.
I have uploaded two files about 1 minute (ProSieben HD -> OK, AnixeHD -> NOT OK):
http://mc.1und1.de/mc/gPpgpFoRtP6RbcgvcjGApPu3vW8Hh6
Would you please check, where is the difference between these files, perhaps it is possible to update your tsremux tool, that it runs with AnixeHD-files, too.
Thank you very much.
radius
5th December 2007, 00:54
Hey I'm trying to mux ratatouille too,
I actually got it playing as a mp4 file (encoded h264 + encoded aac = 3.95GB), what I'd like to try is to get a bigger m2ts with the encoded video + ac3 to play, I've build a mkv with mkvmerge then converted it to m2ts with VLC but it's 4.17GB so it's a no go with fat32 (ps3 won't accept ntfs external hdd right ?) and I don't know how to transfer it to the ps3 hd (if it's even possible), I may split it but tsremux gives me errors and won't split it, tsspliter actually only splits as any binary file (only the 1rst file has a valid m2ts header) and hbdsplit says he cannot detect the file type, can you tell what you managed to do with m2ts, anything playable on the ps3 ?
Thanks
I did copy /b and then ran tsremux over that .m2ts. when I do an encode from it its fine, but when just further re-/demuxing then its not.
the only thing which comes close is when I put that .m2ts file then in gdsmux, the resulting .mkv then has the correct length (1:50:32) and at least it seems to be in sync. but I cannot really test this, because Im unable to skip in that .mkv file from gdsmux.
when I put this .mkv then im mkvermge it becomes completely unreadable afterwards, at opening it will just load forever and not stop. seems to be a haali splitter problem then, after that also all explorer status bar info of all .mkv files is gone then until the next restart of windows.
woah!, can you please tell whats your exact result is (outcome=.mt2s? with lpcm only or with all streams? etc.) and what exactly you did do with which program versions? ill try to do the same then. thanks.
btw. I used also mencoder to test demuxing, and it gave me 30 frames more for the demuxed video compared to the correct number of frames megui shows for the encode. since there are 31 parts to join=30 joining fuses, this is not a coincidence, is it? do most demuxer add a duplicate frame where the pieces are joined together. will test this also for xport, unless I manage to get it running elsehow.
Thunderbolt8
5th December 2007, 21:16
sorry, but I dont really have a clue about encoding and .m2ts container, all I (want to) do is remuxing the original stream in .mkv container. cant really help you there :S
colinhunt
5th December 2007, 21:59
Has the development of this very nice tool stopped altogether?
Remuxing off-the-air MPEG-2 HD transport streams to Blu-ray and burning the data on a BD-RE disc causes some serious issues when the disc is played in a PS3. Fast forwarding and chapter skipping take *forever*, like several minutes, until the movie continues playback.
kabanero
6th December 2007, 21:30
Has the development of this very nice tool stopped altogether?
That would be a pity.
Remuxing off-the-air MPEG-2 HD transport streams to Blu-ray and burning the data on a BD-RE disc causes some serious issues when the disc is played in a PS3. Fast forwarding and chapter skipping take *forever*, like several minutes, until the movie continues playback.
I don't have this problem with my PS3. But my .TS files are from cable, and I run them through HDTVtoMPEG2 and MPEG2Repair before importing into TSRemux.
Also some folks at AVS thread reported that they had similar problems with some brands of BD-RE. It also may be not a good burn.
What burner, disks, and burning program do you use?
colinhunt
6th December 2007, 22:18
I don't have this problem with my PS3. But my .TS files are from cable, and I run them through HDTVtoMPEG2 and MPEG2Repair before importing into TSRemux.
Actually, I noticed that the movie I was trying to make into a Blu-ray was from a D-Theater tape. I ran it through HDTVtoMPEG2 first to remove DTS audio which caused problems with TSRemux. The resulting .ts plays fine on the PC.
Also some folks at AVS thread reported that they had similar problems with some brands of BD-RE. It also may be not a good burn. What burner, disks, and burning program do you use?
Panasonic LF-MB121 burner, image created with the latest Nero, UDF2.5 file system, burned with the latest ImgBurn (only app I have that burns at 2x), using Verbatim and Sony BD-RE media.
I'm fairly certain the burn's not a problem. Not so sure about how TSRemux responds to D-Theater content.
arrgh
8th December 2007, 13:40
Hi,
TSRemux allows to remove unneeded streams. Unfortunately it also disables all remaining streams, but the first you left, if you are remuxing the file into a bluray structure. I believe this was already described in post #385 by neoteo.
With BDedit you can see in the playlist only the first of the remaining audio streams (maybe the same problem is present for subtitles. Didn’t check). That’s very probably the reason, why PDVD doesn’t allow to switch to an other stream.
The Clipinfo lists all streams. But they are all marked as English. (that’s not so important. Can be maybe manually changed with a hex-editor). The m2ts file has all those streams as can be checked with haali splitter.
I tried to edit the playlist file with a hex-editor and inserted the corresponding tag of the wanted stream in the right position (copied from the original playlist file). I copied the modified file also to the backup directory. It worked insofar as now BDedit really showed the second stream correctly. But PDVD doesn’t play now at all (hangs). So obviously also other things have to be changed, which I do not know.
Here also BDedit is no help. Or at least I do not know, how to use it in this context.
Will there be an update where this bug is fixed? Or, is there a comprehensive method to patch the files so that the bluray structure runs correctly?
thanks
Schmendrick
8th December 2007, 20:29
But I have problems with recorded trp-files from AnixeHD. After remuxing sometimes the pictures freezes some seconds and video and audio will not be synchron.
Hi Heimwerker,
after a remux with tsremux Version 0.18 of your Anixe-sample I was able to reproduce your problems. As at the beginning there are a few seconds of P- and B-Frames and no associated I-Frame at the beginning some large block artefacts are visible. If you cut these few seconds just ahead of the first I-frame there is a smooth playback, with a PowerDVD-Version with AVC/H.264-support.
Schmendrick
P.S. I use the same Clarke-Tech HD 5000 receiver.
ByeByeBluRay
10th December 2007, 00:33
I often find that the only audio tracks on Blu-Ray movies are True HD or lossless, but although PowerDVD and Nero8 can play the original m2ts, if I use TSRemux to remove all the audio apart from the one stream, they no longer play any audio (and no audio track is listed on-screen when playing).
Anyone else getting this? Is there a trick to fixing it so PowerDVD and Nero can play the audio?
Cheers
BBBR
Mitchjs
10th December 2007, 04:22
byeByeBluRay,
YEP same problem, when i try to say remux with just the video track and the True HD track, the new TS plays the video fine, no audio...
oddly Reopening the new TS in to tsremux says there still is a trueHD track
so i dont know if its there and powerdvd wont play it
or a TSRemux issue
I Bet its there, just that nothing will play True HD in a .ts
i dont think Haali's recognises it
mitch
ByeByeBluRay
12th December 2007, 11:19
I Bet its there, just that nothing will play True HD in a .ts
i dont think Haali's recognises it
mitch
I'm thinking I might want to rebuild these files anyway. The size of Blu-Ray movies is just getting silly. 43Gb for Spiderman 3, and that was AVC, not Mpeg2 like the other huge movies I've seen.
If I could just convert the audio into something Nero Recode could read...
BBBR
xxx666yyy777
12th December 2007, 16:27
Does anyone know, how to identify the audio delay in an .ts/.m2ts file?
Thx
rickardk
12th December 2007, 22:19
How can I join two m2ts files?
I'm trying ro remux Chicago into a ts.
used copy /b 0053.m2ts+0052.m2ts chicago.m2ts
then I used TsRemux to remove everything but video and lpcm.
The problem is that TsRemux thinks that the chicago.m2ts file is just 55 minutes. Same thing when I try to playback the chicago.m2ts file with media player (haali).
Must be some timestamp thats not correct.
Also tried tssplitter to join the two m2ts files. And even tried to first remux the files into two separate ts files and then tried to join them with copy and tssplitter. Same result...
Any ideas?
LOGiC
13th December 2007, 09:17
@all,
I would like to ask something and I hope I can ask it. Don't know any other help now. First of all, TSRemux is a very powerful and great tool. Thanks for making this possible. My problem is as follows :
I've noticed that m2ts runs very smooth on my pc using PowerDVD and Media Player Classic. I normally have problems muxing H264 into mkv. What I wanted: In the first try, I muxed a H264 elementary stream together with an untouched DTS-HD stream into ts. after that I remuxed it to m2ts using RSRemux and checking both boxes (Video and Audio). After it was finished, video played smooth, but without sound. Need to say, if I try playing the muxed .ts with Media Player Classic, DTS-HD track plays just fine. I tried the same again yesterday with another H264 elementary stream and a normal DTS-track. I muxed it again into transport stream. I noticed, when trying to open the .ts file with TSRemux it says DTS-HD for the audio, but it's just a normal 5.1 DTS from standard-def. DVD. I remuxed it into m2ts and once again, no more sound.
Am I doing anything wrong or isn't it that easy to remux normal ts to m2ts ?
I really would be thankfor for some hints. Thank you very much in advance.
Best regards,
Andy.
sl1982
13th December 2007, 18:43
Hi guys. Im working on converting a H264 HD-DVD to m2ts so I can play it on my ps3. I tried a straight remux with tsremux but the file stutters on the ps3. I figured out that it is a problem with the ac3 in the file so i re-encoded it. I muxed back into a ts with xmuxer. Now my problem is that the audio happens like half a second before it should. Anyone have any ideas/suggestions? Thanks
Heimwerker
13th December 2007, 19:03
Hi Heimwerker,
after a remux with tsremux Version 0.18 of your Anixe-sample I was able to reproduce your problems. As at the beginning there are a few seconds of P- and B-Frames and no associated I-Frame at the beginning some large block artefacts are visible. If you cut these few seconds just ahead of the first I-frame there is a smooth playback, with a PowerDVD-Version with AVC/H.264-support.
Schmendrick
P.S. I use the same Clarke-Tech HD 5000 receiver.
@Schnendrick,
thank you for your idea! But are video and audio synchron?
Perhaps I didn't find the right cut position. How I can find the first i-frame? Or did you cut after the first moving picture (about 0.06)? I did it at this position, but video and audio are not synchron.
tyee
13th December 2007, 19:45
@sl1982
Is that your only problem, the sync between audio/video. So it plays smooth.
I tried this a couple of days ago with a VC1 HD-DVD without any audio at all and it played in the PS3 but like in slow motion. Don't know why other than HD-DVD is 29.97fps, and Blu-ray is 23.976fps. Any clues??
I thought I read somewhere that Xmuxer Pro could add a delay. Take a look in more detail at the program.
omf
17th December 2007, 07:50
I've seen several people ask this same question, and so far no one has replied, so I thought I'd give it another shot:
Does anyone know what conditions cause TSREMUX to fail at the very end fo creating Blu-ray output? Here's a screenshot of what that looks like:
http://justified.com/misc/tsremux.gif
http://justified.com/misc/tsremux-err.gif
Notice that the main window indicates the process is just about complete, so something is happening when the files are getting finished-up.
It seems like dmz01 has been away the last few weeks. I don't suppose he provided the source code anywhere?
Kumo
18th December 2007, 11:01
i'm trying to demux tracks from a ts file(all of them remuxed from a bluray).the name of the file suggest that one of the tracks should be a lpcm multichannel audio, but tsremux doesn't recognise it in the streams list(just others streams are showed). if i try to demux to elementary streams all the tracks it recognise, the resulting files are all good , but some gigas are missing to reach the size of original ts(about 5gb, i belive it's suppose to be the lpcm track).anyone knows if it is a common problem with tsremux?there is any tool to analyse the ts file to find out wich tracks it includes?any tool to eventually demux the lpcm track?thank you
drmpeg
18th December 2007, 15:04
i'm trying to demux tracks from a ts file(all of them remuxed from a bluray).the name of the file suggest that one of the tracks should be a lpcm multichannel audio, but tsremux doesn't recognise it in the streams list(just others streams are showed). if i try to demux to elementary streams all the tracks it recognise, the resulting files are all good , but some gigas are missing to reach the size of original ts(about 5gb, i belive it's suppose to be the lpcm track).anyone knows if it is a common problem with tsremux?there is any tool to analyse the ts file to find out wich tracks it includes?any tool to eventually demux the lpcm track?thank you
If you're not too averse to command line tools, you can try xport.
http://www.w6rz.net/xport.zip
syntax for Blu-ray or AVCHD (.m2ts) files is:
xport -h sample.m2ts 1 1 1
If you demux the original files direct from the disc (that is, before you use TSRemux on them), you'll see all the active PID's in the ending summary.
C:\xfer>xport -h 00052.m2ts 1 1 1
xport Transport Stream Demuxer 1.00
program = 1, video channel = 1, audio channel = 1
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0xff, 0xfc
Video PID = 4113 <0x1011>, type = 0x1b
ES descriptor for stream type 0x1b = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0x1b, 0x61, 0x3f
Audio PID = 4352 <0x1100>, type = 0x80
ES descriptor for stream type 0x80 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0x80, 0x61, 0xff
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x29, 0x04, 0x00
0 frames before first I-frame
High Profile
Level = 4.1
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 24
LPCM Audio Sample Rate = 48000
First Video PTS = 0x000ffff0
ts rate = unspecified
packets for pid 0 <0x0000> = 19, first = 1, last = 50647
packets for pid 31 <0x001f> = 2, first = 3, last = 28725
packets for pid 256 <0x0100> = 19, first = 2, last = 50648
packets for pid 4097 <0x1001> = 20, first = 4, last = 51222
packets for pid 4113 <0x1011> = 37706, first = 5, last = 52084
packets for pid 4352 <0x1100> = 10679, first = 1742, last = 52082
packets for pid 4353 <0x1101> = 867, first = 1904, last = 52066
packets for pid 4354 <0x1102> = 867, first = 1924, last = 52068
packets for pid 4355 <0x1103> = 867, first = 1951, last = 52070
packets for pid 4356 <0x1104> = 373, first = 2025, last = 51985
packets for pid 4608 <0x1200> = 236, first = 6, last = 8203
packets for pid 4609 <0x1201> = 220, first = 211, last = 8206
packets for pid 4610 <0x1202> = 209, first = 116, last = 8204
coded pictures = 61, video fields = 0
C:\xfer>
This clip has LPCM on PID 0x1100 and AC-3 on PID's 0x1101, 0x1102, 0x1103 and 0x1104. There are also Presentation Graphics Streams (sub-titles) on PID's 0x1200, 0x1201 and 0x1202.
xport is known to work correctly with 20 and 24-bit LPCM.
Ron
Schmendrick
18th December 2007, 17:12
@ Heimwerker: With a Hex-editor you can search for the first occurence of a „Coded slice of an IDR picture“ (Hex: 00 00 00 01 65) then search backwards for Hex "47" followed by "4x" where "x" can have any Hex-single digit value. Usually just a few hundred bytes backwards which is the transportstream start code and then delete everything before this "47".
Sometime, but not always, you can also search for the first occurence of a „H264 Sequenz Parameter Set“ (Hex: 00 00 00 01 67) instead and then cut like mentioned before.
I have just gathered information about AVC/H.264-video-structure by trial and error and only partial reference to standards. So anybody who is more knowledgeable should correct wrong statments, if he or she is so inclined.
Schmendrick
uk_dan2k
18th December 2007, 18:10
hi, im running some ts files through tsremux, and stripping out some audio, and want to combine all ts files when done so i thought of using hdtv2mpeg for that.
questions are which output format works best for hdtv2mpeg to combine all files, m2ts, ts, or blu-ray?
also when right clicking and extracting streams, whats the difference between normal extract and the other extract with pes stream? also what file extensions should these streams be saved as? been using .ac3 for dolby streams.
for the output format im using .ts and saving as .ts, do you do similar for m2ts as saving as .m2ts and blue ray as ?, or do you save all 3 formats as .ts?
still having difficultly using other programs because they cant find the pids for video or audio, and hdtv2mpeg keeps saying it could not find a channel.
matrix40
18th December 2007, 20:25
This is what ive gotten so far, after using Tsremux for the video part i save it with the m2ts extension. I could not get any program to recognize it,(nero, tmpg) or play it for that matter. From anohter thread someone said they used xmuxer pro (elecard). I downloaded the trial and it recognizes the video and plays it. Now im trying to convert it to see what i come up with. Like Uk dan2k i dont understand how to handle the extensions for the audio(handle the audio period)
uk_dan2k
19th December 2007, 02:30
This is what ive gotten so far, after using Tsremux for the video part i save it with the m2ts extension. I could not get any program to recognize it,(nero, tmpg) or play it for that matter. From anohter thread someone said they used xmuxer pro (elecard). I downloaded the trial and it recognizes the video and plays it. Now im trying to convert it to see what i come up with. Like Uk dan2k i dont understand how to handle the extensions for the audio(handle the audio period)
I've made some progress, after remuxing ts streams with tsremux(stripping out foreign languages). I've now got divX convertor to convert the files.
By using a avs script for each ts file, and then merging them all together in divx Convertor (also keeps same screen size 1080 as source ts files).
1/2 way through converting at the momment looks like it will take untill tomorrow.
matrix40
19th December 2007, 09:27
Ok i used elecard converter studio. it took 5 hours to convert. Now the movie i used is around 3 hours long. When i play the movie in nero showtime it says the movie is only 1 hour and 50 minutes long but it plays past that time period so its the whole movie. The quality is great but i have no sound.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.