LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2007, 08:53 PM   #1
Chris594
Member
 
Registered: Oct 2005
Posts: 51

Rep: Reputation: 15
joining .ts and .mkv files


Hi,

I was wondering if there was an application or command line on linux for joining .ts and .mkv video files. Under windows you could join .ts with : copy /b "film-name-part1.ts" "film.ts", unfortunately I could't find the linux equivalent. I've already tried avidemux but it refuses to open the files (I don't know if this matter but the video files are high-resolution 720p, 1080i...)

Any help appreciated
 
Old 01-17-2007, 11:03 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can not actually join MPEG-1/2/4 files together. The reason why you can not do this is because not all media players are compatible with this and sometimes produces a freeze when another different data packet is introduce. To the viewer, it is distracting when the media player is a compatible with this. In Linux, I suggest using transcode's utilities to combine the ts (Transport Stream) files. They do it correctly with minimal loss of audio and video sync. If transcode is compiled with Matroska support, it can also combine the files, but I have not yet tested it. Usually, Linux distributions do not come with Matroska support.

The dumb way to combine two or more video files in Linux:
cat file1.mv file2.mv file3.mv > output.mv

The dumb way to combine two or more video files in DOS:
copy /b file1.mv+file2.mv+file3.mv output.mv
 
Old 01-17-2007, 11:44 PM   #3
Chris594
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
Thank you for your detailed answer Electro. I'll look into that
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
joining fileds from separete files dominant Linux - Newbie 5 10-22-2006 01:01 PM
playing mkv files on mplayer joq Linux - Software 3 12-07-2004 07:24 AM
joining text files. chunky Programming 1 05-19-2004 10:42 AM
Joining *wmv files ? gazza Linux - Newbie 3 01-20-2004 12:48 PM
cat - joining files u02gtt Linux - Newbie 6 04-22-2002 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration