Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 11:21:51 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        firewire@FreeBSD.org
Subject:   Canon HV20 Works (and other HDV questions)
Message-ID:  <20070704182151.GP1221@funkthat.com>
Resent-Message-ID: <200707050709.l6579ICV090241@hydrogen.funkthat.com>

next in thread | raw e-mail | index | archive | help
I recently picked up a Canon HV20 the other day.  After being annoyed
at iMovie HD transcoding it to another format (11MB/sec instead of
25Mbit/sec), I tried out FreeBSD-current (from a few months ago) and
it works like a charm.  A straight fwcontrol -R <file> returned:
fwcontrol: Unsupported format for receiving: fmt=0x25

but forcing it to mpeg w/ -M worked great.  Does anyone have tools to
extract the other information that's in the stream?

-bash-2.05b$ ~/p4/bktrauinfo/mpegts.py -b /b/work/foobar.dv 
   0    650      0.06
  30    6        0.00
  31    73       0.01
 129    649      0.06
 308    2161     0.19
2064    1094246 93.94
2065    643      0.06
2068    18613    1.60
2069    640      0.05
8191    47203    4.05
-bash-2.05b$ ~/p4/bktrauinfo/mpegts.py -m /b/work/foobar.dv 
<PAT: {0: 31, 100: 129}>
{129: <PMT: {5: ['TSHV\xff\x10\x00\xff\xff\xff\xff']}, ES: [(2, 2064, {}), (3, 2068, {}), (160, 2069, {}), (161, 2065, {})]>, 31: <PMT: {}, ES: []>}

The two "unaccounted" for streams are 30 and 308.  Anyone know anything
about these?

Does anyone have any tools for splitting the stream into clips by time
stamp or anything else like that?

P.S. the mpegts.py tool is located in the FreeBSD Perforce repository at:
//depot/user/jmg/bktrau/info/mpegts.py

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070704182151.GP1221>