You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stefano Mazzocchi <st...@apache.org> on 2003/10/11 02:34:04 UTC

[OT] Digital Video Amarcord

I started processing the GT video tapes.

Each talk is about 50/60 minutes long, DV compression is about 
10Gb/hour. Means that I have to process 60Gb of stuff.

I have everything on tape, luckily enough, because I have only 20Gb of 
disk left ("only 20gb of disk", can you believe that I thought that? 
god)

I'm encoding using iMovie, pretty cool, very simple to use and very 
efficient. Final Cut Pro or AVID Digital Studio are another planet, but 
hey, cutting and post-production here is *really* simple ;-)

I'm encoding with DivX 5.1 beta, shaky and slow as hell, but it seems 
to be portable across all systems.

It needs 8 hours per hour on my G4 1Ghz (at max processing quality). 
This means that it would take me 1.5 CPU days!!!! to encode the GT, 
plus another few days to upload it. hope my CPU doesn't melt down.

I encoded at video at single pass, constant rate, 320x240, 100kbps and 
audio at mp3 16bit 22Khz 64kbps mono.

Video artifacts are terrible when there is some motion (divx is really 
poor at small bitrate) but audio is pretty good.

Interesting enough, encoding video at 200Kbp didn't change the picture 
much (artifacts were reduced, but still not good enough to see 
anything, so I left them like that).

Expected size per presentation is around 50Mb/60Mb, which isn't bad at 
all.

In case you have suggestions, yell now because each mistake is 8 hours 
of processing :-(

I'll make the first talk available tomorrow, after merlino (my laptop) 
finishes crunching it to night.

and then I'll wait for comment before moving on.

time to go to bed now.

--
Stefano.


Re: [OT] Digital Video Amarcord

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Stefano Mazzocchi dijo:
> for linux, VideoLan or Mplayer should work right out of the box.
I already used Xine and looks like a good option too.

Best Regards,

Antonio Gallardo




Re: [OT] Digital Video Amarcord

Posted by Stefano Mazzocchi <st...@apache.org>.
On Tuesday, Oct 14, 2003, at 11:05 Europe/Rome, Nils Mueller wrote:

> Stefano Mazzocchi wrote:
>
>> I started processing the GT video tapes.
>
> Hey Stefano,
>
> how's progress on those videos? On friday Joerg and I will try to 
> bring our co-workers up to speed on latest Cocoon developments and I'd 
> love to be able to show them David's performance. Any chance of that 
> being downloadable by the end of the week?

these are ready:

  - steven's introduction
  - mine
  - christian's
  - sylvain's
  - david's

uploaded and mirrored worldwide.

Go to

  http://www.apache.org/mirrors/

then choose your favorite mirror and browse it until you find

  /cocoon/events/gt2003/videos/

Please **DO NOT** use the www.apache.org/dist/ web site!!!!

use a mirror nearby!!! help us save bandwidth!!!

They are encoded as

  AVI
   video stream -> DivX4 100Kbps
   audio stream -> Mp3 64Kpbs

For macosx, either download VideoLan, MPlayer or the DivX quicktime 
plugin from www.divx.com. NOTE: 3ivx does NOT contain the MP3 decoder 
plugin for quicktime so if you hear no audio, that's why! install the 
divx plugin. Quicktime will *NOT* play them without installing a plugin.

For windows, install the divx plugin or use any divx-capable video 
player.

for linux, VideoLan or Mplayer should work right out of the box.

> Come on, merlino, you can do it, alti-vec and all ... ;-)

There are three more to go:

  - michael's
  - bertrand's
  - matthew,gianugo,david's

and, in case I still have energy left,

  - the final panel

                                    - o -

