86.5 Converting the Transport Stream

Use dvbcut for a graphical tool to select regions (start and top segments) that can then be exported to standard mpeg format.

To join some streams together:

$ mpgtx -j c1.mpg c2.mpg c3.mpg -o cx.mpg

See http://wiki.dvbowners.com/index.php/Mencoder and http://www.linux2000.com/dvb.html.

Convert to MPEG: This simply puts a wrapper around the stream, with no additional encoding.

$ mencoder -of mpeg -ovc copy -oac copy -o news.mpg news.ts

Convert to AVI:

$ mencoder -ovc lavc -oac copy -o test.avi test.ts

To join two videos together:

$ mpgjoin s01.mpg s02.mpg -o all.mpg

To cut the beginning and end out of a video:

$ mpgjoin all.mpg [2:22-54:46] -o just.mpg


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0