Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-youtube-lyte domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/robohara/public_html/www.robohara.com/wp-includes/functions.php:6114) in /home4/robohara/public_html/www.robohara.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":8089,"date":"2015-07-25T10:00:49","date_gmt":"2015-07-25T15:00:49","guid":{"rendered":"http:\/\/www.robohara.com\/?p=8089"},"modified":"2015-07-25T10:00:49","modified_gmt":"2015-07-25T15:00:49","slug":"modifying-mp4-metadata-from-the-command-line-with-atomicparsley","status":"publish","type":"post","link":"https:\/\/www.robohara.com\/?p=8089","title":{"rendered":"Modifying MP4 Metadata from the Command Line with AtomicParsley"},"content":{"rendered":"

I’ve spent several years ripping my physical DVDs into files that can be streamed from my computer. Because I’ve been doing this for so long, I’ve ripped lots of different movies lots of different ways using lots of different programs. This leads to movies in lots of different formats. <\/p>\n

For the past couple of years I’ve been using WinX DVD Ripper, but unfortunately on a lot of longer movies the audio and video kept getting out of sync. Because of this, I switched to HandBrake. Not only does HandBrake work faster and doesn’t have audio sync issues, but it’s also free. Another big, big advantage is that HandBrake has the ability to include multiple audio tracks in an mp4 file. Finally, I can start including both the original audio AND the commentary track in a single file!<\/p>\n

The only problem I’ve had with HandBrake is that WinX DVD Ripper automatically put the file name in the Title metadata field, and HandBrake doesn’t. This seems like a very minor detail, and it kind of is, but unfortunately my media server (Twonky) sorts movies by the Title Field first and filename second. Because of this very minor difference in ripping programs, my movies no longer show up in alphabetical order. All the ones I ripped with HandBrake show up first, followed by all the ones I ripped with WinX DVD Ripper. No bueno!<\/p>\n


\nTitle Field<\/i><\/center><\/p>\n

This set me off on one of those random Google adventures. “How do I…” followed by a hundred different combinations of words. Eventually I stumbled on AtomicParsley, a command line utility that is capable of changing the tags in mp4 files. Perfect!<\/p>\n

After placing AtomicParsley.exe in my Windows path, I ended up writing two batch files: Process-File.bat and Process-Directory.bat. In HandBrake under Tools > Options > General I put Process-File.bat in the “Send File To” field so that it will run automatically after every single movie is converted. Process-Directory.bat can be used to update all the mp4 files in a directory.<\/p>\n

For Process-File.bat to work you will need AtomicParsley.exe somewhere in your Windows path (i.e.: c:windowssystem32) and the c:dvd directory should be wherever your movies get saved.<\/p>\n

Process-File.bat<\/b>
\nAtomicParsley.exe “c:dvd%~n1.mp4” –title “%~n1” –overWrite<\/i><\/p>\n

For Process-Directory to work, simply place the batch file in the same directory as your movie files and then run it from a command prompt.<\/p>\n

Process-Directory.bat<\/b>
\nfor %%i in (*.mp4) do (
\n\tAtomicParsley “%%i” –title “%%i” –overWrite
\n)
\n<\/i><\/p>\n

Again, all this does is take the file name and inject it back into the title field in the metadata which things like iTunes (or view properties) can see.<\/p>\n

Link: AtomicParsley<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

I’ve spent several years ripping my physical DVDs into files that can be streamed from my computer. Because I’ve been doing this for so long, I’ve ripped lots of different movies lots of different ways using lots of different programs. This leads to movies in lots of different formats. For the past couple of years I’ve been using WinX DVD Ripper, but unfortunately on a lot of longer movies the audio and video kept getting out of sync. Because of this, I switched to HandBrake. Not only does HandBrake work faster and doesn’t have audio sync issues, but it’s also… (read more)<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8089","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.robohara.com\/index.php?rest_route=\/wp\/v2\/posts\/8089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robohara.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robohara.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robohara.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robohara.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8089"}],"version-history":[{"count":0,"href":"https:\/\/www.robohara.com\/index.php?rest_route=\/wp\/v2\/posts\/8089\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.robohara.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robohara.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robohara.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}