{"id":822,"date":"2019-01-17T22:47:42","date_gmt":"2019-01-18T03:47:42","guid":{"rendered":"http:\/\/main.jmah.net\/?p=822"},"modified":"2021-05-09T13:27:04","modified_gmt":"2021-05-09T17:27:04","slug":"extract-audio-and-adjust-volume","status":"publish","type":"post","link":"https:\/\/main.jmah.net\/?p=822","title":{"rendered":"Extract Audio and Adjust Volume"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"168\" src=\"http:\/\/main.jmah.net\/wp-content\/uploads\/2017\/01\/ffmpeg-e1484897077295.jpg\" alt=\"\" class=\"wp-image-714\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The following are two common usages of FFMPEG. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first command extracts an audio track from a video file in the exact format that it was multiplexed info the video file. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second example shows how you can adjust the volume of an audio file with re-encoding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ffmpeg -i input.mpg -map 0:1 -acodec copy -vn output.ac3<br>ffmpeg -i input.ac3 -filter:a &#8220;volume=10dB&#8221; output2.ac3<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following are two common usages of FFMPEG. The first command extracts an audio track from a video file in the exact format that it was multiplexed info the video file. The second example shows how you can adjust the &hellip; <a href=\"https:\/\/main.jmah.net\/?p=822\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-822","post","type-post","status-publish","format-standard","hentry","category-ffmpeg","category-research-information-technology"],"_links":{"self":[{"href":"https:\/\/main.jmah.net\/index.php?rest_route=\/wp\/v2\/posts\/822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/main.jmah.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/main.jmah.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/main.jmah.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/main.jmah.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=822"}],"version-history":[{"count":3,"href":"https:\/\/main.jmah.net\/index.php?rest_route=\/wp\/v2\/posts\/822\/revisions"}],"predecessor-version":[{"id":826,"href":"https:\/\/main.jmah.net\/index.php?rest_route=\/wp\/v2\/posts\/822\/revisions\/826"}],"wp:attachment":[{"href":"https:\/\/main.jmah.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/main.jmah.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/main.jmah.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}