Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd August 2007, 09:39   #581  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Quote:
Originally Posted by SeeMoreDigital View Post
Is this the same Wizziwig of MPEG2Repair fame?


Cheers
I'm sure it is. In fact, I was the one that showed him the initial trick to repair MPEG-2 video bitstreams. However, much like Pelican9, the student has far surpassed the master.

Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 3rd August 2007, 11:16   #582  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by drmpeg View Post
Would you be willing to help me fix xport? Do you have a Blu-ray .m2ts that you think crashes xport in the first 2 GB of the file? If you think you might, then I have a way for you to identify where in the file the crash occurs and then clip out a section of the file for you to upload so that I can debug it.
I think I have such a case, too. What can I do to help identifying the crash?
madshi is offline   Reply With Quote
Old 3rd August 2007, 13:03   #583  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Quote:
Originally Posted by madshi View Post
I think I have such a case, too. What can I do to help identifying the crash?
Here's the scheme. First download a special version of xport that prints progress instead of bitrate.

http://www.w6rz.net/xportdev.zip

Demux your problem file and note the number of "chunks" when it bombs. Multiply the number of "chunks" by 1048576. This is the approximate offset into the file where the bomb occurred.

Then use the clip.exe program (included in the .zip) to clip out a small portion of the file for upload. Here's an example.

Let's say that xport bombs at 28376 "chunks". 28376 * 1048576 = 29754392576. Then clip out about 10 megabytes around (-5 megabytes to +5 megabytes) this offset with this command:

clip movie.m2ts clip.m2ts 29749392576 10000000

(29754392576 - 5000000 = 29749392576)

Then upload the 10 megabyte clip somewhere for me to debug. Make sense?

Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 3rd August 2007, 14:25   #584  |  Link
smekoslav
Registered User
 
Join Date: Nov 2005
Posts: 20
Ok, here's my case. The xport encounters problems on me when demuxing LPCM audio from The Exorcism of Emily Rose BluRay m2ts. It starts demuxing fine and makes a .mpa file exactly 33220kB big (that's about chunk 100), then the filesize freezes at 33220kB, but xport still reports that chunks are being processed until the end.


Here's a 10mb sample of the m2ts stream: http://www.box.net/shared/tcl82u257t

There's also a 640Kbit DDPlus track but xport never even starts to demux eac3 (the mpa file is always at 0Kb, even though xport reports chunks are being processed).

Last edited by smekoslav; 3rd August 2007 at 18:10.
smekoslav is offline   Reply With Quote
Old 6th August 2007, 16:08   #585  |  Link
musicman2311
Registered User
 
Join Date: Jun 2007
Posts: 164
hi all,
does anyone know how to get a specification document about blu-ray m2ts bitstream ?
thanks
musicman2311 is offline   Reply With Quote
Old 7th August 2007, 06:56   #586  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Quote:
Originally Posted by smekoslav View Post
Ok, here's my case. The xport encounters problems on me when demuxing LPCM audio from The Exorcism of Emily Rose BluRay m2ts. It starts demuxing fine and makes a .mpa file exactly 33220kB big (that's about chunk 100), then the filesize freezes at 33220kB, but xport still reports that chunks are being processed until the end.

There's also a 640Kbit DDPlus track but xport never even starts to demux eac3 (the mpa file is always at 0Kb, even though xport reports chunks are being processed).
I wasn't able to tell much from the sample. However, the screen dump is interesting. For ripped .m2ts files, there should never be any discontinuities. The fact that you do have discontinuities suggests that your file has been corrupted somehow.

The first discontinuity appears at packet 436908. This would be 436908 * 192 or 82886336 bytes into the file. In my 1 megabyte "chunks", this would be at around chunk 80, which is fairly close to your report of audio demux failing at chuck 100.

So a better test clip would be about 30 megabytes starting at around 80 megabytes in. This clip command line would do the trick:

clip movie.m2ts clip.m2ts 79999872 30000000

Note that 79999872 is a multiple of 192 so that the clip starts on a packet.

As for demuxing the AC3 track, you must also demux the video track. That's because for AC3 audio, xport cuts the audio stream to match the first video PTS. If there's no video track specified, then the audio cutting code never starts and no audio gets demuxed.

For LPCM, xport doesn't try to sync the audio and specifying video stream 0 works okay.

Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 7th August 2007, 09:41   #587  |  Link
Has123
Registered User
 
Join Date: Feb 2007
Posts: 82
dmz01,
Thank you for this fantastic tool. Do you have any plans to add muxing capabilities (from elementary streams) to TSRemux or add AVCHD structure to the current options and lastly would it be possible to remove 1088 flag from some h264 streams as this should improve the playability.
Has123 is offline   Reply With Quote
Old 7th August 2007, 13:48   #588  |  Link
bb1b
Registered User
 
