Archive for October, 2008

I have bought an EasyCAP

Tuesday, October 21st, 2008

So i have a lot of family videos on several analog media (VHS-C, Super VHS, Hi-8 and 8mm) that i want to finally convert to something not so vulnerable to aging, DVD being an option but Blu-Ray saying “me! me!” on my head.

Even the fact that I have several workstations with professional level video capture devices, those machines are usually working doing renders or any other thing and is not that I can waste days capturing all that media there, so i decided to buy one of those EasyCap devices on eBay and give it a try.

The specifications are pretty outstanding for what it is, and specially, for the $15 price… AND it is compatible with Mac OS (by using the non-free VideoGlide app) which makes it even better.

Just some highlights:

  • Complies with Universal Serial Bus Specification Rev 2.0
  • Supports NTSC, PAL (B), Video format
  • Video input: RCA composite or S-Video
  • Audio input: Stereo audio (RCA)
  • Dimension(Main Body): 8.8cm x 2.8cm x 1.8cm typical credit card size is 8.5cmx5.4cm)
  • Powers by USB 
  • Supports high quality video resolution for 
  • NTSC: 720 x 480 @30fps
  • PAL: 720 x 576 @25fps

Im still waiting for it to arrive, and i will post several video examples and personal impressions as soon as i get it.

iPhone and iPod Touch compatible video encoding, server side.

Sunday, October 12th, 2008

Some days ago, I published a tutorial with some bash scripts to automate the whole process of encoding MP4 files with H264 video and HE-AAC audio which are playable by flash players and the like.

Since I’m working on a really big project which involves a “youtube like” behavior, i though it would be cool to also create iPhone / iPod compatible streams (I’m amazed at the fact that 3% of the people coming to this site is using iPod’s or iPhone’s)… so, I did some modifications to the original script for it to generate the compatible streams.

Now, how am i dealing with this… well… let me explain you:

The iPhone specification states:

Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats

This means that the high profile streams that I am generating with the MKMP4 script won’t play, simple as that. So i have 2 possible approachs:

  1. I could just use a single low profile stream for the iPhone and iPod, and since the stream is H264 and low complexity AAC audio, it will just play fine on the flash players too.
  2. I could have 2 different files, one for the flash players (making use of b-frames, entropy coding, and a high profile stream, which substantially improves the final video quality).

I decided to use the option 2, mostly because i want to give desktop users as much quality as possible, and i want to use the HE-AAC encoder to save some extra bandwidth that i can instead use for the video stream, so I am using 2 different files, one for desktop users, and a different one for iPhone or iPod users.

(more…)