I'm encountering the weirdest problems. It seems that at some point in 
the end of Michi's presentation, the mpeg stream in my DV camera turned 
encrypted (well, at least that's what mencoder is saying)! this is 
giving all sorts of bad results from crashing iMovie and Quicktime to 
spitting a bunch of error message from mencoder. I have to dig into 
that today.

Let me tell you: we still have a LOOOOOOONG way to go for digital 
video, my hardware/software combination looks jurassic for the task and 
it's more or less the best you can get for a reasonable price. I feel 
we are in digital video where we were 10 years ago for digital imaging.

But it's good to see free software advancing. mencoder is *a lot* 
faster than the official (closed) divx encoder. and mplayer is able to 
play quicktime with sorenson compression (the most commonly used in 
quicktime) natively and mencoder is able to read a DV-encoded stream 
natively. They are doing an impressive job.

Too bad they don't write quicktime plugins for all these goodies and I 
have to jump thru hoops to edit with iMovie and then encode it with 
mencoder.... oh well, added to my lightyears-long todo list :-(

--
Stefano.


Re: [OT] Digital Video Amarcord

Posted by Nils Mueller <nm...@virbus.de>.
Stefano Mazzocchi wrote:

> I started processing the GT video tapes.

Hey Stefano,

how's progress on those videos? On friday Joerg and I will try to 
bring our co-workers up to speed on latest Cocoon developments and I'd 
love to be able to show them David's performance. Any chance of that 
being downloadable by the end of the week? Come on, merlino, you can 
do it, alti-vec and all ... ;-)

regards
Nils


Re: [OT] Digital Video Amarcord

Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On Saturday, October 11, 2003, at 11:29 AM, Stefano Mazzocchi wrote:

>
> Actually, know what? the encoding is so slow that I could transfer 
> while encoding .... hmmm, does anybody know how to do this? like a 
> SSH-thru symlink?
>
>

Just a thought ..... it's probably too late now .....

The MacOSX Finder (as I am sure you know) mounts AFP, NFS, FTP, WebDAV, 
SMB etc. server volumes.

If your target server supports any of these protocols, you should be 
able to save your encoded video directly onto the remote server (having 
mounted it on your desktop) from the 'Save As ...' dialog of your 
encoding software.

The only problem being .... if there is a glitch in the server 
connection, you loose the whole encoding pass (!!).

HTH

regards Jeremy


Re: [OT] Digital Video Amarcord

Posted by Stefano Mazzocchi <st...@apache.org>.
On Saturday, Oct 11, 2003, at 06:01 Europe/Rome, Geoff Howard wrote:

> Stefano Mazzocchi wrote:
>
>> I started processing the GT video tapes.
>> Each talk is about 50/60 minutes long, DV compression is about 
>> 10Gb/hour. Means that I have to process 60Gb of stuff.
>
> ...
>
>> It needs 8 hours per hour on my G4 1Ghz (at max processing quality). 
>> This means that it would take me 1.5 CPU days!!!! to encode the GT, 
>> plus another few days to upload it. hope my CPU doesn't melt down.
>
> Do you have a dvd burner?  Maybe it'd be better use of bandwidth to 
> just burn it and mail it to the servers (they're here in the states, 
> right?).

they are going to be something around 400Mb at the current encoding 
bitrate (164Kbps). A CD would be enough, but doing the math

  400Mb / 256Kbps = 3,5 hours

I doubt it that snail mail can be that fast ;-) [I thought it was much 
worse yesterday]

Actually, know what? the encoding is so slow that I could transfer 
while encoding .... hmmm, does anybody know how to do this? like a 
SSH-thru symlink?

--
Stefano.


Re: [OT] Digital Video Amarcord

Posted by Geoff Howard <co...@leverageweb.com>.
Stefano Mazzocchi wrote:

> I started processing the GT video tapes.
> 
> Each talk is about 50/60 minutes long, DV compression is about 
> 10Gb/hour. Means that I have to process 60Gb of stuff.

...

> It needs 8 hours per hour on my G4 1Ghz (at max processing quality). 
> This means that it would take me 1.5 CPU days!!!! to encode the GT, plus 
> another few days to upload it. hope my CPU doesn't melt down.