Join Date: Aug 2007
Posts: 3
Quote:
Originally Posted by B4tm4n View Post
I've tried with a H264 file from a bluray disc, so it should play, its level 4.1. (I've also tried this with BBC HD cap scene release, don't know the level)

I put the file through Elecard Xmuxer Pro and create a ts file with only the H264 video track. Then I remux using Elecard Xmuxer with an AC3 track in to a ts container. This file will play, once renamed to mpg, smoothly from the XBM.
Next I use TsRemux to remux it in to a m2ts. Now this file will play but choppy.

Now once I've got my m2ts file I try playing it through the XBM and the result is choppy, its like the previous frame gets repeated. Now if I rename the ts file, prior to putting it through TsRemux, to mpg and play it through the XBM its perfect smooth playback. Something goes wrong processing it through TsRemux.

I have tried with the bluray structure and got choppy playback aswell, now I'm not burning anymore discs untill I've got it playing smoothly. My PS3 is FW1.9.
I'm having the same problem with a movie encoded in h264, the result is choppy, like some frames gets repeated. I will try with a VC-1 and MPEG2 movie to see if I get the same result.

Anyone found a way to get this working properly?
bb1b is offline   Reply With Quote
Old 7th August 2007, 18:08   #589  |  Link
B4tm4n
Caped Crusader
 
B4tm4n's Avatar
 
Join Date: Jul 2007
Posts: 247
Quote:
Originally Posted by bb1b View Post
I'm having the same problem with a movie encoded in h264, the result is choppy, like some frames gets repeated. I will try with a VC-1 and MPEG2 movie to see if I get the same result.

Anyone found a way to get this working properly?
Mpeg2 will work (I think), but I don't think VC-1 will work with re-encoding to mpeg2 or something.
B4tm4n is offline   Reply With Quote
Old 8th August 2007, 12:10   #590  |  Link
enjoyer
Registered User
 
Join Date: Jul 2007
Posts: 59
hXXp://rapidshare.com/files/47602801/AVCHD.rar.html

put the entire *AVCHD* folder to your external hdd (fat32 formatted) file size limit 4gb! ps3 fw 1.9 needed

5.1 output works also on hdd
enjoyer is offline   Reply With Quote
Old 8th August 2007, 14:14   #591  |  Link
mark_in_2k
Registered User
 
Join Date: May 2007
Posts: 6
Quote:
Originally Posted by enjoyer View Post
hXXp://rapidshare.com/files/47602801/AVCHD.rar.html

put the entire *AVCHD* folder to your external hdd (fat32 formatted) file size limit 4gb! ps3 fw 1.9 needed

5.1 output works also on hdd
I can't test this yet as I'm at work, but is this sample from a 1080p VC-1 source?
mark_in_2k is offline   Reply With Quote
Old 8th August 2007, 18:50   #592  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
New version 0.0.17:
  • Fixed elementary stream recognition issues, where audio streams were mis-recognized.
  • Fixed issue where the remuxing would all-over-sudden become extremely slow or hang up and/or the resulting stream would have a loss of audio
  • MKV support is early alpha. Opening MKV files takes a long time, remuxed results may vary, from my own testing MPEG2 and AC3 seem to work, but H264 doesn't.
dmz01 is offline   Reply With Quote
Old 8th August 2007, 18:58   #593  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 213
Quote:
Originally Posted by Has123 View Post
dmz01,
Thank you for this fantastic tool. Do you have any plans to add muxing capabilities (from elementary streams) to TSRemux or add AVCHD structure to the current options and lastly would it be possible to remove 1088 flag from some h264 streams as this should improve the playability.
  • muxing is very different from remuxing as you need to fully understand the format of the elementary streams and generate the appropriate clocks. Remuxing is a lot easier since you really don't need to know the streams nor generate any clocks. So muxing while a nice feature to add, would probably be beyond what I have as free time.
  • AVCHD would be very easy to add if someone would make the AVCHD spec (with all the format definitions) available to me. I'm not going to pay $3000+ for it.
  • what do you mean by 1088 flag?
dmz01 is offline   Reply With Quote
Old 8th August 2007, 19:15   #594  |  Link
kvoss
Registered User
 
