{"id":195,"date":"2023-12-18T20:23:39","date_gmt":"2023-12-18T20:23:39","guid":{"rendered":"https:\/\/lmponceb.com\/?p=195"},"modified":"2023-12-18T20:23:39","modified_gmt":"2023-12-18T20:23:39","slug":"convertir-avi-a-mp4-o-webm-usando-funciones-lambda-y-ffmpeg","status":"publish","type":"post","link":"https:\/\/lmponceb.com\/index.php\/2023\/12\/18\/convertir-avi-a-mp4-o-webm-usando-funciones-lambda-y-ffmpeg\/","title":{"rendered":"Convertir AVI a MP4 \u00f3 WebM Usando Funciones Lambda y FFMPEG"},"content":{"rendered":"\n<p style=\"background-color:#ffd4de;color:#9e1717\" class=\"has-text-color has-background\"><strong>El contenido de est\u00e9 art\u00edculo deriva del repositorio <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/kefabean\/lambda-transcoder\" target=\"_blank\">https:\/\/github.com\/kefabean\/lambda-transcoder<\/a><\/strong><\/p>\n\n\n\n<p><strong>Instrucciones para generaci\u00f3n del build de FFMPEG<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/trac.ffmpeg.org\/wiki\/CompilationGuide\/Centos\">https:\/\/trac.ffmpeg.org\/wiki\/CompilationGuide\/Centos<\/a><\/p>\n\n\n\n<p><strong>Descarga de Builds est\u00e1ticos FFMPEG<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/johnvansickle.com\/ffmpeg\/\">https:\/\/johnvansickle.com\/ffmpeg\/<\/a><\/p>\n\n\n\n<p>Una vez que generamos o descargamos el build est\u00e1tico de FFMPEG, descargamos las dependencias de la funci\u00f3n<\/p>\n\n\n\n<p>npm install async<br>npm install fluent-ffmpeg<br>npm install s3-upload-stream<\/p>\n\n\n\n<p>Deberemos terminar con un zip que contenga:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"139\" src=\"https:\/\/lmponceb.com\/wp-content\/uploads\/2023\/11\/image-2-1024x139.png\" alt=\"\" class=\"wp-image-196\" srcset=\"https:\/\/lmponceb.com\/wp-content\/uploads\/2023\/11\/image-2-1024x139.png 1024w, https:\/\/lmponceb.com\/wp-content\/uploads\/2023\/11\/image-2-300x41.png 300w, https:\/\/lmponceb.com\/wp-content\/uploads\/2023\/11\/image-2-768x104.png 768w, https:\/\/lmponceb.com\/wp-content\/uploads\/2023\/11\/image-2.png 1462w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>El entorno de ejecuci\u00f3n m\u00e1ximo para esta funci\u00f3n es <strong>Node.js 16.x<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>El contenido de est\u00e9 art\u00edculo deriva del repositorio https:\/\/github.com\/kefabean\/lambda-transcoder Instrucciones para generaci\u00f3n del build de FFMPEG https:\/\/trac.ffmpeg.org\/wiki\/CompilationGuide\/Centos Descarga de Builds est\u00e1ticos FFMPEG https:\/\/johnvansickle.com\/ffmpeg\/ Una vez que generamos o descargamos el build est\u00e1tico de FFMPEG, descargamos las dependencias de la funci\u00f3n npm install asyncnpm install fluent-ffmpegnpm install s3-upload-stream Deberemos terminar con un zip que contenga: El &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lmponceb.com\/index.php\/2023\/12\/18\/convertir-avi-a-mp4-o-webm-usando-funciones-lambda-y-ffmpeg\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Convertir AVI a MP4 \u00f3 WebM Usando Funciones Lambda y FFMPEG&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,17],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-aws","category-linux"],"_links":{"self":[{"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/comments?post=195"}],"version-history":[{"count":2,"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/posts\/195\/revisions\/199"}],"wp:attachment":[{"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/media?parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/categories?post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lmponceb.com\/index.php\/wp-json\/wp\/v2\/tags?post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}