Do you have a dvd burner?  Maybe it'd be better use of bandwidth to just 
burn it and mail it to the servers (they're here in the states, right?).

Geoff


Re: [OT] Digital Video Amarcord

Posted by Jorg Heymans <jh...@domek.be>.

Stefano Mazzocchi wrote:

>
> On Wednesday, Oct 15, 2003, at 12:12 Europe/Rome, Andrew Savory wrote:
>
>>
>> On Tuesday, October 14, 2003, at 08:47 PM, Stefano Mazzocchi wrote:
>>
>>> sounds good. question: does "helix code" include support for SMIL?
>>
>>
>> Not sure what you mean by "helix code"?
>
>
> www.helixcommunity.org, the open source version of the "real" 
> infrastructure.

it does support SMIL , see 
https://player.helixcommunity.org/2003/draft/intro.html

>
>> The available free-to-download
>> real players will play smil, with a few workarounds (like making the url
>> .ram which points to .smil)
>>
>> See http://wiki.cocoondev.org/Wiki.jsp?page=StreamingMedia
>>
>> On Wed, 15 Oct 2003, Jeremy Quinn wrote:
>>
>>> Side Note:
>>> Unfortunately RealPlayer SMIL and Quicktime SMIL use different
>>> extensions (and associated namespaces) and are therefore incompatible
>>> <grrr!>.
>>
>>
>> (Workaround is .ram afaik ... lmk if it doesn't work!)
>>
>>> Geeks appear to hate having RealPlayer installed, QuickTime is not
>>> available for Linux.
>>
>>
>> Nah, Realplayer is ok and a fairly safe bet for linux, and we have ways
>> (tm) of dealing with QT files too, now.
>
>
> isn't there a way to make it work on both real and QT?

Realplayer and SMIL use different *extensions* to SMIL but AFAIK they at 
least both support a common subset of SMIL: How big or small this subset 
is I don't know, maybe sticking to SMIL 1.0 might get you the furthest.
Then again this does sound like a job Cocoon is good at : detect 
user-agent, call different stylesheet, render output :-)

>
> -- 
> Stefano.
>
>
Jorg


Re: [OT] Digital Video Amarcord

Posted by Stefano Mazzocchi <st...@apache.org>.
On Wednesday, Oct 15, 2003, at 12:12 Europe/Rome, Andrew Savory wrote:

>
> On Tuesday, October 14, 2003, at 08:47 PM, Stefano Mazzocchi wrote:
>
>> sounds good. question: does "helix code" include support for SMIL?
>
> Not sure what you mean by "helix code"?

www.helixcommunity.org, the open source version of the "real" 
infrastructure.

> The available free-to-download
> real players will play smil, with a few workarounds (like making the 
> url
> .ram which points to .smil)
>
> See http://wiki.cocoondev.org/Wiki.jsp?page=StreamingMedia
>
> On Wed, 15 Oct 2003, Jeremy Quinn wrote:
>
>> Side Note:
>> Unfortunately RealPlayer SMIL and Quicktime SMIL use different
>> extensions (and associated namespaces) and are therefore incompatible
>> <grrr!>.
>
> (Workaround is .ram afaik ... lmk if it doesn't work!)
>
>> Geeks appear to hate having RealPlayer installed, QuickTime is not
>> available for Linux.
>
> Nah, Realplayer is ok and a fairly safe bet for linux, and we have ways
> (tm) of dealing with QT files too, now.

isn't there a way to make it work on both real and QT?

--
Stefano.


Re: [OT] Digital Video Amarcord

Posted by Andrew Savory <an...@luminas.co.uk>.
On Tuesday, October 14, 2003, at 08:47 PM, Stefano Mazzocchi wrote:

> sounds good. question: does "helix code" include support for SMIL?

Not sure what you mean by "helix code"? The available free-to-download
real players will play smil, with a few workarounds (like making the url
.ram which points to .smil)

See http://wiki.cocoondev.org/Wiki.jsp?page=StreamingMedia

On Wed, 15 Oct 2003, Jeremy Quinn wrote:

> Side Note:
> Unfortunately RealPlayer SMIL and Quicktime SMIL use different
> extensions (and associated namespaces) and are therefore incompatible
> <grrr!>.

(Workaround is .ram afaik ... lmk if it doesn't work!)

> Geeks appear to hate having RealPlayer installed, QuickTime is not
> available for Linux.

Nah, Realplayer is ok and a fairly safe bet for linux, and we have ways
(tm) of dealing with QT files too, now.


Andrew.

-- 
Andrew Savory                                Email: andrew@luminas.co.uk
Managing Director                              Tel:  +44 (0)870 741 6658
Luminas Internet Applications                  Fax:  +44 (0)700 598 1135
Orixo alliance: http://www.orixo.com/          Web:    www.luminas.co.uk

Re: [OT] Digital Video Amarcord

Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On Tuesday, October 14, 2003, at 08:47 PM, Stefano Mazzocchi wrote:

>
> On Tuesday, Oct 14, 2003, at 18:37 Europe/Rome, Andrew Savory wrote:
>
>> On Tue, 14 Oct 2003, Stefano Mazzocchi wrote:
>>
>>> that would rock. don't know if there is a SMIL player for linux, 
>>> though.
>>
>> Realplayer8 will (just about) do it. We'd already decided here that 
>> we'd
>> re-record David's presentation (with all powerpoint effects and a
>> steinway ;-) and use it as an exemplar of fun with SMIL ...
>
> sounds good. question: does "helix code" include support for SMIL?

Don't know.

>
>> but I guess if
>> all of us were hacking on all the presentations, it shouldn't take too
>> long....
>
> Hmmmm, does anybody know if quicktime can *save* SMIL? [it can read 
> it, AFAIK]

If you open a '***.smil' in QuickTime Player, you can 'Save As ...' a 
composite '***.mov' (which optionally includes all it's parts in one 
file). You /may/ need QuickTimePro to do this. I don't believe this is 
reversible.

Side Note:
Unfortunately RealPlayer SMIL and Quicktime SMIL use different 
extensions (and associated namespaces) and are therefore incompatible 
<grrr!>.

Geeks appear to hate having RealPlayer installed, QuickTime is not 
available for Linux.

So maybe the SMIL idea was not that great :)

regards Jeremy

PS. I have sample QT SMILs I made for my students if you want something 
to play with.


Re: [OT] Digital Video Amarcord

Posted by Stefano Mazzocchi <st...@apache.org>.
On Tuesday, Oct 14, 2003, at 18:37 Europe/Rome, Andrew Savory wrote:

> On Tue, 14 Oct 2003, Stefano Mazzocchi wrote:
>
>> that would rock. don't know if there is a SMIL player for linux, 
>> though.
>
> Realplayer8 will (just about) do it. We'd already decided here that 
> we'd
> re-record David's presentation (with all powerpoint effects and a
> steinway ;-) and use it as an exemplar of fun with SMIL ...

