[plumi-discuss] (no subject)
James Gabe
sienasoft1 at hotmail.com
Sat Aug 23 04:30:12 EST 2008
Thanks Andy and Datakid/Musicman/L
That worked perfectly. I deleted the lockfile and also bumped the NUMBER_OF_PARALLEL_ENCODERS and I am now converting my files to .ogg but the flv file are ending up as 0 bytes. I took the command that it is executing from the log file and ran it at the command line. It doesn't spit anytyhing back out at me and just goes back to a command prompt, I was hoping to see some kind of error message there. It is not a permisions problem because it does create the file, its just empty. The command I tried at command line that returned nothing was:
/usr/bin/mencoder -quiet /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg -o /var/www/plumi-flv-files/8pounder.flv -really-quiet -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=320:240 -srate 22050
######################################
Here is a little excerpt from the log.
2008-08-22 09:24:46,948 INFO Ending indytube... We checked 2 eligble files, converted 0 files
2008-08-22 09:25:46,951 DEBUG started looperInvoker function at 08/22/08 09:25:46, calling loop every 60 seconds
2008-08-22 09:25:46,951 INFO Starting indytube... in /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos
2008-08-22 09:25:46,951 DEBUG Checking file /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg, using extension .mpg
2008-08-22 09:25:46,952 INFO OK to try encoding: /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg
2008-08-22 09:25:46,970 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg in 0.02 seconds, using cmd -- /usr/bin/mencoder -quiet /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg -o /var/www/plumi-flv-files/8pounder.flv -really-quiet -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=320:240 -srate 22050
2008-08-22 09:25:49,278 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg in 2.28 seconds, using cmd -- ffmpeg2theora /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg -o /var/www/plumi-flv-files/8pounder.ogg
2008-08-22 09:25:49,279 INFO FLV file size is zero - assuming encoding failed! Permanently skipping file!
2008-08-22 09:25:49,279 DEBUG Checking file /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv, using extension .wmv
2008-08-22 09:25:49,279 INFO OK to try encoding: /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv
2008-08-22 09:25:49,298 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv in 0.02 seconds, using cmd -- /usr/bin/mencoder -quiet /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv -o /var/www/plumi-flv-files/ginnietop.flv -really-quiet -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=320:240 -srate 22050
2008-08-22 09:25:49,878 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv in 0.56 seconds, using cmd -- ffmpeg2theora /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv -o /var/www/plumi-flv-files/ginnietop.ogg
2008-08-22 09:25:49,878 INFO FLV file size is zero - assuming encoding failed! Permanently skipping file!
Thanks again for all of the help,
--James
> From: andy at engagemedia.org
> To: discuss at lists.plumi.org
> Date: Fri, 22 Aug 2008 11:11:22 +0700
> Subject: Re: [plumi-discuss] (no subject)
>
> Hi James
>
> stop indytube, delete the file 'plumidemo-encoder.lock' and restart
> indytube - your log file pasted below is telling you it isnt encoding
> since the max number of encoders you have set in the conf file to
> running in parallel (1) is already running. indytube only can tell how
> many others are running by looking for the existence of this lock file,
> and hence can get it wrong (if indytube dies, it doesnt clean up the
> file properly)
>
>
> andy
>
> On Thu, 2008-08-21 at 17:33 -0400, James Gabe wrote:
> > I have made it past the error with cheetah and everything seems to be
> > working now ....except the encoding. I upload files and nothing
> > happens to them. I installed all of the pieces needed for this and
> > modified the indytube.conf . I see the files at the OS level and
> > indytube.py is running but it doesnt seem to see the files.
> >
> > Here is my conf file
> >
> > [encoder]
> > BE_HOW_NICE=18
> > CONVERT_THESE=['.avi','.qt','.mov','.mpeg','.mp4','.mpg','.asf','.wmv','.3gp']
> > DO_ENCODING=True
> > NUMBER_OF_PARALLEL_ENCODERS=1
> > ENCODER_LOCKFILE_BASE=/opt/plumi-0.2-final/indytube/plumidemo-encoder.lock
> > POLLTIME=60
> >
> >
> > [mencoder]
> > MENCODER_LOCATION=/usr/bin/mencoder
> > MENCODER_OPTIONS=-really-quiet -of lavf -lavfopts
> > i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame
> > -lameopts abr:br=56 -ovc lavc -lavcopts v
> > codec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3
> > -vf scale=320:240 -srate 22050
> >
> > [ffmpeg2theora]
> > CORTADO_LOCATION=http://demo.plumi.org/flowplayer/cortado-ovt-debug-0.2.2.jar
> > FFMPEG2THEORA_COMMAND=ffmpeg2theora
> >
> > [flvtool2]
> > FLVTOOL_LOCATION=/usr/bin/flvtool2
> >
> > [paths]
> > VIDEO_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos
> > FLV_FILE_DIRECTORY=/var/www/plumi-flv-files/
> > INCLUDE_FILE_DIRECTORY=/opt/instances/PlumiDemoLive/var/files/Members
> > INCLUDE_FILE_SUFFIX=.flv.inc
> > INCLUDE_TEMPLATE=/opt/plumi-0.2-final/indytube/plumi.template
> >
> > [urls]
> > FLOWPLAYER_LOCATION=http://localhost/flowplayer/FlowPlayerClassic.swf
> > VIDEO_SERVER_URL=http://localhost/
> > SPLASH_IMAGE_BASE=http://localhost/flowplayer/
> > SPLASH_IMAGE_FILE=indytube.jpg
> >
> > [logging]
> > LOG_FILE=/opt/plumi-0.2-final/indytube/plumi-wetube.log
> > LOG_LEVEL=logging.INFO
> >
> >
> > And here is an ls of the dir where tthe files to be converted are, IE:
> > VIDEO_FILE_DIRECTORY
> >
> > $ pwd
> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos
> > $ ls -lrt
> > total 1108
> > drwxr-xr-x 3 plone plone 4096 2008-08-20 12:02 portal_factory
> > -rw-r--r-- 1 plone plone 744006 2008-08-20 12:04 8pounder.mpg
> > -rw-r--r-- 1 plone plone 372772 2008-08-21 06:51 ginnietop.wmv
> >
> > and a sample of my log file
> >
> > 2008-08-21 17:28:30,648 INFO Max encoders reached(1), exiting.
> > 2008-08-21 17:29:30,652 DEBUG started looperInvoker function at
> > 08/21/08 17:29:30, calling loop every 60 seconds
> > 2008-08-21 17:29:30,652 INFO Max encoders reached(1), exiting.
> > 2008-08-21 17:30:30,656 DEBUG started looperInvoker function at
> > 08/21/08 17:30:30, calling loop every 60 seconds
> > 2008-08-21 17:30:30,656 INFO Max encoders reached(1), exiting.
> > 2008-08-21 17:31:30,660 DEBUG started looperInvoker function at
> > 08/21/08 17:31:30, calling loop every 60 seconds
> > 2008-08-21 17:31:30,660 INFO Max encoders reached(1), exiting.
> >
> > Thanks in advance,
> > James
> >
> >
> > ______________________________________________________________________
> > Get ideas on sharing photos from people like you. Find new ways to
> > share. Get Ideas Here!
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.plumi.org
> > http://lists.plumi.org/listinfo/discuss
> --
> Andy Nicholson
>
> http://wiki.infiniterecursion.com.au/wiki/ContactDetails
_________________________________________________________________
Be the filmmaker you always wanted to be—learn how to burn a DVD with Windows®.
http://clk.atdmt.com/MRT/go/108588797/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plumi.org/pipermail/discuss/attachments/20080822/79c54630/attachment.htm>
More information about the Discuss
mailing list