{"id":2490,"date":"2009-01-03T03:28:29","date_gmt":"2009-01-03T01:28:29","guid":{"rendered":"http:\/\/yurukov.net\/blog\/?p=2490"},"modified":"2010-04-10T01:56:23","modified_gmt":"2010-04-09T23:56:23","slug":"encoding-videos-for-lg-viewty-ku990-on-linux","status":"publish","type":"post","link":"https:\/\/yurukov.net\/blog\/2009\/encoding-videos-for-lg-viewty-ku990-on-linux\/","title":{"rendered":"Encoding videos for LG Viewty KU990 on Linux"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/yurukov.net\/blog\/wp-content\/uploads\/2009\/01\/img_8991.jpg\" alt=\"img_8991\" title=\"img_8991\" width=\"450\" height=\"223\" class=\"alignnone size-full wp-image-2460\" \/><\/p>\n<p>As I wrote <a href=\"http:\/\/yurukov.net\/blog\/2009\/01\/03\/noviq-mi-telefon\/\">here<\/a> (in Bulgarian), the phone LG Viewty is great for watching your favorite music clips and TV shows. That is why I wrote a short script that can easily convert a video file in the suitable format. As far as I know, it should also work with the other phones in the series, but I will be glad if someone is able to test it. <!--more--><\/p>\n<h3><strong><a href=\"http:\/\/yurukov.net\/blog\/2009\/01\/03\/prekodirane-na-video-za-lg-viewty\/\"><img decoding=\"async\" src=\"http:\/\/yurukov.net\/blog\/wp-content\/uploads\/2009\/01\/bulgaria_flag-1.png\"width=\"30\" height=\"20\" style=\"margin:0 15px -4px 0;\" \/>\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \/ Bulgarian version<\/a><\/strong><\/h3>\n<h3><strong>Usage<\/strong><\/h3>\n<p>To convert a file, you should run this command:<\/p>\n<blockquote><p>ffviewty &#8222;input_video_filename&#8220; &#8222;target_video_filename&#8220; [-w1|-w2|-w3|-w4]<\/p><\/blockquote>\n<p>Each of the optional codes at the end correspond to a video format. This is necessary so that the clip is not stretched. By default, the script will assume that the input file is in 4\/3 format and will crop it down to 16\/10. This is usually the case with music videos. Here are the other options, where the video is not cropped:<\/p>\n<li><strong>-w1<\/strong> &#8211; 16\/10 &#8211; some TV series and old movies<\/li>\n<li><strong>-w2<\/strong> &#8211; 16\/9 &#8211; most TV series<\/li>\n<li><strong>-w3<\/strong> &#8211; 2.5\/1 &#8211; most movies<\/li>\n<li><strong>-w4<\/strong> &#8211; 4\/3 &#8211; some music videos and all TV recordings<\/li>\n<h3><strong>Installation<\/strong><\/h3>\n<p>The shell script requires <strong>mencoder<\/strong>. First, you should unpack the tar archive leaving the permissions intact. <\/p>\n<blockquote><p>tar xvf ffviewty_11.tar<\/p><\/blockquote>\n<p>The following like will copy the script to \/usr\/local\/bin (for Ubuntu):<\/p>\n<blockquote><p>sudo cp ffviewty \/usr\/local\/bin<\/p><\/blockquote>\n<p>If you are not on Ubuntu, then run this in a root console:<\/p>\n<blockquote><p>cp ffviewty \/usr\/local\/bin<\/p><\/blockquote>\n<h3><strong>Download<\/strong><\/h3>\n<p>The script <a href=\"http:\/\/yurukov.net\/blog\/wp-content\/uploads\/2009\/01\/ffviewty_11.tar\">can be downloaded here<\/a>.<\/p>\n<h3><strong>License<\/strong><\/h3>\n<p>The script, as well as everything on this site, is under the <a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/2.5\/bg\/\">Creative Commons Attribution-Share Alike 2.5<\/a> license. This loosely means that you can use, copy and distribute it freely, but I will love it if you put in a good word for me.<\/p>\n<h3><strong>Ideas<\/strong><\/h3>\n<li>Command on the drop-down menu of video files<\/li>\n<li>Additional options and custom configuration of video formats<\/li>\n<li>Automatic detection of the input video format<\/li>\n<li>GUI with settings, info and progress bar<\/li>\n<li>Automatic detection of pluged Viewty and copying of the encoded file to the Videos folder<\/li>\n<p>If you have any other ideas, suggestions or comments, please share them <a href=\"#respond\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I wrote here (in Bulgarian), the phone LG Viewty is great for watching your favorite music clips and TV shows. That is why I wrote a short script that can easily convert a video file in the suitable format. As far as I know, it should also work with the other phones in the&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[596,595,597,593,591,518,598,594,187,590,188,600,599],"class_list":["post-2490","post","type-post","status-publish","format-standard","hentry","category-technologyandinternet","tag-decode","tag-encode","tag-ffmpeg","tag-ku990","tag-lg","tag-linux","tag-mencoder","tag-recode","tag-video","tag-viewty","tag-188","tag-600","tag-599"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4B9n-Ea","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/posts\/2490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/comments?post=2490"}],"version-history":[{"count":9,"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/posts\/2490\/revisions"}],"predecessor-version":[{"id":6047,"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/posts\/2490\/revisions\/6047"}],"wp:attachment":[{"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/media?parent=2490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/categories?post=2490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yurukov.net\/blog\/wp-json\/wp\/v2\/tags?post=2490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}