sounds good. question: does "helix code" include support for SMIL?

> but I guess if
> all of us were hacking on all the presentations, it shouldn't take too
> long....

Hmmmm, does anybody know if quicktime can *save* SMIL? [it can read it, 
AFAIK]

--
Stefano.


Re: [OT] Digital Video Amarcord

Posted by Andrew Savory <an...@luminas.co.uk>.
On Tue, 14 Oct 2003, Stefano Mazzocchi wrote:

> that would rock. don't know if there is a SMIL player for linux, though.

Realplayer8 will (just about) do it. We'd already decided here that we'd
re-record David's presentation (with all powerpoint effects and a
steinway ;-) and use it as an exemplar of fun with SMIL ... but I guess if
all of us were hacking on all the presentations, it shouldn't take too
long....


Andrew.

-- 
Andrew Savory                                Email: andrew@luminas.co.uk
Managing Director                              Tel:  +44 (0)870 741 6658
Luminas Internet Applications                  Fax:  +44 (0)700 598 1135
Orixo alliance: http://www.orixo.com/          Web:    www.luminas.co.uk

Re: [OT] Digital Video Amarcord

Posted by Stefano Mazzocchi <st...@apache.org>.
On Tuesday, Oct 14, 2003, at 12:28 Europe/Rome, Jeremy Quinn wrote:

>
> On Saturday, October 11, 2003, at 03:19 AM, Antonio Gallardo wrote:
>
>> Great job Stefano!
>>
>> I hope soon we will be able to download it from the Apache website! ;)
>
> One thought ....
>
> If we have jpegs or gifs of the slides used in the presentations, we 
> could provide the movies wrapped as interactive SMIL presentations, 
> whereby the movie and the images/titles were synchronised and 
> displayed side by side. (I did this with the old "Stefano's Slides" 
> project ages ago).

that would rock. don't know if there is a SMIL player for linux, though.

--
Stefano.


Re: [OT] Digital Video Amarcord

Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On Saturday, October 11, 2003, at 03:19 AM, Antonio Gallardo wrote:

> Great job Stefano!
>
> I hope soon we will be able to download it from the Apache website! ;)

One thought ....

If we have jpegs or gifs of the slides used in the presentations, we 
could provide the movies wrapped as interactive SMIL presentations, 
whereby the movie and the images/titles were synchronised and displayed 
side by side. (I did this with the old "Stefano's Slides" project ages 
ago).

WDYT?

regards Jeremy


