How to use ffmpeg to rip part of a VOB file

1

I want to convert a VOB file to another video format using ffmpeg. The video that I'm interested in is found in the first half of the VOB file. Is there a way to convert only the part that I'm interested in, or at least just the first half of the VOB, so that I don't have to convert the whole file?

tony_sid

Posted 2010-12-31T19:36:54.053

Reputation: 11 651

Answers

2

Try Handbrake. It's a wrapper for ffmpeg that makes everything easy. It also has a cli version for batching.

bahamat

Posted 2010-12-31T19:36:54.053

Reputation: 5 130

2

yes, you can...ffmpeg -sameq -ss [start_seconds] -t [duration_seconds] -i [input_file] [outputfile]

RobotHumans

Posted 2010-12-31T19:36:54.053

Reputation: 5 758

What about the audio? – tony_sid – 2011-01-01T06:04:07.830

just add -acodec copy in the options – RobotHumans – 2011-01-01T06:24:12.170

Please don't use -sameq: What is the “sameq” or “same_quant” option in FFmpeg? Does it mean “same quality”? – also, -t is an output option and needs to be specified after the input. Your command will not work with any recent ffmpeg versions.

– slhck – 2013-11-20T13:00:14.030