Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ffmpeg [2019/06/28 20:16]
beandog
ffmpeg [2019/07/14 01:54] (current)
beandog
Line 2: Line 2:
  
   * [[ffplay]]   * [[ffplay]]
 +  * [[ffprobe]]
   * [[frameinfo]]   * [[frameinfo]]
   * [[framecount]]   * [[framecount]]
Line 7: Line 8:
   * [[yadif]]   * [[yadif]]
   * [[bwdif]]   * [[bwdif]]
-  * [[DVD Closed Captioning]]+  * [[Subtitles]]
  
 +  * [[https://​amiaopensource.github.io/​ffmprovisr/​|ffmprovisr]]
   * [[https://​en.wikibooks.org/​wiki/​FFMPEG_An_Intermediate_Guide]]   * [[https://​en.wikibooks.org/​wiki/​FFMPEG_An_Intermediate_Guide]]
   * [[http://​wiki.indie-it.com/​wiki/​FFmpeg_DVD]] - lots of good, detailed ffmpeg examples   * [[http://​wiki.indie-it.com/​wiki/​FFmpeg_DVD]] - lots of good, detailed ffmpeg examples
Line 15: Line 17:
  
 <​code>​ <​code>​
-dvd_copy -o - | ffmpeg -i - -map 0:v -map 0:a -c:v copy -c:a copy -f vob dvd_copy.mpg ​+dvd_copy -o - | ffmpeg -i - -map 0:v -map 0:a -map 0:-codec copy -f vob dvd_copy.mpg ​
 </​code>​ </​code>​
  
Line 36: Line 38:
 START=0 START=0
 END=60000 END=60000
 +title=Chapter 1
 [CHAPTER] [CHAPTER]
 TIMEBASE=1/​1000 TIMEBASE=1/​1000
 START=60000 START=60000
 END=120000 END=120000
 +title=Chapter 2
 [CHAPTER] [CHAPTER]
 TIMEBASE=1/​1000 TIMEBASE=1/​1000
 START=120000 START=120000
 END=180000 END=180000
 +title=Chapter 3
 [CHAPTER] [CHAPTER]
 TIMEBASE=1/​1000 TIMEBASE=1/​1000
 START=180000 START=180000
 END=240000 END=240000
 +title=Chapter 4
 </​code>​ </​code>​
  
Line 54: Line 60:
 <​code>​ <​code>​
 ffmpeg -i video.mpg -i chapters.txt -map_metadata 1 video.mkv ffmpeg -i video.mpg -i chapters.txt -map_metadata 1 video.mkv
 +</​code>​
 +
 +You can extract the metadata as well:
 +
 +<​code>​
 +ffmpeg -i dvd_copy.mkv -f ffmetadata metadata.txt
 </​code>​ </​code>​
  

Navigation