SHARE
TWEET

Untitled

a guest May 15th, 2010 3,644 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. Ok, let's begin
  4. Decoding software - JM Reference Software with my modifications
  5. Tools needed:
  6. 1. Transport Stream Packet Editor (v0.81) (for demuxing raw 264 streams)
  7. 2. eac3 (optional) for sound extraction
  8. 3. YUVTools_3.0 (optional) for checking output yuv file
  9. 4. ffmpeg  for reencoding right stream
  10. 5. MKVtoolnix/mkvmerge.exe for muxing into mkv
  11.  
  12. Warning: JM produce very large raw yuv output files (f.e-1m:13s -> 10gb (5 for left & 5 for right)
  13.  
  14. BD structure:
  15. 00004.ssif=00004.m2ts+00005.m2ts
  16. 00006.ssif=00006.m2ts+00007.m2ts
  17. 00008.ssif=00008.m2ts+00009.m2ts
  18.  
  19. For example, we will use 00008.ssif (schreck)
  20.  
  21. 1. Preparing raw streams. Run TSPE, open 00008.m2ts (left eye stream), uncheck all streams in tree except 0x1011 [tree - pat pid+0x100+0x1011]
  22. 2. Set output directory
  23. 3. Set options -Demux - Demux raw streams
  24. 4. Click edit
  25. 5. Rename output file 00008.Demux.1011.264 to left.h264
  26. 6. Reopen program, open 00009.m2ts, uncheck 0x1011, check 0x1012
  27. 7. Set output directory & options -Demux - Demux raw streams
  28. 8. Click edit. When message 'No elementary stream PIDs selected for demuxing' appears open tab 'PID Line'. Click edit again. Ignore message 'Warning: source contains no video PID.'
  29. 9. Rename '00009.Demux.1012.es' to right.h264
  30. 10. Download modified version of JM http://www.multiupload.com/XPEQEJENAQ
  31. 11. Unpack it
  32. 12. Working directory should consists of decoder.cfg,ldecod.exe,left.h264,right.h264
  33. 13. Run ldecod.exe and wait some time
  34. 14. Output files:
  35. test_dec_ViewId0000.yuv (left view)
  36. test_dec_ViewId0001.yuv (right view)
  37. Left view:
  38. You can use left.h264 or re-encode test_dec_ViewId0000.yuv
  39. Right view:
  40. You must re-encode test_dec_ViewId0001.yuv to h264 stream
  41. For example, we will use ffmpeg.exe
  42. Run 'ffmpeg.exe -s hd1080 -i test_dec_ViewId0001.yuv  -vcodec libx264 -b 4560000 -bt 4560000 right_f.h264'
  43.  
  44. --
  45. Sound extracting
  46. Run eac3to.exe 00008.m2ts 3:sound.ac3
  47.  
  48. Ok, final part, muxing
  49. 1.Run mmg.exe (MKVtoolnix), click add, left.h264, set format specific options - fps - 24000/1001
  50. 2. add sound.ac3
  51. 3. Click 'start muxing'. Final left file - left.mkv
  52. Right file
  53. 1.Run mmg.exe (MKVtoolnix), click add, right_f.h264, set format specific options - fps - 24000/1001
  54. 2. Click 'start muxing'. Final right file - right_f.mkv
  55.  
  56. That's all folks wink
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top