Your IP : 216.73.216.134


Current Path : /opt/rh/rh-python35/root/lib64/python3.5/__pycache__/
Upload File :
Current File : //opt/rh/rh-python35/root/lib64/python3.5/__pycache__/aifc.cpython-35.pyc



���\Z{�@s�dZddlZddlZddlZdddgZGdd�de�ZdZdd	�Zd
d�Z	dd
�Z
dd�Zdd�ZdZ
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd �Zdd!lmZdd"lmZed#d$�ZGd%d&�d&�ZGd'd(�d(�Zdd)d�ZeZed*kr�ddlZej d+d�r�ej j!d,�ej d+Z"ee"d-��Z#e$d.e"�e$d/e#j%��e$d0e#j&��e$d1e#j'��e$d2e#j(��e$d3e#j)��e$d4e#j*��ej d5d�r�ej d5Z+e$d6e+�ee+d7��EZ,e,j-e#j.��x(e#j/d8�Z0e0r�Pe,j1e0�q�WWdQRXe$d9�WdQRXdS):aJStuff to parse AIFF-C and AIFF files.

Unless explicitly stated otherwise, the description below is true
both for AIFF-C files and AIFF files.

An AIFF-C file has the following structure.

  +-----------------+
  | FORM            |
  +-----------------+
  | <size>          |
  +----+------------+
  |    | AIFC       |
  |    +------------+
  |    | <chunks>   |
  |    |    .       |
  |    |    .       |
  |    |    .       |
  +----+------------+

An AIFF file has the string "AIFF" instead of "AIFC".

A chunk consists of an identifier (4 bytes) followed by a size (4 bytes,
big endian order), followed by the data.  The size field does not include
the size of the 8 byte header.

The following chunk types are recognized.

  FVER
      <version number of AIFF-C defining document> (AIFF-C only).
  MARK
      <# of markers> (2 bytes)
      list of markers:
          <marker ID> (2 bytes, must be > 0)
          <position> (4 bytes)
          <marker name> ("pstring")
  COMM
      <# of channels> (2 bytes)
      <# of sound frames> (4 bytes)
      <size of the samples> (2 bytes)
      <sampling frequency> (10 bytes, IEEE 80-bit extended
          floating point)
      in AIFF-C files only:
      <compression type> (4 bytes)
      <human-readable version of compression type> ("pstring")
  SSND
      <offset> (4 bytes, not used by this program)
      <blocksize> (4 bytes, not used by this program)
      <sound data>

A pstring consists of 1 byte length, a string of characters, and 0 or 1
byte pad to make the total length even.

Usage.

Reading AIFF files:
  f = aifc.open(file, 'r')
where file is either the name of a file or an open file pointer.
The open file pointer must have methods read(), seek(), and close().
In some types of audio files, if the setpos() method is not used,
the seek() method is not necessary.

This returns an instance of a class with the following public methods:
  getnchannels()  -- returns number of audio channels (1 for
             mono, 2 for stereo)
  getsampwidth()  -- returns sample width in bytes
  getframerate()  -- returns sampling frequency
  getnframes()    -- returns number of audio frames
  getcomptype()   -- returns compression type ('NONE' for AIFF files)
  getcompname()   -- returns human-readable version of
             compression type ('not compressed' for AIFF files)
  getparams() -- returns a namedtuple consisting of all of the
             above in the above order
  getmarkers()    -- get the list of marks in the audio file or None
             if there are no marks
  getmark(id) -- get mark with the specified id (raises an error
             if the mark does not exist)
  readframes(n)   -- returns at most n frames of audio
  rewind()    -- rewind to the beginning of the audio stream
  setpos(pos) -- seek to the specified position
  tell()      -- return the current position
  close()     -- close the instance (make it unusable)
The position returned by tell(), the position given to setpos() and
the position of marks are all compatible and have nothing to do with
the actual position in the file.
The close() method is called automatically when the class instance
is destroyed.

Writing AIFF files:
  f = aifc.open(file, 'w')
where file is either the name of a file or an open file pointer.
The open file pointer must have methods write(), tell(), seek(), and
close().

This returns an instance of a class with the following public methods:
  aiff()      -- create an AIFF file (AIFF-C default)
  aifc()      -- create an AIFF-C file
  setnchannels(n) -- set the number of channels
  setsampwidth(n) -- set the sample width
  setframerate(n) -- set the frame rate
  setnframes(n)   -- set the number of frames
  setcomptype(type, name)
          -- set the compression type and the
             human-readable compression type
  setparams(tuple)
          -- set all parameters at once
  setmark(id, pos, name)
          -- add specified mark to the list of marks
  tell()      -- return current position in output file (useful
             in combination with setmark())
  writeframesraw(data)
          -- write audio frames without pathing up the
             file header
  writeframes(data)
          -- write audio frames and patch up the file header
  close()     -- patch up the file header and close the
             output file
You should set the parameters before the first writeframesraw or
writeframes.  The total number of frames does not need to be set,
but when it is set to the correct value, the header does not have to
be patched up.
It is best to first set all parameters, perhaps possibly the
compression type, and then write audio frames using writeframesraw.
When all frames have been written, either call writeframes(b'') or
close() to patch up the sizes in the header.
Marks can be added anytime.  If there are any marks, you must call
close() after all frames have been written.
The close() method is called automatically when the class instance
is destroyed.

When a file is opened with the extension '.aiff', an AIFF file is
written, otherwise an AIFF-C file is written.  This default can be
changed by calling aiff() or aifc() before the first writeframes or
writeframesraw.
�N�Error�open�openfpc@seZdZdS)rN)�__name__�
__module__�__qualname__�rr�4/opt/rh/rh-python35/root/usr/lib64/python3.5/aifc.pyr�sl@QEcCsCy!tjd|jd��dSWntjk
r>t�YnXdS)Nz>l�r)�struct�unpack�read�error�EOFError)�filerrr	�
_read_long�s!rcCsCy!tjd|jd��dSWntjk
r>t�YnXdS)Nz>Lr
r)rrr
rr)rrrr	�_read_ulong�s!rcCsCy!tjd|jd��dSWntjk
r>t�YnXdS)Nz>h�r)rrr
rr)rrrr	�_read_short�s!rcCsCy!tjd|jd��dSWntjk
r>t�YnXdS)Nz>Hrr)rrr
rr)rrrr	�_read_ushort�s!rcCs\t|jd��}|dkr*d}n|j|�}|d@dkrX|jd�}|S)N�r�)�ordr
)r�length�data�dummyrrr	�_read_string�s	rg�����cCs�t|�}d}|dkr.d
}|d}t|�}t|�}||koh|kohdknrvd}n>|dkr�t}n)|d}|d|td|d	�}||S)Nrri�gi�i�?lg@�?���)rr�	_HUGE_VAL�pow)�f�expon�sign�himant�lomantrrr	�_read_float�s
'		
r&cCs|jtjd|��dS)Nz>h)�writer�pack)r!�xrrr	�_write_short�sr*cCs|jtjd|��dS)Nz>H)r'rr()r!r)rrr	�
_write_ushort�sr+cCs|jtjd|��dS)Nz>l)r'rr()r!r)rrr	�_write_long�sr,cCs|jtjd|��dS)Nz>L)r'rr()r!r)rrr	�_write_ulong�sr-cCsqt|�dkrtd��|jtjdt|���|j|�t|�d@dkrm|jd�dS)N�z%string exceeds maximum pstring length�Brrs)�len�
ValueErrorr'rr()r!�srrr	�
_write_string�s
r3c	Cseddl}|dkr+d}|d}nd}|dkrRd}d}d}n�|j|�\}}|dks�|dks�||kr�|dB}d}d}n�|d}|dkr�|j||�}d}||B}|j|d�}|j|�}t|�}|j||d�}|j|�}t|�}t||�t||�t||�dS)	Nri�ri@i�i�?� r)�mathZfrexpZldexpZfloor�intr+r-)	r!r)r5r#r"r$r%ZfmantZfsmantrrr	�_write_float�s8
	$
	



