I rebuilt ffmpeg, and it seems to work running from commandline - but a
re-transcode request is showing and error that might be because of my site.cfg -
I still don't quite get the relationship between apache and zope - right now I
visit my site on the zope address - any attempt to hit apache, and apache
responds but with an error..
When attempting to retranscode I see this from the transcode daemon :
*ERROR*
[r...@video zinstance]# ./bin/transcodedaemon fg
2010/06/04 09:43 -0400 [-] Log opened.
2010/06/04 09:43 -0400 [-] twistd 2.5.0 (/usr/local/Plone/Python-2.4/bin/python
2.4.6) starting up
2010/06/04 09:43 -0400 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2010/06/04 09:43 -0400 [-] Loading
/usr/local/Plone/zinstance/eggs/collective.transcode.daemon-0.1-py2.4.egg/collective/transcode/daemon
/common/transcodedaemon.py...
2010/06/04 09:43 -0400 [-] Initializing
2010/06/04 09:43 -0400 [-] Launched http channel
2010/06/04 09:43 -0400 [-] Launched TranscodeDaemon scheduler thread....
2010/06/04 09:43 -0400 [-] Loaded.
2010/06/04 09:43 -0400 [-] twisted.web2.channel.http.HTTPFactory starting on
8888
2010/06/04 09:43 -0400 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0x7f2a00b5f098>
2010/06/04 09:43 -0400 [-] Scheduler thread running
2010/06/04 10:18 -0400 [-] ['jpeg', 'mp4', 'ogg']
2010/06/04 10:18 -0400 [-] New job
2010/06/04 10:18 -0400 [-] DOWNLOADING
http://video.healthydirections.com:8080/Video/Members/admin/videos/test-3/download/video_file/Wil
dlife.wmv
2010/06/04 10:18 -0400 [-] EXCEPTION [Errno socket error] (111, 'Connection
refused') CAUGHT FOR <Job input={'path': 'http://video.healt
hydirections.com:8080/Video/Members/admin/videos/test-3/download/video_file/Wildlife.wmv',
'type': 'video/x-ms-wmv'} ouput={'path': 'tra
nscoded/http/video.healthydirections.com/8080/Video/Members/admin/videos/test-3/download/video_file/Wildlife.wmv/jpeg/Wildlife.jpg',
'ty pe': 'image/jpeg'} options={}
{'callbackURL':
'http://admin:[email protected]:8080/Video/Members/admin/videos/test
-3/@@streaming_RPC'}
2010/06/04 10:18 -0400 [-] Transcoder returned [Errno socket error] (111,
'Connection refused') {'path': 'transcoded/http/video.healthyd
irections.com/8080/Video/Members/admin/videos/test-3/download/video_file/Wildlife.wmv/jpeg/Wildlife.jpg',
'type': 'image/jpeg'}
2010/06/04 10:18 -0400 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/local/Plone/Python-2.4/lib/python2.4/threading.py", line
442, in __bootstrap
self.run()
File "/usr/local/Plone/Python-2.4/lib/python2.4/threading.py", line
422, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File
"/usr/local/Plone/zinstance/eggs/zope.app.twisted-3.5.0-py2.4.egg/twisted/python/threadpool.py",
line 148, in _worker
context.call(ctx, function, *args, **kwargs)
File
"/usr/local/Plone/zinstance/eggs/zope.app.twisted-3.5.0-py2.4.egg/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File
"/usr/local/Plone/zinstance/eggs/zope.app.twisted-3.5.0-py2.4.egg/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
File
"/usr/local/Plone/zinstance/eggs/collective.transcode.daemon-0.1-py2.4.egg/collective/transcode/daemon/common/scheduler.p
y", line 121, in run
reactor.callFromThread(job.defer.errback, 'FAIL %d' % ret)
exceptions.TypeError: int argument required
My site.cfg
Video and videos. All resolve to the same IP
# site-specific settings for a Plumi based site
[site]
# start with offbeat password, and hint that it should be made unique in-site:
user = admin:admin
effective-user = zope
http-address = 172.17.81.164:8080
ftp-address = 127.0.0.1:8021
transcode_host = 127.0.0.1
transcode_port = 8888
videofolder = transcoded
#squid configs
squid_address = 127.0.0.1:4128
squid_backend = ${site:http-address}
squid_hostname = video.healthydirections.com
squid_email = [email protected]
#apache configs
apache_backends = video.healthydirections.com:${site:squid_address}
transcode_backends = videos.healthydirections.com:${site:transcode_host}:${site:
transcode_port}
apache_zope2_vhm_map = video.healthydirections.com:/Video
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Edward Brookhouse
Sent: Friday, June 04, 2010 8:07 AM
To: [email protected]; Discussion about software development on Plumi
Subject: Re: [plumi-discuss] Plumi 3.0 Transcoding
Thanks Grant,
This is running on Fedora 13 - I did the install of ffmpeg, ffmpeg2theora etc,
and assumed I would get an error if they were not right - I'll re-compile them
and see what happens -
The issue seems to be that the file is not being uploaded to be transcoded
though, based on your below info - so I am going to dig through permissions as
well -
Thanks everyone!
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Grant McHerron
Sent: Thursday, June 03, 2010 9:07 PM
To: Discussion about software development on Plumi
Subject: Re: [plumi-discuss] Plumi 3.0 Transcoding
Hey there,
On Thu, 2010-06-03 at 14:06 +0000, Edward Brookhouse wrote:
> I’ve the latest plumi/plone (using Jim Brown’s guide here
> http://lists.plumi.org/pipermail/discuss/2010-March/002255.html)
Did you also check the installation instructions in the Plumi manual?
http://en.flossmanuals.net/bin/view/Plumi/Installation
Did you get all the ffmpeg libraries & codevs installed?
I'm assuming you have but want to check to be sure :)
> It took a little shoe horning to get Python and PIL setup correctly(at
> least I think it is) but overall, I am up and running. I am looking
> for advice on how to troubleshoot transcoding?
What system are you running on? Debian? Ubuntu? Mac?
> The transcode daemon is running, and when I publish a movie, I see:
As per my previous email, the "is nul" is not really an issue, but I'll
see if I can get the Unweb guys to have a look at the log entries you've
posted. There may be a clue in there that I'm missing.
> and the transcoder shows only:
> 2010/06/03 10:03 -0400 [-] ['jpeg', 'mp4', 'ogg']
Is that the only entry? No other lines at all?
> I was under the assumption that if nothing shows up under your
> transcode dir, there is a problem…(and there is not anything showing
> up so )
Yeah - that's not really a good thing :)
can you post the contents of your site.cfg file from the buildout?
> Is there anyway to verify if transcoding is in progress ?
Run top on another window and look for ffmpeg running. It'll be running
for a while as it encodes your video so it should show up easily :)
Cheers,
Grant
>
--
--
Grant McHerron
EngageMedia Collective Inc.
[email protected]
+61 422 914 949
http://engagemedia.org/
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss