Thursday, December 15, 2011

FTP Error Codes

Code Description
100 Codes The requested action is being taken. Expect a reply
before proceeding with a new command.
110 Restart marker reply.
120 Service ready in (n) minutes.
125 Data connection already open, transfer starting.
150 File status okay, about to open data connection.
200 Codes The requested action has been successfully completed.
200 Command okay.
202 Command not implemented
211 System status, or system help reply.
212 Directory status.
213 File status.
214 Help message.
215 NAME system type. (NAME is an official system name from the list
in the Assigned Numbers document.)
220 Service ready for new user.
221 Service closing control connection. (Logged out if appropriate.)
225 Data connection open, no transfer in progress.
226 Closing data connection. Requested file action successful (file
transfer, abort, etc.).
227 Entering Passive Mode
230 User logged in, proceed.
250 Requested file action okay, completed.
257 "PATHNAME" created.
300 Codes The command has been accepted, but the requested
action is being held pending receipt of further information.
331 User name okay, need password.
332 Need account for login.
350 Requested file action pending further information.
400 Codes The command was not accepted and the requested action
did not take place.

The error condition is temporary, however, and the action may be
requested again.
421 Service not available, closing control connection. (May be a reply
to any command if the service knows it must shut down.)`
425 Can't open data connection.
426 Connection closed, transfer aborted.
450 Requested file action not taken. File unavailable (e.g., file busy).
451 Requested action aborted, local error in processing.
452 Requested action not taken. Insufficient storage space in system.
500 Codes The command was not accepted and the requested action
did not take place.
500 Syntax error, command unrecognized. This may include errors such
as command line too long.
501 Syntax error in parameters or arguments.
502 Command not implemented.
503 Bad sequence of commands.
504 Command not implemented for that parameter.
530 User not logged in.
532 Need account for storing files.
550 Requested action not taken. File unavailable (e.g., file not found,
no access).
552 Requested file action aborted, storage allocation exceeded
553 Requested action not taken. Illegal file name.

Wednesday, December 14, 2011

A closer look at H.264 licenses

Article
http://www.zdnet.com/blog/bott/a-closer-look-at-the-costs-and-fine-print-of-h264-licenses/2884

TLDR: Basically h264 license is paid for by hardware manufacturers for each chip. Or software manufacturers selling a license, like Adobe Creative Suite.

Wednesday, November 30, 2011

Monday, November 14, 2011

Basic HTML5 Embed



Sample code:

<video controls width="640" height="360">
  <source src="http://www.pixelgoat.net/encoding/markus_output/html5/fuerte.mp4" type='video/mp4' />
  <source src="http://www.pixelgoat.net/encoding/markus_output/html5/fuerte.webm" type='video/webm' />
</video>

Suggested HTML5 Video targets:

mp4 - videos play in Safari, Internet Explorer, Android, and iPhone
webm - videos play in FireFox, Chrome, and Android
flv - Flash fallback, requires Adobe Flash plugin
ogg - older format, lower quality, for old versions of FireFox


NOTE: For Android devices, I'd still recommend Webm VP8 for 100% compatibility. With Android there is spotty support for Flash, HLS, and MP4 depending on manufacturer, OS version, and preinstalled players.

Friday, October 28, 2011

Vidly Cat

Thursday, October 13, 2011

6532 poster frame 16:9 scaling

Regular embed at 640x360



<iframe frameborder="0" width="640" height="360" name="vidly-frame" src="http://vid.ly/embeded.html?link=6x3d0a&autoplay=false"><a target='_blank' href='http://vid.ly/6x3d0a'><img src='http://cf.cdn.vid.ly/6x3d0a/poster.jpg' /></a></iframe>

Smaller version at 512x288



<iframe frameborder="0" height="288" name="vidly-frame" src="http://vid.ly/embeded.html?link=6x3d0a&autoplay=false" width="512"><a target='_blank' href='http://vid.ly/6x3d0a'><img src='http://cf.cdn.vid.ly/6x3d0a/poster.jpg' /></a></iframe>

Smallest version at 432x240



<iframe frameborder="0" height="240" name="vidly-frame" src="http://vid.ly/embeded.html?link=6x3d0a&autoplay=false" width="432"><a target='_blank' href='http://vid.ly/6x3d0a'><img src='http://cf.cdn.vid.ly/6x3d0a/poster.jpg' /></a></iframe>

Wednesday, October 12, 2011

Vid.ly Demo

16:9 widescreen aspect ratio example

From http://vid.ly/1s2t8y

Sample code:
<iframe frameborder="0" width="640" height="360" name="vidly-frame" src="http://vid.ly/embeded.html?link=1s2t8y&autoplay=false"><a target='_blank' href='http://vid.ly/1s2t8y'><img src='http://cf.cdn.vid.ly/1s2t8y/poster.jpg' /></a></iframe>

4:3 standard aspect ratio example

From http://vid.ly/4a5n8f

Sample code:
<iframe frameborder="0" width="480" height="360" name="vidly-frame" src="http://vid.ly/embeded.html?link=4a5n8f&autoplay=false"><a target='_blank' href='http://vid.ly/4a5n8f'><img src='http://cf.cdn.vid.ly/4a5n8f/poster.jpg' /></a></iframe>

6517 Vidly AddMediaLite fails in Firefox

Friday, August 26, 2011

Making a 720p intermediate

Many customers have been asking for a quick guide to locally crunching their large HDV, XDCAM, ProRes, or DVCPro source. These files can range from 25-100+ Mbps, and may take a long time to move over the internets.

Many VOD customers prefer a H264 intermediate for best quality and filesize:

File Format: MP4 or M4V
Video: 1280x720p H264 @ 5 Mbps or higher
Audio: 44100 Stereo AAC @ 192 Kbps or higher

If you are having audio sync issues, we recommend exporting from Apple apps using MP4 instead of MOV. Often the timescale problems with MOV files are variable framerate or custom chapter markers. Forcing Apple's MacOS core media engine to MP4 output should lock a constant framerate and solve the sync problems.

Option #1 - MPEG Streamclip: With a simple interface similar to Apple's own QT Player, we find MPEG Streamclip to be a great tool for making fast edits and exporting a high-quality mp4 mezzanine. I also really like how all the settings are in one window and can be customized very quickly without having to click thru sub-windows.


Option #2 - Handbrake: Another very popular tool, since it is a 64-bit multicore x264 encoder on both Mac and PC and very fast. Default quality is very good using the "Regular -> Normal" setting for main profile.





Option #3 - Adobe CS6 Media Encoder: If you already have one of the CS6 applications, Adobe's encoder is very good. I generally go with the 720p Vimeo HD setting.


Option #4 - Final Cut Pro 7.x: You can export a sequence directly from FCP 7 using "QuickTime Conversion". This will take about 4x longer than other methods, due to it's legacy 32-bit processing. You will also need to modify many of the settings for framesize, aspect ratio, audio codec, and single-pass. Screenshot details below.






Premiere Pro CS5 vs. Final Cut Pro Shootout

Great shootout posted by David Basulto

Apple has basically neglected Final Cut Pro 7 for years, with very few improvements since version 5. Most notably, it still runs in 32-bit mode and uses less than half the processor cores of the new Macs. Then they released the FCP X shitpile, aka "iMovie Pro", which was obviously designed by someone who hasn't made their living editing video for the past decade.

So, looks like it's time to see what Adobe's got cookin'! I'm gonna be using Premiere CS5 more in day-to-day, and will post a real review next month.

Wednesday, August 24, 2011

Open Broadcast Encoder

OBE-RT http://ob-encoder.ning.com/
0.1-beta release. This release has been tested on a production IPTV network and is suitable for long-term testing in a lab or production environment.
• HD/SD SDI input with Decklink cards.
• AVC encoding using the x264 encoder
• MP2/AC-3/E-AC3/AAC (AAC is experimental) audio encoding
• VANC support (includes CEA-708 captions and AFD)
• WSS to AFD conversion
• Line blanking (Line 21 for NTSC and Line 23 for PAL)
• 3DTV frame packing
• Full control of the TS mux parameters
• UDP/RTP output with unicast and multicast output support
• Experimental IP-in to IP-out transcoding with audio and PID passthrough

Dark Shikari's technical analysis of VP8

http://x264dev.multimedia.cx/archives/377

TLDR: Overall, VP8 appears to be significantly weaker than H.264 compression-wise. The primary weaknesses mentioned above are the lack of proper adaptive quantization, lack of B-frames, lack of an 8×8 transform, and non-adaptive loop filter. With this in mind, I expect VP8 to be more comparable to VC-1 or H.264 Baseline Profile than with H.264. Of course, this is still significantly better than Theora, and in my tests it beats Dirac quite handily as well.

Monday, August 15, 2011

#6072 Incorrect poster frame



The correct image for poster frame should be http://vidly.s3.amazonaws.com/2s1x2l/link.jpg

Using embed code from http://vid.ly/2s1x2l/ modified to use "link.jpg" as the poster image as follows:

<iframe frameborder="0" width="640" height="360" name="vidly-frame" src="http://vid.ly/embeded.html?link=2s1x2l&autoplay=false"><a target='_blank' href='http://vid.ly/2s1x2l'><img src='http://vidly.s3.amazonaws.com/2s1x2l/link.jpg'/></a></iframe>

Sony F3′s S-Log firmware upgrade



S-Log is a gamma curve that stretches blacks and compresses highlights so that you can manipulate the image extensively in post. It needs a high end codec (10 bit and moderate compression) due to the heavy post manipulation to be done in the grade. More details at http://nofilmschool.com/2011/04/sony-f3-uncompressed-s-log-footage-hits/

Alister explains log curves on his blog at http://www.xdcam-user.com/2011/01/understanding-gamma-cinegamma-hypergamma-and-s-log/

Tuesday, August 9, 2011

Android models


JW Player embed modes

The JW Embedder currently offers 3 modes:

Flash mode - The original JW Player mode. Uses the Flash Platform to playback streaming and progressive video, images, and sound.

HTML5 mode - HTML5 offers support on the most up-to-date browsers and devices such as the iPhone, iPad, and Android.

Download mode
- Download offers the widest range of compatibility, allowing users with almost any video capable device to view the content.

The player can only run in one mode at a time, and certain features (including plugins, skins, and the JavaScript API) are disabled in download mode.

From
http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18508/jw-embedder-modes

Monday, July 18, 2011

Difference between Adobe FLV and F4V

Short Answer:
FLV is Flash 9, single-file h264 we know and love.
F4V is Flash 10, HTTP Dynamic Streaming (HDS) segmented streaming file similar to Apple HLS

Long Answer:
http://www.thekuroko.com/2011/06/articles/http-dynamic-streaming-getting-started/

HTTP Dynamic Streaming (HDS) allows for the delivery of streaming content over the HTTP protocol.

sample.f4m: This is an XML file created by the f4fpackager that contains the information necessary for a client player to playback the video file. There will be only one of these for each source video file.

sampleSeg1.f4f: This segment file contains the fragments that the client player will request for playback. There can be multiple of these files for each source video file.

sampleSeg1.f4x: This is an index file that contains specific information about the fragments inside the segment files. There will be one of these types of files for each segment file. The HTTP Origin Module uses the data in this file to determine the fragment to send back to the client after a request.

Friday, July 8, 2011

Perfecting h264 conversion with ffmpeg

From FlowPlayer forums, useful info... gonna have fun digging thru it this weekend.

http://flowplayer.org/forum/7/12671

Wednesday, July 6, 2011

Muppet Vid.ly

NYVS Test

http://www.nyvs.teracode.com/courses/Adobe-After-Effects-Basics/working-with-text-1#v

Tuesday, June 28, 2011

List of QuickTime mp4 atoms

Very useful list at
http://wiki.multimedia.cx/index.php?title=QuickTime_container

Particularly the parts about "elst" edit lists with regards to iPhone video.

Function: edit list
Contained In: edts
Can Contain: leaf atom

The elst atom contains the edit list. The edit list contains information about the times and durations that pieces of a media track are to be presented during playback. There are many Quicktime file decoders that choose to ignore this atom. This is not a good idea. The edit list atom must be taken into account to guarantee proper A/V sync on certain files.

Monday, June 27, 2011

16x16 Macroblocks

Modern video codecs do a much more efficient job when the horizontal and vertical framesize dimensions are multiples of 16. Good examples include:

SD (4:3) aspect ratios: 320x240, 432x320, 480x360, 576x432, 640x480, 720x540, 768x576
HD (16:9) aspect ratios: 432x240, 576x320, 640x360, 768x432, 848x480, 960x540, 1024x576, 1280x720, 1536x864, 1920x1080


In 4:2:0 H.264/AVC coding, each block contains 4 luminance samples (Y), 1 blue sample (Cb), and 1 red sample (Cr). Modern video decoding chips (GPUs) are optimized for playback of 16x16 macroblocking.

For HD videos, please use high video profile, see tags below. HD videos may stutter during playback on older computers or devices with low-end graphics hardware.

PROFILES

Baseline - for low definition (LD) 320x240 or smaller, compatible with older 3G mobiles
Main - for standard definition (SD) to 640x480, good for modern smartphones and tablets
High - for high definition (HD) to 1920x1080, best for big screens with a good decoder

Wednesday, June 22, 2011

Raiden Wins


forward, back, back, back, low punch circa 1993

Tuesday, June 21, 2011

Microsoft Smooth Streaming (.ismv)

So, if you start seeing these *.ismv files out there, just know that they're
Fragmented MPEG-4
With VC-1 or H.264 for video
WMA 10 Pro or AAC-LC for audio

http://forum.doom9.org/archive/index.php/t-145308.html

Erlyvideo RTMP Flash streaming

Erlyvideo is an RTMP flash streaming server, written in erlang. It is a replacement to Adobe Flash Media Server, Red5 or Wowza. It is much more featured than free Red5, cheaper than others. It can utilize 1GB channel, serving from one computer to 4000 and more clients.

Install instructions at http://erlyvideo.org/install/source

Saturday, June 18, 2011

Startup Guys

Wednesday, June 15, 2011

My First Vid.ly post! Oh My God by Mark Ronson


Make your own video universal URL at http://vid.ly

Codec Packs

Great codec list at FourCC
http://www.fourcc.org/codecs.php


And downloadable codec pack list at
http://www.free-codecs.com/download/ACE_Mega_CoDecS_Pack.htm

Tuesday, June 14, 2011

"moov atom not found" fix with AtomicParsley

moov atom not found
If ffmpeg gives you this error when encoding a video:

moov atom not found

Use AtomicParsley (Windows) to fix your atoms:
AtomicParsley myVideo.mp4 -P

The -P flag purges some meta data out of your video that you probably didn't know about or care about. You can also use AtomicParsley to set meta data -- artist, album, etc.

See: AtomicParsley --longhelp
AtomicParley is a simple to use command line utility. You'll be encoding with ffmpeg in no time.

Wednesday, May 18, 2011

Install and use the latest FFmpeg and x264

1. Install guide for Ubuntu

2. x264 ffmpeg mapping and options guide

3. Basic ffmpeg usage

4. x264 settings

5. FFmpeg A/V manipulation guide at http://howto-pages.org/ffmpeg/

6. Correcting A/V sync with http://www.kkoncepts.net/node/69

UPDATE June 2013: This guide for Ubuntu 13.04 Raring Ringtail and Linux Mint 15 Olivia will provide a local install of the latest FFmpeg tools and libraries including several external encoding and decoding libraries (codecs). This will not provide a system installation and therefore will not interfere with anything such as repository packages.

Tuesday, May 10, 2011

Embedding iTunes art with AtomicParsley

AtomicParsley is a lightweight command line program that can read and set iTunes-style metadata tags in MPEG-4 files & 3gp assets in 3GPP/3GPP2 files.

http://atomicparsley.sourceforge.net/

Thursday, May 5, 2011

x264 Plugin for Apple Compressor

Just found this great how-to by Andy Beach, the author of Real World Video Compression.

MacUpdate has the download at http://www.macupdate.com/app/mac/24173/x264encoder

Thursday, April 14, 2011

Cirque du Soleil - Beatles LOVE for iPad and iPhone

Problem: Sample videos had poor image quality and were extremely blocky.

Fix: Designed custom settings for all web browsers and mobile devices to display high quality playback.


Unicorn Media - Correcting MPEG4 A/V Sync

Problem: Audio and video out of sync, due to corrupted QuickTime timescale in MPEG-4 source.

Fix: Gave new Final Cut Pro and Compressor settings for correcting the problem.


Grab Networks - Improving quality across platforms

Problem: Video encoding was not playing back on all mobile devices.

Fix: Designed custom settings to make video look good on all platforms.


Lullabot - Video stuttering with dropped frames

Problem: Source file was 15 frames-per-second and Lullabot was seeing stuttering on output, where a frame of video would hang every couple minutes.

Fix: Changed output framerate from 29.97 to 30 frames-per-second to make playback smoother and remove the misbehaving drop frame.

Thursday, March 31, 2011

MPEG-2 Analyzers

MediaInfo is a great all-around video file tool.
http://mediainfo.sourceforge.net/en

MPEG Parser by DVD Logic is good (Windows)
http://www.dvd-logic.com/mpegparser.htm

Trial version of CodecVisa (Windows) will display GOP structure
Full version is expensive.
http://www.codecian.com/features.html

Free software MPEG-2 Transport Stream packet analyser (Windows)
http://www.pjdaniel.org.uk/mpeg/index.php