Join Date: Jul 2007
Posts: 4
Quote:
Originally Posted by mark_in_2k View Post
I can't test this yet as I'm at work, but is this sample from a 1080p VC-1 source?
If you use GraphEdit to convert in a mkv und using mkvinfo
Code:
C:\Programme\MKVtoolnix>mkvinfo.exe c:\c\TS\test.mkv
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ (Unknown element: EBMLMaxSizeLength; ID: 0x42f3 size: 4)
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 25745124
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 14)
|+ Segment information
| + Muxing application: Haali DirectShow Matroska Muxer 1.7.189.11
| + Writing application: GraphEdt.exe
| + Segment UID: 0x64 0xb6 0x1b 0x9b 0xd6 0x5c 0x0c 0x84 0xd2 0x1c 0xf2 0xd7 0x6b 0xc0 0xa9 0x70
| + Date: Wed Aug 08 18:11:59 2007 UTC
| + Timecode scale: 1000000
| + Duration: 26.960s (00:00:26.960000000)
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 1
|  + Track type: video
|  + Lacing flag: 0
|  + Default flag: 0
|  + Codec ID: V_MPEG4/ISO/AVC
|  + CodecPrivate, length 34
|  + Video track
|   + Pixel width: 1920
|   + Pixel height: 1080
|   + Display width: 1920
|   + Display height: 1080
| + A track
|  + Track number: 2
|  + Track UID: 2
|  + Track type: audio
|  + Lacing flag: 1
|  + Default flag: 0
|  + Codec ID: A_AC3
|  + Audio track
|   + Sampling frequency: 48000.000000
|   + Channels: 6
|+ Cluster
kvoss
kvoss is offline   Reply With Quote
Old 8th August 2007, 21:08   #595  |  Link
enjoyer
Registered User
 
Join Date: Jul 2007
Posts: 59
Quote:
Originally Posted by dmz01 View Post
New version 0.0.17:
  • Fixed elementary stream recognition issues, where audio streams were mis-recognized.
  • Fixed issue where the remuxing would all-over-sudden become extremely slow or hang up and/or the resulting stream would have a loss of audio
  • MKV support is early alpha. Opening MKV files takes a long time, remuxed results may vary, from my own testing MPEG2 and AC3 seem to work, but H264 doesn't.
thx for update


Quote:
Originally Posted by Has123 View Post
dmz01,
Thank you for this fantastic tool. Do you have any plans to add muxing capabilities (from elementary streams) to TSRemux or add AVCHD structure to the current options and lastly would it be possible to remove 1088 flag from some h264 streams as this should improve the playability.
CoreAVC.H.264.Video.Codec - Version 1.5

- Add: An option to always crop 1088 video to 1080 lines (enabled by default)

I don't know if this is possible but maybe coreavc 1.5 in combination with graphedit can remove the 1088 flag

Last edited by enjoyer; 8th August 2007 at 21:11.
enjoyer is offline   Reply With Quote
Old 8th August 2007, 23:02   #596  |  Link
colinhunt
Registered User
 
Join Date: Dec 2002
Posts: 1,022
Quote:
Originally Posted by dmz01 View Post
New version 0.0.17
Thank You!
colinhunt is offline   Reply With Quote
Old 8th August 2007, 23:03   #597  |  Link
colinhunt
Registered User
 
Join Date: Dec 2002
Posts: 1,022
Quote:
Originally Posted by dmz01 View Post
AVCHD would be very easy to add if someone would make the AVCHD spec (with all the format definitions) available to me. I'm not going to pay $3000+ for it.
Would you be able to "reverse engineer" anything at all from Nero AVCHD output?
colinhunt is offline   Reply With Quote
Old 8th August 2007, 23:25   #598  |  Link
hollydoc
Registered User
 
Join Date: Jul 2007
Posts: 47
thx for this great tool.

The rexux funktion is nearly perfect. My problen is muxing AVC - and VC-1 videostreams with a new Audiostream. MPEG2 is not a problem, there are a lot of programms avalible.
My problem is, a lot of Blu-Ray aren`t availible whit german audiotrack.
Is it possible inmux SUPreader. Which Programm i`ve to use to create german Subtitles?

Hollydoc.
hollydoc is offline   Reply With Quote
Old 9th August 2007, 00:56   #599  |  Link
enjoyer
Registered User
 
Join Date: Jul 2007
Posts: 59
I ve tested some h264|1080p *.ts file and tsremux created a faultless blu ray structure...

then I created a AVCHD dvd with hollydoc s method

ps3 plays this file without problems and ac3 5.1 output!!!

so we need a way to remux h264.mkv properly to h264.ts!!!!!

Last edited by enjoyer; 9th August 2007 at 00:59.
enjoyer is offline   Reply With Quote
Old 9th August 2007, 01:17   #600  |  Link
Has123
Registered User
 
Join Date: Feb 2007
Posts: 82
Update to AVCHD burn method

Hello all,

We do not need to go through any trouble to burn AVCHD. After you run your file through TSRemux Bluray, go to BDMV directory and replace the MovieObject.bdmv and index.bdmv with these http://rapidshare.com/files/47821885/BDMV.rar.html (or use the ones that NeroVision produced) and burn the BDMV directory with Nero UDF 2.5 and that IS it. Hope this will help
Attached Files
File Type: rar BDMV.rar (381 Bytes, 161 views)

Last edited by Has123; 9th August 2007 at 01:54.
Has123 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:15.


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