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
Next revision Both sides next revision
ffmpeg [2019/06/29 04:21]
beandog
ffmpeg [2019/07/08 18:47]
beandog
Line 59: Line 59:
 <​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>​
 +
 +** Display stream info in JSON **
 +
 +<​code>​
 +ffprobe -i dvd_copy.mpg -hide_banner -probesize 67108864 -analyzeduration 60000000 -show_format -of json -show_streams 2> /dev/null
 </​code>​ </​code>​
  

Navigation