r7)�Chunk)�
namedtuple�_aifc_paramsz7nchannels sampwidth framerate nframes comptype compnamec@s0eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1S)2�	Aifc_readcCs�d|_d|_g|_d|_||_t|�}|j�dkrWtd��|jd�}|dkr~d|_	n$|dkr�d|_	ntd��d|_
x�d|_yt|j�}Wntk
r�PYnX|j�}|d	kr|j
|�d|_
ng|d
krA||_|jd�}d|_n7|dkr_t|�|_n|d
krx|j|�|j�q�W|j
s�|jr�td��dS)NrsFORMz file does not start with FORM idr
sAIFFsAIFCrznot an AIFF or AIFF-C filesCOMMsSSND�sFVERsMARKz$COMM chunk and/or SSND chunk missing)�_version�_convert�_markers�	_soundpos�_filer8Zgetnamerr
�_aifcZ_comm_chunk_read�_ssnd_seek_neededr�_read_comm_chunk�_ssnd_chunkr�	_readmark�skip)�selfr�chunkZformdataZ	chunknamerrrr	�initfp)sH							

	
zAifc_read.initfpcCs2t|t�r!tj|d�}|j|�dS)N�rb)�
isinstance�str�builtinsrrJ)rHr!rrr	�__init__PszAifc_read.__init__cCs|S)Nr)rHrrr	�	__enter__VszAifc_read.__enter__cGs|j�dS)N)�close)rH�argsrrr	�__exit__YszAifc_read.__exit__cCs|jS)N)rA)rHrrr	�getfp_szAifc_read.getfpcCsd|_d|_dS)Nrr)rCr@)rHrrr	�rewindbs	zAifc_read.rewindcCs,|j}|dk	r(d|_|j�dS)N)rArQ)rHrrrr	rQfs		zAifc_read.closecCs|jS)N)r@)rHrrr	�telllszAifc_read.tellcCs|jS)N)�
_nchannels)rHrrr	�getnchannelsoszAifc_read.getnchannelscCs|jS)N)�_nframes)rHrrr	�
getnframesrszAifc_read.getnframescCs|jS)N)�
_sampwidth)rHrrr	�getsampwidthuszAifc_read.getsampwidthcCs|jS)N)�
_framerate)rHrrr	�getframeratexszAifc_read.getframeratecCs|jS)N)�	_comptype)rHrrr	�getcomptype{szAifc_read.getcomptypecCs|jS)N)�	_compname)rHrrr	�getcompname~szAifc_read.getcompnamecCs=t|j�|j�|j�|j�|j�|j��S)N)r:rXr\r^rZr`rb)rHrrr	�	getparams�szAifc_read.getparamscCs t|j�dkrdS|jS)Nr)r0r?)rHrrr	�
getmarkers�szAifc_read.getmarkerscCsAx%|jD]}||dkr
|Sq
Wtdj|���dS)Nrzmarker {0!r} does not exist)r?r�format)rH�id�markerrrr	�getmark�szAifc_read.getmarkcCs=|dks||jkr'td��||_d|_dS)Nrzposition not in ranger)rYrr@rC)rH�posrrr	�setpos�s	zAifc_read.setposcCs�|jr^|jjd�|jjd�}|j|j}|rU|jj|d�d|_|dkrndS|jj||j�}|jr�|r�|j|�}|jt|�|j|j	|_|S)Nrr<r)
rCrE�seekr
r@�
_framesizer>r0rWr[)rH�nframesrrirrrr	�
readframes�s		zAifc_read.readframescCsddl}|j|d�S)Nrr)�audioopZalaw2lin)rHrrorrr	�	_alaw2lin�szAifc_read._alaw2lincCsddl}|j|d�S)Nrr)roZulaw2lin)rHrrorrr	�	_ulaw2lin�szAifc_read._ulaw2lincCsIddl}t|d�s$d|_|j|d|j�\}|_|S)Nr�_adpcmstater)ro�hasattrrrZ	adpcm2lin)rHrrorrr	�
_adpcm2lin�s
	!zAifc_read._adpcm2lincCs�t|�|_t|�|_t|�dd|_tt|��|_|j|j|_|j	r�d}|j
dkr�d}tjd�d|_
|j
d�|_|rt|jj
d��}|d@dkr�|d}|j
||_
|jjdd�t|�|_|jd	kr�|jd
kr@|j|_nH|jdkr^|j|_n*|jdkr||j|_ntd��d|_nd	|_d|_dS)N�r<r�rzWarning: bad COMM chunk size�r
sNONEsG722�ulaw�ULAW�alaw�ALAWzunsupported compression typersnot compressedr)rxry)rzr{)rrWrrYr[r6r&r]rlrBZ	chunksize�warnings�warnr
r_rrrkrrartr>rqrpr)rHrIZkludgerrrr	rD�s<	
	
	zAifc_read._read_comm_chunkcCs�t|�}ydx]t|�D]O}t|�}t|�}t|�}|sR|r|jj|||f�qWWnVtk
r�dt|j�t|j�dkr�dnd|f}tj	|�YnXdS)Nz;Warning: MARK chunk contains only %s marker%s instead of %sr�r2)
r�rangerrr?�appendrr0r|r})rHrIZnmarkers�irfri�name�wrrr	rF�s!
*
zAifc_read._readmarkN)rrrrJrOrPrSrTrUrQrVrXrZr\r^r`rbrcrdrhrjrnrprqrtrDrFrrrr	r;s0$'&r;c@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Zd9d:�Zd;d<�Z d=d>�Z!d?d@�Z"dAdB�Z#dCdD�Z$dEdF�Z%dGdH�Z&dIS)J�
Aifc_writecCslt|t�r*|}tj|d�}nd}|j|�|dd�dkr_d|_n	d|_dS)N�wbz???�z.aiffrr���)rLrMrNrrJrB)rHr!�filenamerrr	rOs
zAifc_write.__init__cCs�||_t|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_g|_
d|_d|_dS)NsNONEsnot compressedrr)rA�
_AIFC_versionr=r_rar>rWr[r]rY�_nframeswritten�_datawritten�_datalengthr?�_marklengthrB)rHrrrr	rJ$s														zAifc_write.initfpcCs|j�dS)N)rQ)rHrrr	�__del__5szAifc_write.__del__cCs|S)Nr)rHrrr	rP8szAifc_write.__enter__cGs|j�dS)N)rQ)rHrRrrr	rS;szAifc_write.__exit__cCs"|jrtd��d|_dS)Nz0cannot change parameters after starting to writer)r�rrB)rHrrr	�aiffAs	zAifc_write.aiffcCs"|jrtd��d|_dS)Nz0cannot change parameters after starting to writer)r�rrB)rHrrr	�aifcFs	zAifc_write.aifccCs:|jrtd��|dkr-td��||_dS)Nz0cannot change parameters after starting to writerzbad # of channels)r�rrW)rH�	nchannelsrrr	�setnchannelsKs
	zAifc_write.setnchannelscCs|jstd��|jS)Nznumber of channels not set)rWr)rHrrr	rXRs	zAifc_write.getnchannelscCsF|jrtd��|dks-|dkr9td��||_dS)Nz0cannot change parameters after starting to writerr
zbad sample width)r�rr[)rH�	sampwidthrrr	�setsampwidthWs
	zAifc_write.setsampwidthcCs|jstd��|jS)Nzsample width not set)r[r)rHrrr	r\^s	zAifc_write.getsampwidthcCs:|jrtd��|dkr-td��||_dS)Nz0cannot change parameters after starting to writerzbad frame rate)r�rr])rH�	frameraterrr	�setframeratecs
	zAifc_write.setframeratecCs|jstd��|jS)Nzframe rate not set)r]r)rHrrr	r^js	zAifc_write.getframeratecCs"|jrtd��||_dS)Nz0cannot change parameters after starting to write)r�rrY)rHrmrrr	�
setnframesos	zAifc_write.setnframescCs|jS)N)r�)rHrrr	rZtszAifc_write.getnframescCsC|jrtd��|d	kr-td��||_||_dS)
Nz0cannot change parameters after starting to write�NONE�ulaw�ULAW�alaw�ALAW�G722zunsupported compression type)r�r�r�r�r�r�)r�rr_ra)rH�comptype�compnamerrr	�setcomptypews			zAifc_write.setcomptypecCs|jS)N)r_)rHrrr	r`�szAifc_write.getcomptypecCs|jS)N)ra)rHrrr	rb�szAifc_write.getcompnamecCs�|\}}}}}}|jr-td��|d	krEtd��|j|�|j|�|j|�|j|�|j||�dS)
Nz0cannot change parameters after starting to write�NONE�ulaw�ULAW�alaw�ALAW�G722zunsupported compression type)r�r�r�r�r�r�)r�rr�r�r�r�r�)rHZparamsr�r�r�rmr�r�rrr	�	setparams�s		



zAifc_write.setparamscCsU|js|js|jr*td��t|j|j|j|j|j|j�S)Nznot all parameters set)rWr[r]rr:rYr_ra)rHrrr	rc�szAifc_write.getparamscCs�|dkrtd��|dkr0td��t|t�sKtd��xNtt|j��D]7}||j|dkra|||f|j|<dSqaW|jj|||f�dS)Nrzmarker ID must be > 0zmarker position must be >= 0zmarker name must be bytes)rrL�bytesrr0r?r�)rHrfrir�r�rrr	�setmark�szAifc_write.setmarkcCsAx%|jD]}||dkr
|Sq
Wtdj|���dS)Nrzmarker {0!r} does not exist)r?rre)rHrfrgrrr	rh�szAifc_write.getmarkcCs t|j�dkrdS|jS)Nr)r0r?)rHrrr	rd�szAifc_write.getmarkerscCs|jS)N)r�)rHrrr	rV�szAifc_write.tellcCs�t|ttf�s*t|�jd�}|jt|��t|�|j|j}|j	ro|j	|�}|j
j|�|j||_|j
t|�|_
dS)Nr/)rLr��	bytearray�
memoryview�cast�_ensure_header_writtenr0r[rWr>rAr'r�r�)rHrrmrrr	�writeframesraw�s	zAifc_write.writeframesrawcCs?|j|�|j|jks1|j|jkr;|j�dS)N)r�r�rYr�r��_patchheader)rHrrrr	�writeframes�s
zAifc_write.writeframescCs�|jdkrdSz|jd�|jd@rP|jjd�|jd|_|j�|j|jks�|j|jks�|jr�|j	�Wdd|_
|j}d|_|j�XdS)Nrrs)rAr�r�r'�
_writemarkersr�rYr�r�r�r>rQ)rHr!rrr	rQ�s 


				zAifc_write.closecCsddl}|j|d�S)Nrr)roZlin2alaw)rHrrorrr	�	_lin2alaw�szAifc_write._lin2alawcCsddl}|j|d�S)Nrr)roZlin2ulaw)rHrrorrr	�	_lin2ulaw�szAifc_write._lin2ulawcCsIddl}t|d�s$d|_|j|d|j�\}|_|S)Nrrrr)rorsrrZ	lin2adpcm)rHrrorrr	�
_lin2adpcm�s
	!zAifc_write._lin2adpcmcCs�|js�|jdkrE|js*d|_|jdkrEtd��|jsZtd��|jsotd	��|js�td
��|j|�dS)N�ULAW�ulaw�ALAW�alaw�G722rzRsample width must be 2 when compressing with ulaw/ULAW, alaw/ALAW or G7.22 (ADPCM)z# channels not specifiedzsample width not specifiedzsampling rate not specified)r�r�r�r�r�)r�r_r[rrWr]�
_write_header)rHZdatasizerrr	r��s						z!Aifc_write._ensure_header_writtencCs[|jdkr|j|_n9|jdkr<|j|_n|jdkrW|j|_dS)NsG722�ulaw�ULAW�alaw�ALAW)r�r�)r�r�)r_r�r>r�r�)rHrrr	�_init_compressionszAifc_write._init_compressioncCs
|jr"|jdkr"|j�|jjd�|jsR||j|j|_|j|j|j|_|jd@r�|jd|_|jr|jdkr�|jd|_|jd@r|jd|_n@|jd	kr|jd
d|_|jd@r|jd|_y|jj	�|_
Wn!ttfk
rJd|_
YnX|j
|j�}|jr�|jjd�|jjd
�t|jd�t|j|j�n|jjd�|jjd�t|j|�t|j|j�|j
dk	r|jj	�|_t|j|j�|jdkrEt|jd�nt|j|jd�t|j|j�|jr�|jj|j�t|j|j�|jjd�|j
dk	r�|jj	�|_t|j|jd�t|jd�t|jd�dS)NsNONEsFORMr�ulaw�ULAW�alaw�ALAWr�G722�r
sAIFCsFVERsAIFFsCOMMr<sSSNDr)r�r�r�r�)r�r�r�r�r�)rBr_r�rAr'rYrWr[r�rV�_form_length_pos�AttributeError�OSError�_write_form_lengthr-r=r*�_nframes_posr7r]r3ra�_ssnd_length_pos)rHZ
initlength�
commlengthrrr	r�
s^
	
	

		zAifc_write._write_headercCst|jr9d	t|j�}|d@r0|d}d}nd}d}t|jd||jd|d|�|S)
Nrvr�r�rr
r<�rw)rBr0rar-rAr�)rH�
datalengthr�Z
verslengthrrr	r�=s	

		"zAifc_write._write_form_lengthcCs0|jj�}|jd@r<|jd}|jjd�n	|j}||jkr�|j|jkr�|jdkr�|jj|d�dS|jj|j	d�|j
|�}|jj|jd�t|j|j�|jj|j
d�t|j|d�|jj|d�|j|_||_dS)Nrsrr<)rArVr�r'r�rYr�r�rkr�r�r�r-r�)rHZcurposr�rrrr	r�Js&

	zAifc_write._patchheadercCst|j�dkrdS|jjd�d}xX|jD]M}|\}}}|t|�dd}t|�d@dkr9|d}q9Wt|j|�|d|_t|jt|j��xP|jD]E}|\}}}t|j|�t|j|�t|j|�q�WdS)NrsMARKrr�r<)r0r?rAr'r-r�r*r3)rHrrgrfrir�rrr	r�`s"
zAifc_write._writemarkersN)'rrrrOrJr�rPrSr�r�r�rXr�r\r�r^r�rZr�r`rbr�rcr�rhrdrVr�r�rQr�r�r�r�r�r�r�r�r�rrrr	r��sH
	

3
r�cCsi|dkr-t|d�r'|j}nd}|dkrCt|�S|dkrYt|�Std��dS)	N�moderK�rr�r�z$mode must be 'r', 'rb', 'w', or 'wb')r�zrb)r�zwb)rsr�r;r�r)r!r�rrr	rss

�__main__rz/usr/demos/data/audio/bach.aiffr�ZReadingznchannels =znframes   =zsampwidth =zframerate =zcomptype  =zcompname  =rZWritingr�izDone.)2�__doc__rrNr|�__all__�	Exceptionrr�rrrrrrr&r*r+r,r-r3r7rIr8�collectionsr9r:r;r�rrr�sys�argvr��fnr!�printrXrZr\r^r`rbZgn�gr�rcrnrr�rrrr	�<module>�sh
!	��{






Rosenblum TV: Video training, virtual workshops, classes, tutorials
logologologologo
  • About
  • What We Do
  • Our Clients
  • Case Studies
    • The BBC
    • CBS News
    • New York Times Television
    • Spectrum News
    • The Newark Star-Ledger
    • The United Nations
    • McGraw/Hill
    • Oyster Yachts
    • Scottish Environmental Protection Agency
  • The Power of Storytelling
  • Why iPhones?
  • Michael on Media
  • Books
  • Contact
  • About
  • What We Do
  • Our Clients
  • Case Studies
    • The BBC
    • CBS News
    • New York Times Television
    • Spectrum News
    • The Newark Star-Ledger
    • The United Nations
    • McGraw/Hill
    • Oyster Yachts
    • Scottish Environmental Protection Agency
  • The Power of Storytelling
  • Why iPhones?
  • Michael on Media
  • Books
  • Contact

RE-INVENTING THE TELEVISION NEWS BUSINESS*

A revolution in video storytelling

Creating entirely new & cost-effective production methods

From the world leaders in video production training and the creators of Character Driven Storytelling™

*and every other business that uses video

WHAT WE DO

Over the past 35 years, we have designed, built or restructured some of the most powerful news and journalism companies in the world.

We replace the traditional TV news ‘crew’ with one highly trained journalist, working alone with nothing but an iPhone.

No more TV news ‘crews’, no editors and no field producers.

This is television news done the way newspaper journalism is done – one reporter with their electronic pad and pencil.

In doing this, we can cut the cost of production by as much as 75% while increasing ratings and audience engagement.

In the place of conventional TV news ‘packages’ – ie, reporter stand up, interview, b-roll, man on the street, we marry great journalism with Netflix and Hollywood storytelling.

It’s a combination that works.

We have taken most of our clients to #1 in their respective markets.

And it’s not just for news. Any company, any profit, any NGO and anyone else who is online needs to tell their story in compelling yet cost-effective video. We can teach you to do that. Either in person or virtually.

EXAMPLES OF WHAT WE CAN TEACH YOUR STAFF TO PRODUCE

ITAY HOD

Itay Hod, MMJ with KPIX/CBS in San Francisco, took the 5-Day Intensive Video Storytelling Bootcamp in 2018.

Because he works alone, with only an iPhone, he was able to embed himself with a homeless family.

Here’s the story he produced in a one-day turn.

KIET DO

Kiet Do, an MMJ with KPIX/CBS in San Francisco, took the 5-Day Intensive Video Storytelling Bootcamp in 2021.

Here is a story he produced, all on his own, with only an iPhone and in a one-day turn.

TAYLOR SCHAUB

Taylor Schaub, an MMJ with Spectrum News 1 in LA, took the 5-Day Intensive Video Storytelling Bootcamp in 2023.

Here is a story he turned in only one day, using only an iPhone. It was the first video story he ever did and it was nominated for an Emmy.

THE BOOTCAMP

How do we convert stations and whole networks to working in this way?

Since 1988, we have run intensive 5-Day Video Storytelling Bootcamps

We have done these all over the world.

These are hands-on bootcamps, and participants learn an entirely new way of creating TV news stories.

-We shoot at a 3:1 ratio or lower, so turnaround times are fast.

-We go directly from camera to timelilne and edit – no written scripts.  We work in the medium of pictures and sound.

-We are entirely character-driven.

-We are driven by pictures and real events.

-We are focused almost entirely on ’the viewer experience’.

Since 1988, more than 70,000 journalists around the world have taken our bootcamps, either in person on virtualy.

Case Studies

CBS Case Study Logos
CBS News

We have started to work with CBS News, bringing our ideas of character-driven storytelling to one of the most successful and biggest networks in the United States. Since beginning to work with them ratings have climbed and more importantly, audience engagement is through the ceiling.

Learn More
NYT Case Study Logos
New York Times Television

We started New York Times Television in 1990 and it was the first paper to be brought into the world of TV. It quickly became one of the most successful non-fiction production companies in the United States. The series and documentaries we produced won many awards including multiple Emmys.

Learn More
BBC Case Study Logos
The BBC

We have been working with the BBC since the year 2000 helping to convert their national news network to our visual storytelling technique. Most recently we have trained teams from their sports, documentaries, and comedy divisions to make character-driven stories using only smartphones.

Learn More
Spectrum Case Study Logos
Spectrum News

For the past five years we have worked with Spectrum News to introduce and train their journalists on visual, character driven storytelling using smartphones helping to create a different kind of local news for their network of 24-Hour News Stations across the United States.

Learn More
UN Case Study Logos
The United Nations

In 2006, we were approached by the United Nations. Rather than rely on news outlets, it would be much easier to train the field operatives to produce their own stories. We spent two years working with the UN, training more than 100 of their staff in bootcamps in Geneva and Nairobi.

Learn More
Star Ledger Case Study Logos
The Newark Star-Ledger

We trained 50 print reporters at the paper to shoot and tell their own stories, in conjunction with their print work. We built a TV newsroom in their existing print newsroom – you could not ask for a better set and they began to live stream their stories in conjunction with their print work.

Learn More
Mcgraw Hill Case Study Logos
Mcgraw Hill

We spent two years with McGraw Hill, training more than 150 of their staffers, making them completely video literate. McGraw/Hill media properties we transit included Business Week, Aviation Week, (what was the name of the architecture magazine), and JD Power and Associates.

Learn More
VOA Case Study Logos
Voice of America

In 1990, we were approached by The Voice of America, the official broadcasting agency for the United States Government. When we met with VOA, they were only a short wave radio broadcaster, but working with them, we took them into television, launching VOA-TV.

Learn More
Oyster Case Study Logos
Oyster Yachts

British based Oyster Yachts makes some of the finest yachts in the world. Like every other company, they had to find a way to feed the never-ending video demands of social media – sites like Instagram and TikTok. We trained the Oyster staff to tell their own stories, using only iPhones.

Learn More
SEPA Case Study Logos
Scottish Environmental Protection Agency

We were approached by SEPA, the Scottish Environmental Protection Agency because they had to continually find a way to ‘feed the media beast’. The result was that SEPA was able to tell their own stories, whenever they wanted, and at almost no additional cost.

Learn More
Image 11-11-22 at 6.25 PM

Michael on Media

Michael Rosenblum has been writing about the media since 1988. His work and ideas have appeared in The Guardian, The Huffington Post, Ilkeston Life and many other publications.

He has been blogging regularly for the past 35 years on this subject. Having taught media studies at Columbia University, NYU and now the University of Oxford, he is considered an expert on this subject.

Continue reading this post or look back at previous posts.

Read More

Do You Have Questions About Learning Video Skills?

If you would like to know more about our courses contact us and one of our training advisors will be happy to call you.

Contact Us

Copyright 2024. All rights reserved.