Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

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


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.