User Tools

Site Tools


tutorial:cut_ts_sample

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:cut_ts_sample [2011/06/19 12:24]
agent_007
tutorial:cut_ts_sample [2011/06/20 16:45]
agent_007 additions
Line 6: Line 6:
 ==== Virtualdub (for Windows users) ==== ==== Virtualdub (for Windows users) ====
 Virtualdub is video editor, but the software also contains build-in hex editor that we are going to use. Process itself is very simple. Virtualdub is video editor, but the software also contains build-in hex editor that we are going to use. Process itself is very simple.
- +  * Download and install Virtualdub (you can use .zip version, no need to install) 
-  - Download and install Virtualdub (you can use .zip version, no need to install) +  ​Open Virtualdub (VirtualDub.exe) 
-  ​Open Virtualdub (VirtualDub.exe) +{{:​tutorial:​vdub_logo.png|}} 
-  ​Open **Tools -> Hex editor...** (which should open a new window, the //​VirtualDub Hex Editor//) +  ​Open **Tools -> Hex editor...** (which should open a new window, the //​VirtualDub Hex Editor//) 
-  ​From that VirtualDub Hex Editor window, choose ​//File -> Open...// and select the .ts or .m2ts file you want to use +{{:​tutorial:​vdub_toolshex_l.png|}} 
-  ​The window should be filled with text (nothing to worry about), and you can then select **Edit -> Extract segment...** which should open //Extract file segment// window +  ​From that VirtualDub Hex Editor window, choose ​**File -> Open...** and select the .ts or .m2ts file you want to use 
-  ​From the Extract file segment window, keep the **Address (hex)** as 0 and to the **Length (hex)** field you enter how many bytes you want to have in sample file. E.g. if you want to make sample file with size of 20 megabytes (20 000 000 bytes), then use value **1312D00**. After you have selected the value, press **OK**. New file saving dialog jump to the screen and you use it to select where you want to save file (and give it a filename).+{{:​tutorial:​vdub_fileopen_l.png|}} 
 +  ​The window should be filled with text (nothing to worry about), and you can then select **Edit -> Extract segment...** which should open //Extract file segment// window 
 +{{:​tutorial:​vdub_extract_segment_l.png|}} 
 +  ​From the Extract file segment window, keep the **Address (hex)** as 0 and to the **Length (hex)** field you enter how many bytes you want to have in sample file. E.g. if you want to make sample file with size of 20 megabytes (20 000 000 bytes), then use value **1312D00**. After you have selected the value, press **OK**. New file saving dialog jump to the screen and you use it to select where you want to save file (and give it a filename). 
 +{{:​tutorial:​vdub_extract_segment2.png|}}
  
 Now that you have created a new sample file, test it out in AVIdemux. If it causes same issues as the original one, then share it to us. Now that you have created a new sample file, test it out in AVIdemux. If it causes same issues as the original one, then share it to us.
Line 24: Line 28:
 dd if=recorded_from_DVB_tuner.ts of=sample_for_avidemux.ts bs=20M count=1 dd if=recorded_from_DVB_tuner.ts of=sample_for_avidemux.ts bs=20M count=1
 </​code>​ </​code>​
 +If dd complains something like //"dd: bs: illegal numeric value"//,​ then don't use M, but instead input the value as bytes, e.g.
 +<code bash>
 +dd if=recorded_from_DVB_tuner.ts of=sample_for_avidemux.ts bs=20000000 count=1
 +</​code>​
 +
  
 Now that you have created a new sample file, test it out in AVIdemux. If it causes same issues as the original one, then share it to us. Now that you have created a new sample file, test it out in AVIdemux. If it causes same issues as the original one, then share it to us.
tutorial/cut_ts_sample.txt · Last modified: 2012/11/11 08:51 (external edit)