Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dvd_copy [2023/04/09 21:40] beandogdvd_copy [2025/02/07 10:30] (current) beandog
Line 4: Line 4:
   * [[https://github.com/beandog/dvd_info]] - source code   * [[https://github.com/beandog/dvd_info]] - source code
  
-''dvd_copy'' ships with the [[dvd_info]] package. It lets you copy a track with specific chapters from a disc to filesystem or stdout. See ''--help'' for options+''dvd_copy'' ships with the [[dvd_info]] package. It lets you copy a track with specific chapters from a disc to filesystem or stdout. See ''--help'' for options. There is also man page.
- +
-<code> +
-dvd_copy - copy single DVD track +
- +
-Usage: dvd_copy [path] [options] +
- +
-Options: +
-  -t, --track <number>     Copy selected track (default: longest) +
-  -c, --chapter <#>[-#   Copy chapter number or range (default: all) +
-  -o, --output <filename>  Save to filename (default: dvd_track_##.mpg) +
-      --output -           Write to stdout +
- +
-DVD path can be a device name, a single file, or directory (default: /dev/sr0) +
-</code>+
  
 Note that saving to a ''vob'' or ''mpg'' extension doesn't change the content, I'm only adding those examples as a visual indicator that that's what the formats are. Note that saving to a ''vob'' or ''mpg'' extension doesn't change the content, I'm only adding those examples as a visual indicator that that's what the formats are.
Line 29: Line 15:
  
 <code> <code>
-dvd_copy '/dev/sr0' -t '1' -o '-' 2> /dev/null | ffmpeg -i '-' -map '0:v' -map 'i:0x80' -vcodec 'libx264' -acodec 'copy' -y 'dvd_rip.mkv'+dvd_copy '/dev/sr0' -t '1' -o '-' | ffmpeg -i '-' -map '0:v' -map 'i:0x80' -vcodec 'libx264' -acodec 'copy' -y 'dvd_rip.mkv'
 </code> </code>

Navigation