Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Good evening all,

I have decided to rip my entire DVD collection to Ogg-Theora video, specifically a few different TV series' that I have so I don't have to keep digging the discs out. To do this, I have been using dvd::rip to pull the individual vob files from the disc and then using ffmpeg2theora to encode. This process has been working great for me until I hit a slight snag. The dvd I just ripped does not have the individual episodes in vobs, but the entire disc of 7 episodes in one vob. I went ahead and ripped it and encoded the whole thing into Theora. Now, how do I split this file into the individual episodes?

I would prefer not to re-encode these, and obviously any prospective program would need a easy way for me to set the 'cut' points. I have used a few similar programs in Windows (for other formats), but I am unsure of what is out there for Ubuntu. Does anyone have any suggestions? Thanks!

share|improve this question
up vote 5 down vote accepted

Thanks for the answers I have received so far! I think I have found a utility that works for my needs. After some research, it seems that (the makers of theora) have a utility that has a chop functionality that takes a time offset (much like the ffmpeg utility that aking1012 mentioned ) called oggz-tools Install oggz-tools

It does a direct stream cut as well, meaning the quality stays the same and the process only takes a about 10-15 seconds. I have more playing around to do with it, but it seems like a winner after using it for a few videos.

share|improve this answer
Good, I am aware of oggz-tools, I use it mainly to embed metadata in theora without re-encoding. – Sabacon Nov 17 '10 at 4:56

You could try Avidemux available in the repositories, you can install it from the software center, mark the segment you want, select your container type and use the copy options to get the marked segment out without re-encoding, More information about Avidemux here:

share|improve this answer
I installed AVIDemux, however, when I try load the file I am working with, it says can not load file. Any ideas? – Jason Watkins Nov 17 '10 at 2:40
Oh, I am so sorry, it seem after all these years the .ogv format is not supported yet, only the older unofficial .ogm – Sabacon Nov 17 '10 at 22:34
Not a problem, thanks for the suggestion anyway! – Jason Watkins Nov 18 '10 at 4:39

this can be easily accomplished with kdenlive if you like gui's or with ffmpeg using
ffmpeg -vcodec copy -ss 00:01:00 -t 00:03:00 -i infile.ogv outfile.ogv
if you want to time slice it...guaranteed no re-encoding of the video with the ffmpeg approach

share|improve this answer
note: you should already have all the ffmpeg stuff you need to do this if you have ffmpeg2theora – RobotHumans Nov 16 '10 at 4:33
I tried out kdenlive, but it was being very unresponsive when trying to view the video in the embedded player. I also tried out ffmpeg, however, it seems to be re-encoding my video instead of a straight stream copy. Any ideas? – Jason Watkins Nov 17 '10 at 4:47
vcodec copy shouldn't re-encode it should copy stream data still get % marks because it has to redo the time markers may need an -acodec same to keep from messing with the audio i'll check – RobotHumans Nov 17 '10 at 12:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.