Log in

View Full Version : smartLabs tsMuxeR: Transport Stream muxer


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 [46] 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85

kurt
15th November 2008, 16:09
bugreport:

when muxing this vc1 mkv file
General
Complete name : D:\Movies\xxx.mkv
Format : Matroska
File size : 15.5 GiB
Duration : 2h 10mn
Overall bit rate : 17.0 Mbps
Encoded date : UTC 2008-11-15 13:26:08
Writing application : mkvmerge v2.4.0 ('Fumbling Towards Ecstasy') built on Nov 3 2008 16:33:12
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
Format : VC-1
Codec ID : WVC1
Codec ID/Hint : Microsoft
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Resolution : bit0
Title : xxx WVC1
Language : English

Audio #1
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 10mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Language : English

Audio #2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 10mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Language : German
to ts this message appear:

http://i37.tinypic.com/farjlx.png

setting fps for video does not solve the problem, for audio streams there is no such option...

workaround: when demuxing the audiotracks (mkvextract) and load them separately in tsmuxer everything is fine...

But: it's not working on popcorn hour. complete stuttering. seems sth. wrong with this vc1 track or the container (muxed from BD to mkv some time)...

Edit: it only works on Popcorn Hour if the vc1 stream is demuxed via graphedt (haali matroska spliter ---> dump), thx to rica who pointed this out.

Rectal Prolapse
16th November 2008, 01:28
Has anyone successful gotten an mpeg2 1080i29.97 video to play in a Blu-ray standalone player using txmuxer to generate a Blu-ray structure? I have not gotten this to work in my Panasonic BD55 player - I get a "this operation not supported" error. :(

It works in PowerDVD 7 and 8 on the PC.

n0mag!c
17th November 2008, 19:28
Has anyone successful gotten an mpeg2 1080i29.97 video to play in a Blu-ray standalone player using txmuxer to generate a Blu-ray structure?
tsMuxer cannot handle 30i MPEG2 video streams properly.
http://forum.doom9.org/showthread.php?p=1187701#post1187701

Rectal Prolapse
17th November 2008, 21:27
Thanks, I saw that post yesterday. :(

Scenarist has no problems.

d0ORk
19th November 2008, 20:06
If the mainmovie is splitted in many files, say 20... it is possible to load the playlist.
Thats ok so far. If I want to demux them, is it better to click m2ts muxing first with all the content or can I demux them with the audio tracks and subtitles I want to have clicking demux?

Greets

odin24
19th November 2008, 23:10
If the mainmovie is splitted in many files, say 20... it is possible to load the playlist.
Thats ok so far. If I want to demux them, is it better to click m2ts muxing first with all the content or can I demux them with the audio tracks and subtitles I want to have clicking demux?

Greets


You can load the MPLS file and demux (no need for m2ts muxing), the results will give you one file for each stream selected.

Be warned, tsMuxeR does not repair gaps/overlaps you might encounter with seamless branching titles. Once muxed back together you might experience sync issues. Eac3to demuxing will fix these issues in most cases, then you can remux using tsMuxeR.

dh2005
21st November 2008, 20:53
Hey guys,

Brand new 'round here. I'm almost inevitably asking something that's been asked before, but wading through 113 pages of posts was a little too intimidating for me...!

I downloaded TS MuxeR this week to repair some .VOBs with fractured timecodes that I've been trying to play back on my PS3 - and overall, I'm very pleased with it. It made about a dozen movies that I'd all-but given up on playable again, and all within the space of a couple of hours. Awesome...

... but I have one very minor grumble - all of the repaired .VOBs (which are now M2TS files) have at least one instance of video break-up - half a second of 'blockiness', like you'd expect if you were watching a scratched DVD or something.

It's not a big deal, but if there's a setting I could change to prevent this, I'd go from being "very pleased" to "absolutely delighted"!

For a start, am I right to be converting them to M2TS files? Simple TS files can't be read by the PS3, so I know that's not the correct option, but what about the others...?

Any replies would be greatly appreciated.

Thanks,


DH.

dh2005
21st November 2008, 21:01
odin24 - funny you should mention sync issues, because I encountered one of the those yesterday using TSMuxeR.

The Angels In America mini-series (which is excellent, by the way...) is issued on two DVDs - three episodes per disc. These three episodes are NOT broken up into separate titles on their disc, however - the three episodes are all held within Title 1, and they run successively.

When I rip the whole of each Title 1 (which are each about three hours long), they're around 6.4GB, which is too big for the PS3's 4GB file limit. So I used TSMuxeR to cut the two 6.4GB files into six 2.xxGB files, so that each episode was contained within a separate file.

I was so, so proud of myself...! Until I noticed that the audio sync was slipping further and further as the episodes went along. To the point at which the audio was just laughibly wrong - it looked like a dodgy '70s Hong Kong martials arts flick.

Is there anything I can do to prevent this?

Sorry to hijacking the thread with my own personal crises!

Thanks again,


DH.

odin24
21st November 2008, 21:27
odin24 - funny you should mention sync issues, because I encountered one of the those yesterday using TSMuxeR.

The Angels In America mini-series (which is excellent, by the way...) is issued on two DVDs - three episodes per disc. These three episodes are NOT broken up into separate titles on their disc, however - the three episodes are all held within Title 1, and they run successively.

When I rip the whole of each Title 1 (which are each about three hours long), they're around 6.4GB, which is too big for the PS3's 4GB file limit. So I used TSMuxeR to cut the two 6.4GB files into six 2.xxGB files, so that each episode was contained within a separate file.

I was so, so proud of myself...! Until I noticed that the audio sync was slipping further and further as the episodes went along. To the point at which the audio was just laughibly wrong - it looked like a dodgy '70s Hong Kong martials arts flick.

Is there anything I can do to prevent this?

Sorry to hijacking the thread with my own personal crises!

Thanks again,


DH.

The PS3 is not limited to 4GB file sizes with m2ts... it's unlimited, I've had files as big as 40GB on my PS3. The tricky part is transfering them to the PS3, you can do this if your PS3 is hooked up to your home network, just copy them over via a media server. I use Cyberlink.

This might fix your sync issues. If not, and if this option is available in tsMuxeR, try to remove the pulldown before muxing to m2ts. Load your VOB file, in the "Tracks:" section in the first tab, highlight the video stream, if the option to "Remove Pulldown" is available make sure it is checked, then mux to m2ts.

dh2005
22nd November 2008, 10:21
Sure - I didn't mean that the PS3 itself is limited, but I'm running these files off a FAT32-formatted external HDD.

Thanks for your thoughts on removing the pulldown - I have no idea what this means, so I've just left it alone! Is that a good thing to do with any .VOB? Might it also resolve the blocking problem I mentioned in my previous post?

Much appreciated,


DH.


EDIT: Just out of interest, I had a play about with the "demux" option, to see what it would do. I see that it's created individual data streams from the .VOB I put into it. I presume therefore that "remuxing" is doing the opposite... is there any way of "muxing" (if I'm using that verb correctly...!) subtitle tracks into a .VOB? For foreign movies, and the like.

odin24
22nd November 2008, 14:50
Sure - I didn't mean that the PS3 itself is limited, but I'm running these files off a FAT32-formatted external HDD.

Thanks for your thoughts on removing the pulldown - I have no idea what this means, so I've just left it alone! Is that a good thing to do with any .VOB? Might it also resolve the blocking problem I mentioned in my previous post?

Much appreciated,


DH.


EDIT: Just out of interest, I had a play about with the "demux" option, to see what it would do. I see that it's created individual data streams from the .VOB I put into it. I presume therefore that "remuxing" is doing the opposite... is there any way of "muxing" (if I'm using that verb correctly...!) subtitle tracks into a .VOB? For foreign movies, and the like.

Pulldown is a technical process that allows film displayed at 23.976 fps (frames per second) to be properly played on NTSC TVs that have a refresh rate of 60Hz and require 29.97 fps. Removing the pulldown would bring it back to 23.976 fps, the way it was intended to be viewed.

In regards to demuxing/(re)muxing, you get the idea. As for subtitles, it all depends on how you wish to view the movie. You could copy the DVD 1:1 preserving the original subs. Or if you want a rip you could encode to DivX and add the subs (as .srt) that way, once you encode to DivX use AVIaddXSubs (http://www.calcitapp.com/AVIAddXSubs.php) to mux the subs and the DivX file. I believe this format will play on the PS3, I have never tried this though. Another way would be to mux to BD using tsMuxeR and add .srt subs that way. Unfortunately no subs in just plain old m2ts.

To get your subtitles from the DVD to file format you need to use an OCR program, like SubRip (http://www.divx-digest.com/software/subrip.html), a semi automatic text recognizing application to rip DVD subs (that are normally stored in picture format on a DVD) to text format to be used with other muxing apps.

The only concern with OCR apps is the app scans the images on the DVD and you you tell it what they are by typing them with your keyboard. You must be careful, it's way too easy to make a typo and you need to make sure the proper fonts are used as well, italics and stuff like that.

dh2005
22nd November 2008, 19:37
Many thanks for that. All this advice is very helpful.

I'll be back if (... more like when...!) I have more questions.


EDIT: Actually, I have one already...

... should I remove the pulldown from all the NTSC discs that I have? I live in Britain, so our TV standard is PAL, although my TV can display both PAL and NTSC - could it still be causing me some problems? I ask this because, typically, my Region 1 (NTSC) discs give me more trouble than the PAL ones.

odin24
22nd November 2008, 20:26
Many thanks for that. All this advice is very helpful.

I'll be back if (... more like when...!) I have more questions.


EDIT: Actually, I have one already...

... should I remove the pulldown from all the NTSC discs that I have? I live in Britain, so our TV standard is PAL, although my TV can display both PAL and NTSC - could it still be causing me some problems? I ask this because, typically, my Region 1 (NTSC) discs give me more trouble than the PAL ones.


If you remux your DVDs that are NTSC to m2ts they should play fine through your PS3, (I have played PAL encoded files on my NTSC PS3), however as a DVD they will most likely have issues caused by the PS3 even though your TV can display NTSC.

When processing you should remove the pulldown, this way it will much closer to the PAL standard.

dh2005
23rd November 2008, 22:06
Thanks for all of this.

There's really only one remaining problem that I have - I've not raised it already because I've asked around on three or four other forums, but no-one's had a clue. I've rather begun to lose faith that there's an answer...

Some of my movie .VOBs (around 25% of them, actually), have lost their anamorphism. That is to say, the DVDs themselves are anamorphic, so I get nice crisp images when I use the discs, but the .VOBs need to be zoomed, so I lose definition. Which sucks a little... but only a little. I realise it's not a big deal, but maybe you know what can be done about this.

To bring you up to speed with what I've tried so far; I downloaded DVDPatcher after someone on another forum advised that the DVD was probably authored wrongly, and that all I needed to do was change the aspect ratio on the file header from 4:3 to 16:9... which sounded like an awesome idea, but ultimately didn't work because the .VOBs proved to already have headers set to 16:9.

But what keeps me thinking that the authoring's to blame is that this fault occurs in patterns - nearly all of my movie .VOBs with this problem are MGM discs, and Seasons 2, 3 and 4 of House MD (which are Universal discs, whereas the rest of my TV is either Fox or BBC) all have the same problem. Yet most of my movies, and nearly all of my other TV shows, are fine.

Solve this one, and you'll be my favourite person in the World!


DH.

EDIT: In case you were going to suggest it, I've tried remuxing them to M2TS files already - not because I thought it would work, but just to give something a try. Didn't make a difference.

odin24
23rd November 2008, 22:14
Thanks for all of this.

There's really only one remaining problem that I have - I've not raised it already because I've asked around on three or four other forums, but no-one's had a clue. I've rather begun to lose faith that there's an answer...

Some of my movie .VOBs (around 25% of them, actually), have lost their anamorphism. That is to say, the DVDs themselves are anamorphic, so I get nice crisp images when I use the discs, but the .VOBs need to be zoomed, so I lose definition. Which sucks a little... but only a little. I realise it's not a big deal, but maybe you know what can be done about this.

To bring you up to speed with what I've tried so far; I downloaded DVDPatcher after someone on another forum advised that the DVD was probably authored wrongly, and that all I needed to do was change the aspect ratio on the file header from 4:3 to 16:9... which sounded like an awesome idea, but ultimately didn't work because the .VOBs proved to already have headers set to 16:9.

But what keeps me thinking that the authoring's to blame is that this fault occurs in patterns - nearly all of my movie .VOBs with this problem are MGM discs, and Seasons 2, 3 and 4 of House MD (which are Universal discs, whereas the rest of my TV is either Fox or BBC) all have the same problem. Yet most of my movies, and nearly all of my other TV shows, are fine.

Solve this one, and you'll be my favourite person in the World!


DH.

EDIT: In case you were going to suggest it, I've tried remuxing them to M2TS files already - not because I thought it would work, but just to give something a try. Didn't make a difference.

I don't think there's an easy way around your anamporphic issue. You may need to recode, and use Clever Anamorpic Encoding, MeGUI/AviSynth can do this.

n0mag!c
23rd November 2008, 22:41
Some of my movie .VOBs (around 25% of them, actually), have lost their anamorphism. That is to say, the DVDs themselves are anamorphic, so I get nice crisp images when I use the discs, but the .VOBs need to be zoomed, so I lose definition.

I've tried remuxing them to M2TS files already - not because I thought it would work, but just to give something a try. Didn't make a difference.
How do you get your VOBs? Did you just copy it from DVDs? So we're always talking about SD 720x480 NTSC MPEG-2 videos? If you could upload a few MB sample it could help.

dh2005
23rd November 2008, 23:28
Sorry - I really should've mentioned that before...

I'm ripping my .VOBs from original DVDs (absolutely no rip-offs) using DVDShrink, and I'm using AnyDVD to remove regional coding. Even when AnyDVD is disabled (I don't need it to rip Region 2 discs...), the anamorphic problem persists, so that's not the cause of it either. The overwhelming majority of my discs are PAL (720x576), but the anamorphic issue doesn't discriminate - both PAL and NTSC discs are affected.

Thanks for the advice on Clever Anamorphic Encoding - as ever, I've never heard of it...! One question, though - will it output lossless .VOBs, or .MPGs, or the like? I don't like compromising on picture and sound quality, so I wouldn't be happy using a lossy format.

Thanks again. Keep the excellent advice coming!


DH.

EDIT: I've also tried using DVDFab and DVDDecrypter to rip the .VOBs. Didn't make a difference.

SeeMoreDigital
23rd November 2008, 23:53
Some of my movie .VOBs (around 25% of them, actually), have lost their anamorphism. That is to say, the DVDs themselves are anamorphic.I recommend you upload a small (unprocessed .VOB) sample, so we can see your issue for ourselves!

dh2005
24th November 2008, 00:31
How do I do that, dude? I've never done that on a forum before.

I take it you mean that I should upload ten seconds of a movie, or something? I don't really see what you guys will see other than what I described, but I'm happy to give it a shot.

Also... meGUI's confusing the Hell out of me. It keeps telling me that my input path is illegal, and offering me very few output options. I don't think I'm gonna get on very well with this program.


DH.

SeeMoreDigital
24th November 2008, 10:05
Fortunately there are many "File Hosting" providers nowadays... We even have a dedicated thread about them located somewhere within the forum.

That said, http://rapidshare.com/ seems quite popular....

asarian
24th November 2008, 10:39
I'm still having no luck with the 'Sunshine' Bluray DVD, though. I can stream 'The Fith Element' to my PS3 just fine, perfectly fluid at ~25Mbps. But I use the exact same setting in tsRemuxeR for 'Sunshine', and I get file that will not stream at all: very jittery, that is; like it's < 10 fps. And the bitrate for audio and video are the same as for 'The Fith Element' disk! It's really bizarre.

So, okay, I demuxed the lot, ran eac3to, made a 640Kbs AC3 stream, 48Kh sampling, all by the book, and remuxed that with it instead. So, like I said, now it's running at the exact same bitrate and throughput as the other m2ts file, which streams just fine.

So, what's going on here? Disk was ripped with AnyDVD HD, so there's not a trace of BD+ stuff in it. And it plays just fine from harddisk, too (Windows Media Player). But for some reason it streams at just ca. 10 fps! (TwonkyMedia). Soon as I use no sound at all, it streams fine again.

I used the following command to convert the demuxed DTS-HD stream:

eac3to.exe 00001.track_4352.dts 00001.track_4352.ac3 -640 -down6 -8ms

And it's about 500MB, when done. Seems fair to me; but apparently not. :)

Can you believe this? The same issue is back! I decided to redo the sound for it, because of having used Sonic, which does its stupid DRC for AC3 sound (which I only learnt about later). So, I used eac3to again on the DTS-HD stream, remuxed the lot, and now it's back to jitter! It's unbelievable! :) It plays just fine from harddisk, but it won't stream properly any more.

The bizarre thing is that it really seems sound related. If I mux in the full DTS-HD stream, for instance, my PS3 won't stream the sound any more, of course, but the jitter is even ten times worse! And no, honestly, it's not a bitstream issue. I have a full gigabit network connection to my PS3, and played many stuff with bitrates far over 35Mbps. 'Sunshine' is really the only disc I have ever had this problem with. And I just can't figure it out.

I've uploaded a 50MB sample, so you, are anyone else willing, might have a look at it (if only for my own sanity, LOL). I try and stream it with TwonkyMedia 4.4.9:

http://rapidshare.com/files/166855368/test1.m2ts

Thanks

flyingernst
24th November 2008, 20:55
Hi,

I have a time difference between DTS-HD and the movie when I mux it with TSmuxer 1.8.8
My Files:
2x DTS-HD demuxed with eac3to
1x Video containert with eac3to to mkv and transcoded it with Avidemux ProxyGUI etc. to h264-mkv 720P (original and new have same duration when I´m looking for that in Media Info advanced Mode)

I mux it to "Bluray" with TSmuxer, then die Videofile is shorter and die movie ist longer then the original/720P File...so what is the problem? should it make any settings to the streams in TSmuxer?!

At this moment I am testing:
Muxing original movie-M2TS with 720P-mkv to bluray (removing original Video Stream), settings: fps to 23,976, Level to 4.1 and no hooks anywhere (never changed settings until now)

Can you help me? Greetings, Michael

EDIT: Second test, same Problem: Audio plays 6 seconds longer that video

PS: If I remember right I have the same problems with mkvs muxed by MKVToolnix

flyingernst
24th November 2008, 21:41
Ah...think the delay ist over the hole movie, feels like the hole audio file has a delay of around 2,5-3 seconds...but why and how can I fand out the real delay, wether eac3to nor tsmuxer recognizes teh audio delay in the original m2ts

Original m2ts:
General
ID : 0
Complete name : K:\BDMV\STREAM\00000.m2ts
Format : BDAV
Format/Info : BluRay Video
File size : 22.0 GiB
Duration : 2h 6mn
Overall bit rate : 25.0 Mbps
Maximum Overall bit rate : 48.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : VC-1
Format profile : Advanced@3
Duration : 2h 5mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : DTS-HD
Format/Info : Digital Theater Systems
Duration : 2h 6mn
Bit rate mode : Variable
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS-HD
Format/Info : Digital Theater Systems
Duration : 2h 6mn
Bit rate mode : Variable
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits

Text #1
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Video delay : 2h 5mn

Text #2
ID : 4609 (0x1201)
Menu ID : 1 (0x1)
Format : PGS


my Movie: new video.mkv muxed with original m2ts (removed VC1):

General
ID : 1
Complete name : I:\xcvsdaf\BDMV\STREAM\00001.m2ts
Format : BDAV
Format/Info : BluRay Video
File size : 13.7 GiB
Duration : 2h 6mn
Overall bit rate : 15.5 Mbps
Maximum Overall bit rate : 35.5 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Duration : 2h 5mn
Width : 1 280 pixels
Height : 528 pixels
Display aspect ratio : 2.424
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Writing library : x264 core 64 r987M e71168d
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / psy_rd=0,0:0,0 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=2 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=16,0 / qcomp=0,60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1,40 / pb_ratio=1,30 / aq=1:1,0

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : DTS-HD
Format/Info : Digital Theater Systems
Duration : 2h 6mn
Bit rate mode : Variable
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS-HD
Format/Info : Digital Theater Systems
Duration : 2h 6mn
Bit rate mode : Variable
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits

Text #1
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Video delay : 2h 5mn

Text #2
ID : 4609 (0x1201)
Menu ID : 1 (0x1)
Format : PGS

rica
24th November 2008, 22:55
I'd like you to make a test:
Extract video as vc1 and show us the results of mediainfo.
eac3to input.m2ts output.vc1

EDIT: If everything seems OK (after demuxing), i'm gonna tell the second step.

flyingernst
24th November 2008, 23:11
I will do in 2-3 minutes, muxing now with a audio delay setting of -1080ms.
I figured it out through making small testfiles with different delay settings and compared them, used the best one....
I saw that it is not necessary to go over MKV-Container, AVS Proy GUI is able to import m2ts with VC1 Video Stream...am I right?!

rica
24th November 2008, 23:14
I think so but even it would need there was gonna be a solution.
BTW do not apply any delay while demuxing to vc1.

flyingernst
24th November 2008, 23:18
demuxing was done by eac3to...in the first method. in the second method i only demuxed the video file out to mkv with eac3to nad muxed it with the other streams coming from the original m2ts.
So next movie I will test without demuxing directly from the m2ts, so no delays will get applied

rica
24th November 2008, 23:24
eac3to input.m2ts video.vc1 audio.dtshd
That is what i expect.

flyingernst
24th November 2008, 23:31
So the movie runs good with muxing the 720P mkv to the rest of the movie with a delay of -1100ms to every audio file (and subtitle i think)


VC1 from eac3to:

General
Count : 232
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Inform : VC-1: 15.8 GiB
Count of video streams : 1
Video_Format_List : VC-1
Video_Format_WithHint_List : VC-1
Codecs Video : VC-1
Complete name : F:\IM\video.vc1
Folder name : F:\IM
File name : video
File extension : vc1
Format : VC-1
Format : VC-1
Format/Extensions usually used : vc1
Codec : VC-1
Codec : VC-1
Codec/Extensions usually used : vc1
File size : 16984297083
File size : 15.8 GiB
File size : 16 GiB
File size : 16 GiB
File size : 15.8 GiB
File size : 15.82 GiB
File creation date : UTC 2008-11-24 22:19:44.938
File last modification date : UTC 2008-11-24 22:27:49.349

Video
Count : 133
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Inform : 1920*1080 (16/9), at 23.976 fps, VC-1 (Advanced@3)
Format : VC-1
Format profile : Advanced@3
Codec : VC-1
Codec : VC-1
Codec/Family : VC-1
Codec/Url : http://www.microsoft.com/windows/windowsmedia/format/codecdownload.aspx
Codec profile : Advanced@3
Width : 1920
Width : 1 920 pixels
Height : 1080
Height : 1 080 pixels
Pixel Aspect Ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16/9
Frame rate : 23.976
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive

MKV from eac3to

General
Count : 232
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : F:\IronMan\sdfsdf.mkv
Folder name : F:\IronMan
File name : sdfsdf
File extension : mkv
Format : Matroska
Format : Matroska
Format/Url : http://packs.matroska.org/
Format/Extensions usually used : mkv mka mks
Codec : Matroska
Codec : Matroska
Codec/Url : http://packs.matroska.org/
Codec/Extensions usually used : mkv mka mks
File size : 8437706899
File size : 7.86 GiB
File size : 8 GiB
File size : 7.9 GiB
File size : 7.86 GiB
File size : 7.858 GiB
Duration : 7557509
Duration : 2h 5mn
Duration : 2h 5mn 57s 509ms
Duration : 2h 5mn
Duration : 02:05:57.509
Overall bit rate : 8931733
Overall bit rate : 8 932 Kbps
Title : Avidemux
Movie name : Avidemux
File creation date : UTC 2008-11-24 08:32:02.424
File last modification date : UTC 2008-11-24 12:30:09.545
Writing application : Lavf51.12.1
Writing library : Lavf51.12.1
Writing library : Lavf51.12.1

Video
Count : 133
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
ID : 1
UniqueID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format profile : High@L3.1
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, ReFrames : 2
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@3.1
Codec ID : V_MPEG4/ISO/AVC
Codec ID/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow
Codec : V_MPEG4/ISO/AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow
Codec profile : High@L3.1
Codec settings : CABAC / 2 Ref Frames
Codec settings, CABAC : Yes
Codec_Settings_RefFrames : 2
Duration : 7549958
Duration : 2h 5mn
Duration : 2h 5mn 49s 958ms
Duration : 2h 5mn
Duration : 02:05:49.958
Bit rate : 8571136
Bit rate : 8 571 Kbps
Width : 1280
Width : 1 280 pixels
Height : 528
Height : 528 pixels
Pixel Aspect Ratio : 1.000
Display aspect ratio : 2.424
Display aspect ratio : 2.424
Frame rate : 23.976
Frame rate : 23.976 fps
Frame count : 181199
Resolution : 24
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Writing library : x264 - core 64 r987M e71168d
Writing library : x264 core 64 r987M e71168d
Writing library/Name : x264
Writing library/Version : core 64 r987M e71168d
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / psy_rd=0,0:0,0 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=2 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=16,0 / qcomp=0,60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1,40 / pb_ratio=1,30 / aq=1:1,00


mkv after rendering

General
Count : 232
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : F:\IronMan\sdfsdf.mkv
Folder name : F:\IronMan
File name : sdfsdf
File extension : mkv
Format : Matroska
Format : Matroska
Format/Url : http://packs.matroska.org/
Format/Extensions usually used : mkv mka mks
Codec : Matroska
Codec : Matroska
Codec/Url : http://packs.matroska.org/
Codec/Extensions usually used : mkv mka mks
File size : 8437706899
File size : 7.86 GiB
File size : 8 GiB
File size : 7.9 GiB
File size : 7.86 GiB
File size : 7.858 GiB
Duration : 7557509
Duration : 2h 5mn
Duration : 2h 5mn 57s 509ms
Duration : 2h 5mn
Duration : 02:05:57.509
Overall bit rate : 8931733
Overall bit rate : 8 932 Kbps
Title : Avidemux
Movie name : Avidemux
File creation date : UTC 2008-11-24 08:32:02.424
File last modification date : UTC 2008-11-24 12:30:09.545
Writing application : Lavf51.12.1
Writing library : Lavf51.12.1
Writing library : Lavf51.12.1

Video
Count : 133
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
ID : 1
UniqueID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format profile : High@L3.1
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, ReFrames : 2
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@3.1
Codec ID : V_MPEG4/ISO/AVC
Codec ID/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow
Codec : V_MPEG4/ISO/AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow
Codec profile : High@L3.1
Codec settings : CABAC / 2 Ref Frames
Codec settings, CABAC : Yes
Codec_Settings_RefFrames : 2
Duration : 7549958
Duration : 2h 5mn
Duration : 2h 5mn 49s 958ms
Duration : 2h 5mn
Duration : 02:05:49.958
Bit rate : 8571136
Bit rate : 8 571 Kbps
Width : 1280
Width : 1 280 pixels
Height : 528
Height : 528 pixels
Pixel Aspect Ratio : 1.000
Display aspect ratio : 2.424
Display aspect ratio : 2.424
Frame rate : 23.976
Frame rate : 23.976 fps
Frame count : 181199
Resolution : 24
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Writing library : x264 - core 64 r987M e71168d
Writing library : x264 core 64 r987M e71168d
Writing library/Name : x264
Writing library/Version : core 64 r987M e71168d
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / psy_rd=0,0:0,0 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=2 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=16,0 / qcomp=0,60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1,40 / pb_ratio=1,30 / aq=1:1,00




DTS HD from eac3to

General
Count : 232
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of audio streams : 1
Audio_Format_List : DTS-HD
Audio_Format_WithHint_List : DTS-HD
Audio codecs : DTS-HD
Complete name : F:\IronMan\deutsch.dtshd
Folder name : F:\IronMan
File name : deutsch
File extension : dtshd
Format : DTS
Format : DTS
Format/Info : Digital Theater Systems
Format/Extensions usually used : dts
Codec : DTS
Codec : DTS
Codec/Info : Digital Theater Systems
Codec/Extensions usually used : dts
File size : 2060711952
File size : 1.92 GiB
File size : 2 GiB
File size : 1.9 GiB
File size : 1.92 GiB
File size : 1.919 GiB
File creation date : UTC 2008-11-23 13:09:45.165
File last modification date : UTC 2008-11-23 13:24:16.644

Audio
Count : 117
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
Format : DTS-HD
Format/Info : Digital Theater Systems
Codec : DTS-HD
Codec : DTS-HD
Bit rate mode : VBR
Bit rate mode : Variable
Channel(s) : 6
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Channel positions : 3/2.1
Sampling rate : 48000
Sampling rate : 48.0 KHz
Resolution : 16
Resolution : 16 bits

asarian
24th November 2008, 23:46
I've uploaded a 50MB sample, so you, are anyone else willing, might have a look at it (if only for my own sanity, LOL). I try and stream it with TwonkyMedia 4.4.9:

http://rapidshare.com/files/166855368/test1.m2ts

Thanks

Rica (or anyone else), did you get a chance to look at my Sunshine issue? I think it might be delay-time related (not sure how exactly). I just can't get tsMuxeR to remux the audio with a -8ms delay (as required). Either it goes to 48ms (?) or to no offset. Even eac3to can't do it. Or probably more accurately, I can't get either to do it. :)

rica
24th November 2008, 23:52
flyingernst, can you check the syncronisation after remuxing to ts using demuxed vc1 and dtshd originals?

rica
25th November 2008, 00:31
Rica (or anyone else), did you get a chance to look at my Sunshine issue? I think it might be delay-time related (not sure how exactly). I just can't get tsMuxeR to remux the audio with a -8ms delay (as required). Either it goes to 48ms (?) or to no offset. Even eac3to can't do it. Or probably more accurately, I can't get either to do it. :)

Hi asarian,
your sample is a Fox introduction clip which includes just ac3, not dtshd.
I'd suggest to cut the movie between 5th and 6th minutes via TsMuxer, remux to m2ts and reupload it.

asarian
25th November 2008, 01:49
Hi asarian,
your sample is a Fox introduction clip which includes just ac3, not dtshd.
I'd suggest to cut the movie between 5th and 6th minutes via TsMuxer and reupload it.

Hi Rica,

Thanks for replying. :) As for the AC3, I have to stream it to my PS3, which is why I converted the HD audio to AC3 (but sans the DRC, this time). So, I kinda need the AC3 to work.

Actually, I split up the file in many parts (using a common file splitter), but something in the middle or so, wouldn't that miss proper headers and such?

rica
25th November 2008, 01:55
Those are different asarian; trascoding to ac3 or demuxing to ac3 as is. This is why i need a dtshd included original cut m2ts.
BTW; no problem in my trial with your sample; the delay seems as 9ms and TSMuxer doesn't complain.
Hi Rica,
wouldn't that miss proper headers and such?
No, just try to cut (not split) by TSMuxer.

Edit: i need a original cut including a dialog inside.

asarian
25th November 2008, 02:05
Those are different asarian; trascoding to ac3 or demuxing to ac3 as is. This is why i need a dtshd included original cut m2ts.
BTW; no problem in my trial with your sample; the delay seems as 9ms and TSMuxer doesn't complain.
Edit: i need a original cut including a dialog inside.
Yeah, it's at 9ms. It should be at -8ms. i'm guessing that's what's causing the odd jitter when streaming (not when playing from hard disk); though I can't really come up with a good reason for it.

Okay, I'll whip in the BD and rip the original HD audio again. It's 2 AM here already, so it might be early tomorrow; but I'll upload it as soon as possible. Thanks anyway for helping out.

rica
25th November 2008, 02:07
You are welcome, here is 3.00 am as well, see you tomorrow (sorry "today") then :)

