{"id":4242,"date":"2013-05-23T07:18:51","date_gmt":"2013-05-23T07:18:51","guid":{"rendered":"http:\/\/178.62.14.192\/?p=4242"},"modified":"2013-05-23T07:18:51","modified_gmt":"2013-05-23T07:18:51","slug":"convert-raspberrypi-camera-h264-to-mp4","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=4242","title":{"rendered":"Convert #RaspberryPi camera .h264 to .mp4"},"content":{"rendered":"<p>Alex Eames has documented a piece of info from Matthew Manning&#8217;s video about using MP4Box to convert the raw H264 output of the camera to an MP4 format.\u00a0<a style=\"letter-spacing: 0.05em; line-height: 1.6875;\" href=\"http:\/\/raspi.tv\/2013\/another-way-to-convert-raspberry-pi-camera-h264-output-to-mp4\">Read more here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alex Eames has documented a piece of info from Matthew Manning&#8217;s video about using MP4Box to convert the raw H264 output of the camera to an MP4 format.\u00a0Read more here<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=4242\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[8,51],"tags":[],"class_list":["post-4242","post","type-post","status-publish","format-standard","hentry","category-camera-module","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Convert #RaspberryPi camera .h264 to .mp4 - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=4242\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Convert #RaspberryPi camera .h264 to .mp4 - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Alex Eames has documented a piece of info from Matthew Manning&#8217;s video about using MP4Box to convert the raw H264 output of the camera to an MP4 format.\u00a0Read more hereRead more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=4242\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-23T07:18:51+00:00\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Convert #RaspberryPi camera .h264 to .mp4\",\"datePublished\":\"2013-05-23T07:18:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242\"},\"wordCount\":39,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"articleSection\":[\"Camera module\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242\",\"name\":\"Convert #RaspberryPi camera .h264 to .mp4 - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\"},\"datePublished\":\"2013-05-23T07:18:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4242#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Convert #RaspberryPi camera .h264 to .mp4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/recantha\\\/\",\"https:\\\/\\\/x.com\\\/recantha\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/recantha\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Convert #RaspberryPi camera .h264 to .mp4 - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=4242","og_locale":"en_US","og_type":"article","og_title":"Convert #RaspberryPi camera .h264 to .mp4 - Raspberry Pi Pod","og_description":"Alex Eames has documented a piece of info from Matthew Manning&#8217;s video about using MP4Box to convert the raw H264 output of the camera to an MP4 format.\u00a0Read more hereRead more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=4242","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-05-23T07:18:51+00:00","author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4242#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4242"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Convert #RaspberryPi camera .h264 to .mp4","datePublished":"2013-05-23T07:18:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4242"},"wordCount":39,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Camera module","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=4242#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4242","url":"https:\/\/www.recantha.co.uk\/blog\/?p=4242","name":"Convert #RaspberryPi camera .h264 to .mp4 - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-05-23T07:18:51+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4242#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=4242"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4242#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Convert #RaspberryPi camera .h264 to .mp4"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-16q","jetpack-related-posts":[{"id":4083,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4083","url_meta":{"origin":4242,"position":0},"title":"Convert #RaspberryPi camera module output to MP4 or FLV","author":"Michael Horne","date":"16 May 2013","format":false,"excerpt":"Once the camera module has captured video, you are left with an raw H264 file. Now, some players can already play this but what you really want to do is convert it to a common format like MP4. (This is actually 'wrapping' the H264 output inside an MP4 'container', but\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cdn-static.cnet.co.uk\/i\/c\/blg\/cat\/desktops\/raspberry-pi-camera-module-1.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cdn-static.cnet.co.uk\/i\/c\/blg\/cat\/desktops\/raspberry-pi-camera-module-1.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/cdn-static.cnet.co.uk\/i\/c\/blg\/cat\/desktops\/raspberry-pi-camera-module-1.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":3100,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=3100","url_meta":{"origin":4242,"position":1},"title":"First encoded video from my #RaspberryPi camera module \/ @Raspberry_Pi","author":"Michael Horne","date":"21 March 2013","format":false,"excerpt":"After much messing around with both ffmpeg and avconv, I've finally found a combination that works to convert a raw H264 recording from the camera module to something usable. I converted it to an Ogg-format video. That means that it\u00a0should display below. I haven't figured out how to convert to\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4162,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4162","url_meta":{"origin":4242,"position":2},"title":"Stream the #RaspberryPi camera module to VLC media player","author":"Michael Horne","date":"18 May 2013","format":false,"excerpt":"Leo White, on the Foundation forum, has provided the answer to a question I asked about streaming from the Pi camera to VLC. There are two alternatives. One is over http, the other uses the rstp protocol. Here's the HTTP version: raspivid -o - -t 9999999 -w 800 -h 600\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4165,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4165","url_meta":{"origin":4242,"position":3},"title":"Stream the #RaspberryPi camera module through your browser","author":"Michael Horne","date":"19 May 2013","format":false,"excerpt":"Using a combination of the things I've learned up to now and a little help from others on the internet, I've worked out how to embed video from the Raspberry Pi camera module inside a web-page. There are two methods of outputting video for this: HTTP and RTSP. I'll deal\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/static.techspot.com\/images2\/news\/thumbs\/2012-07-16-teaser0ec.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4052,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4052","url_meta":{"origin":4242,"position":4},"title":"Streaming live with the #RaspberryPi camera module to Bambuser","author":"Michael Horne","date":"14 May 2013","format":false,"excerpt":"With the release of the camera module to a wider audience, I thought I'd share some of things I've learnt. To start off, here's some information about using the camera with Bambuser.com. This is in part taken from Marcus Olsson's blog post about streaming with a webcam. First of all,\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/static.bambuser.com\/themes\/b4\/images\/b4\/bambuser-logo.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4124,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4124","url_meta":{"origin":4242,"position":5},"title":"RasPi.TV does the #RaspberryPi camera module","author":"Michael Horne","date":"17 May 2013","format":false,"excerpt":"Alex Eames has done an excellent tutorial on capturing video with the Raspberry Pi camera module and converting it into an MP4 file suitable for video editing with Pinnacle or other video editing software. Head on over to RasPi.TV to watch the video and read more.","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2013\/05\/Picam-on-phone-150x150.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4242"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4242\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}