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
  • 14,001
  • 51
  • 139
  • 194

2 Answers2

2

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

bahamat
  • 5,646
  • 1
  • 26
  • 26
2

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

RobotHumans
  • 5,904
  • 1
  • 19
  • 25
  • What about the audio? – tony_sid Jan 01 '11 at 06:04
  • just add -acodec copy in the options – RobotHumans Jan 01 '11 at 06:24
  • Please don't use `-sameq`: [What is the “sameq” or “same_quant” option in FFmpeg? Does it mean “same quality”?](http://superuser.com/questions/478549/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 Nov 20 '13 at 13:00