rica
25th November 2008, 02:38
asarian, before going to sleep, just some small tricks:
Do not apply any manual options to command line in eac3to,
click video after importing to tsmuxer and under "general track options" tick the "change fps" option and leave it as default.

coolalibaba
25th November 2008, 03:24
Hi, I'm a noob here...can tsMuxeR be used to extract DVD? I tried to open the VOB files in one of my DVD but looks tsMuxeR only recognized one video track but failed to recognize any audio track. It reported some error msg like "can not recognize some track and it will be ignored". This DVD has 1 dts 5.1 audio track and another 2 AC3 audio tracks. I tested with dvddecrypt and it could recognize all the video and audio tracks. Is there anything wrong with my operation?

flyingernst
25th November 2008, 08:57
flyingernst, can you check the syncronisation after remuxing to ts using demuxed vc1 and dtshd originals?

Hi,

I will do, perhaps not today

greetings, Michael

73ChargerFan
25th November 2008, 20:20
Hi, I'm a noob here...
Start by reading and searching in the Newbies forum. (http://forum.doom9.org/forumdisplay.php?f=6) This application won't do what you want.

n0mag!c
25th November 2008, 21:25
I'm ripping my .VOBs from original DVDs (absolutely no rip-offs) using DVDShrink.
I don't like compromising on picture and sound quality, so I wouldn't be happy using a lossy format.
I've also tried using DVDFab and DVDDecrypter to rip the .VOBs. Didn't make a difference.
Try to use SmartRipper (http://en.wikipedia.org/wiki/Smartripper) instead to get VOB-file. It surely leaves video stream untouched.
Or try to use tsMuxer (using its append feature) to get TS-file, which you can play on PC and PS3.

gillie
27th November 2008, 01:05
Hoping someone can help.
I've been using tsMuxeR GUI 1.8.8 to produce .ts files of Blu-Ray rips which I can then play via my TVix M6500 "media streamer".
Process I'm using is as follows -
1. Rip Blu-ray disc to hard disk with AnyDVD HD (v6.4.8.5)
2. Use eac3to (v2.78) to extract video to .mkv and the audio to .dts or .ac3
3. Use tsMuxeR GUI 1.8.8 to create .ts file container the video and audio streams

This process has worked fine for weeks but has now started creating a .ts file which has either no video playback or corrupted video playback. The audio is fine.

If I use tsMuxeR to extract the video and audio directly from the Blu-ray hard disk copy then the .ts file works okay. But using this method I'm unable to modify the audio output. My preference is to extract the lossless audio stream to DTS using eac3to and Surcode DTS encoder.

If I use MKVmerge to create a .mkv file of the same streams the output is fine, but my TviX box is rubbish with large .mkv files with high bit rates so this isn't an option for me.

Would welcome anyones thoughts on this one.

peterjcat
27th November 2008, 01:09
If you're not going to end up with an MKV then there's not usually much point extracting the video to MKV -- you can just extract it to an elementary stream of the right kind (.h264, .vc1, .mpeg2) and then load that stream into tsMuxeR.

gillie
27th November 2008, 01:36
If you're not going to end up with an MKV then there's not usually much point extracting the video to MKV -- you can just extract it to an elementary stream of the right kind (.h264, .vc1, .mpeg2) and then load that stream into tsMuxeR.

I'll try extracting to an elementary stream as you suggest. Sorry for my ignorance but if mediainfo shows the Blu-ray source video as AVC then which output type should I select in eac3to?

asarian
27th November 2008, 01:53
asarian, before going to sleep, just some small tricks:
Do not apply any manual options to command line in eac3to,
click video after importing to tsmuxer and under "general track options" tick the "change fps" option and leave it as default.

Rica, after struggling with it for yet another day, Í'm glad to report the issue is resolved. :)

The mistake I kept making, is that I tried to remux the already extracted DTS track (I keep all HD audio track on my harddisk, in the idle hope the PS3 will one day support HD audio on streaming). That track, however, had the 9ms delay (should have been -9ms). Somehow, trying to give it a different delay works the jitter. I think the media player components (Twonky/PS3) constantly try to resync the audio with the video, but I have to admit I never fully understood how the two are synced to each other anyway. At any rate, recreating the stream from the original DTS-HD track, with eac3to, did the trick (I'm guessing because then it stays nicely at -9ms). An now everything is shiny again. :)

Anyway, thank you for very for your time and efforts. :)

asarian
27th November 2008, 01:59
Sorry for my ignorance but if mediainfo shows the Blu-ray source video as AVC then which output type should I select in eac3to?

Give it a .h264 extension.

rica
27th November 2008, 21:10
asarian, you are welcome; i'm glad you've solved the issue.

gillie
27th November 2008, 21:29
If you're not going to end up with an MKV then there's not usually much point extracting the video to MKV -- you can just extract it to an elementary stream of the right kind (.h264, .vc1, .mpeg2) and then load that stream into tsMuxeR.

Okay. Tried extracting the video to an elementary stream (.h264) then tsmuxed the streams into a .ts file and all works fine.

Looking at the mediainfo details for the .ts files which don't work it looks like something odd is going on. The "duration" of the .ts file is 2x what it should be. But the individual .mkv and .dts files both have the correct duration. Think it may be the latest versions of eac3to which are producing odd .mkv files.

pjohnson73
28th November 2008, 19:51
I have been using mkv2vob to convert files to play on my PS3 and using 720p mkv's. I read where tsmuxer supports DTS as long as I create an AVCHD file, but my question is will it work with 1080p mkv's?

odin24
28th November 2008, 22:33
I have been using mkv2vob to convert files to play on my PS3 and using 720p mkv's. I read where tsmuxer supports DTS as long as I create an AVCHD file, but my question is will it work with 1080p mkv's?

DTS will work in AVCHD or Blu-ray format on the PS3 no problem, you must ensure your video is a proper BD compliant resolution though. Either 1920x1080 (not 1920x800, etc), 1440x1080, or 1280x720 (not 1280x528, etc). Or you will get a distracting green bar across your TV screen... DTS and subs may not work properly either.