Re: [OT] Digital Video Amarcord

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Great job Stefano!

I hope soon we will be able to download it from the Apache website! ;)

Best Regards,

Antonio Gallardo




Re: [OT] Digital Video Amarcord

Posted by David Crossley <cr...@indexgeo.com.au>.
Stefano Mazzocchi wrote:
> David Crossley wrote:
<snip/>
> > Is it possible to also make each soundtrack available as a
> > separate resource? 
> 
> [choke] yeaaaah, welllll, suuuuurrrrree..... I'll try to see what I can 
> do, but don't expect anything.

Sorry, didn't mean you. Anyone will do. I thought it would
be easy to save the soundtrack separately.

> > Those of us stuck with clunky dial-up
> > modem will have difficulty with the video volume.
> 
> I don't get it.

Damn words. I meant the download file size. Massive on a modem.
It will take 4 hours for Sylvain's show to arrive.

--David



Re: [OT] Digital Video Amarcord

Posted by Gianugo Rabellino <gi...@apache.org>.
Stefano Mazzocchi wrote:

>> What does the word "Amarcord" mean. No answer from dictionary.com
>> and i gather it is Italian. Is it another of your fine and fitting
>> terms?
> 
> 
> Don't know the origin of the word but it's originally a movie by 
> Federico Fellini
> 
> http://www.amazon.com/exec/obidos/tg/detail/-/6303522440/103-1504378-6337424?v=glance 
> 
> 
> Litterarely is supposed to mean "I remember", but in a twisted and sour 
> way, sort of a recollection of experiences that you do when you are thru 
> it with a love/hate relationship. It's not even italian, but it just 
> meant exactly this... sorry, I thought it was more international.

For the record, it's (almost) italian. It's how in the Emilian  dialect 
"I remember" is spelt and said (I guess it should be "Am'arcord", 
actually). Not that much international after all, but Fellini did quite 
a good job in making it famous. :-)

Ciao,.

-- 
Gianugo Rabellino
Pro-netics s.r.l. -  http://www.pro-netics.com
Orixo, the XML business alliance - http://www.orixo.com
     (Now blogging at: http://blogs.cocoondev.org/gianugo/)


Re: [OT] Digital Video Amarcord

Posted by Stefano Mazzocchi <st...@apache.org>.
David Crossley wrote:
> Stefano Mazzocchi wrote:
> <snip/>
> 
> Thanks for doing this Stefano. It sounds like a big effort
> on your part, but well worth it for all of us.
> 
> 
>>Expected size per presentation is around 50Mb/60Mb, which isn't bad at 
>>all.
>>
>>In case you have suggestions, yell now because each mistake is 8 hours 
>>of processing :-(
> 
> <snip/>
> 
> Is it possible to also make each soundtrack available as a
> separate resource? 

[choke] yeaaaah, welllll, suuuuurrrrree..... I'll try to see what I can 
do, but don't expect anything.

> Those of us stuck with clunky dial-up
> modem will have difficulty with the video volume.

I don't get it.

> What does the word "Amarcord" mean. No answer from dictionary.com
> and i gather it is Italian. Is it another of your fine and fitting
> terms?

Don't know the origin of the word but it's originally a movie by 
Federico Fellini

http://www.amazon.com/exec/obidos/tg/detail/-/6303522440/103-1504378-6337424?v=glance

Litterarely is supposed to mean "I remember", but in a twisted and sour 
way, sort of a recollection of experiences that you do when you are thru 
it with a love/hate relationship. It's not even italian, but it just 
meant exactly this... sorry, I thought it was more international.

-- 
Stefano.



Re: [OT] Digital Video Amarcord

Posted by David Crossley <cr...@indexgeo.com.au>.
Stefano Mazzocchi wrote:
<snip/>

Thanks for doing this Stefano. It sounds like a big effort
on your part, but well worth it for all of us.

> Expected size per presentation is around 50Mb/60Mb, which isn't bad at 
> all.
> 
> In case you have suggestions, yell now because each mistake is 8 hours 
> of processing :-(
<snip/>

Is it possible to also make each soundtrack available as a
separate resource? Those of us stuck with clunky dial-up
modem will have difficulty with the video volume.

What does the word "Amarcord" mean. No answer from dictionary.com
and i gather it is Italian. Is it another of your fine and fitting
terms?

--David