<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Andy and Datakid,<br><br><br><br>Datakid, I have mencoder installed if that is what you mean. The documentation indytube readme says that<br>"Mencoder, the Mplayer video encoder/decoder swiss army knife.<br>This is better than ffmpeg because it is designed to handle<br>any proprietary cruft that your users throw at it."<br><br>Andy, I am not converting to .flv at all. My log file tells me<br>2008-08-22 08:51:21,861 INFO Starting indytube... in /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos<br>2008-08-22 08:51:21,861 DEBUG Checking file /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg, using extension .mpg<br>2008-08-22 08:51:21,878 INFO OK to try encoding: /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>2008-08-22 08:51:22,507 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg in 0.63 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<br>2008-08-22 08:51:22,645 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg in 0.00 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<br>2008-08-22 08:51:22,645 INFO FLV file size is zero - assuming encoding failed! Permanently skipping file!<br><br><br>I also have /usr/bin/ffmpeg2theora installed ,because it was in the original indytube.conf file so I figured I needed it also. I tried taking it out of the conf file and recieved errors looking for it when I started indytube.<br>If this section is only for generating .ogg and I shouldnt be using .ogg only .flv why cant I remove it from the .conf?<br><br>As I said stated in the last mail, when running the mencoder command that is generated by indytube.py I get no output at all on the command line when I run it manually.I got the command line from the logfile below. the "using cmd" section.<br><br>2008-08-22 08:51:21,861 INFO Starting indytube... in /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos<br>2008-08-22 08:51:21,861 DEBUG Checking file /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg, using extension .mpg<br>2008-08-22 08:51:21,878 INFO OK to try encoding: /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>2008-08-22 08:51:22,507 INFO Encoded /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg in 0.63 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<br><br>I decided to try to run it manually without some of the flags to see if I could get any output at all from mencoder.<br><br>The command I got to run manually was:<br><br> sudo /usr/bin/mencoder /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv -o /var/www/plumi-flv-files/jagaworktest/videos/ginnietop.flv -of lavf -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<br><br>So to sum up:<br>1) Do I need ffmpeg ?<br><br>2) Why is the default indytube.conf and indytube.py creating a .ogg if I am not using them and how can I stopp this.<br><br>3) Why do I get no output at all using the mencoder command generated by indytube.py<br><br><br>Below is my indytube.conf, does anything look out of wack in it?<br><br>[encoder]<br>BE_HOW_NICE=18<br>CONVERT_THESE=['.avi','.qt','.mov','.mpeg','.mp4','.mpg','.asf','.wmv','.3gp']<br>DO_ENCODING=True<br>NUMBER_OF_PARALLEL_ENCODERS=3<br>ENCODER_LOCKFILE_BASE=/opt/plumi-0.2-final/indytube/plumidemo-encoder.lock<br>POLLTIME=60<br><br><br>[mencoder]<br>MENCODER_LOCATION=/usr/bin/mencoder<br>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<br>codec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=320:240 -srate 22050<br><br>[ffmpeg2theora]<br>CORTADO_LOCATION=http://localhost/flowplayer/cortado-ovt-debug-0.2.2.jar<br>FFMPEG2THEORA_COMMAND=ffmpeg2theora<br><br>[flvtool2]<br>FLVTOOL_LOCATION=/usr/bin/flvtool2<br><br>[paths]<br>VIDEO_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members<br>FLV_FILE_DIRECTORY=/var/www/plumi-flv-files/<br>INCLUDE_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members<br>INCLUDE_FILE_SUFFIX=.flv.inc<br>INCLUDE_TEMPLATE=/opt/plumi-0.2-final/indytube/plumi.template<br><br>[urls]<br>FLOWPLAYER_LOCATION=http://localhost/flowplayer/FlowPlayerClassic.swf<br>VIDEO_SERVER_URL=http://localhost/<br>SPLASH_IMAGE_BASE=http://localhost/flowplayer/<br>SPLASH_IMAGE_FILE=indytube.jpg<br><br>[logging]<br>LOG_FILE=/opt/plumi-0.2-final/indytube/plumi-wetube.log<br>LOG_LEVEL=logging.DEBUG<br><br>Thanks again,<br>James<br><br>> Date: Thu, 28 Aug 2008 11:08:53 +1000<br>> From: datakid@gmail.com<br>> To: discuss@lists.plumi.org<br>> Subject: Re: [plumi-discuss] (no subject)<br>> <br>> Hi James,<br>> <br>> Unfortunately I don't know the software well enough to answer your<br>> question fully regards the transcoding.<br>> <br>> In regards the embedded video, I'm pretty sure all the plumi<br>> installations I've done have automatically put the video in the<br>> correct page.<br>> <br>> Do you have ffmpeg installed? This is required for indytube to work...<br>> <br>> <br>> L.<br>> <br>> On Wed, Aug 27, 2008 at 7:27 AM, James Gabe <sienasoft1@hotmail.com> wrote:<br>> > Well I am still stuck on this one, I have done some poking around but have<br>> > not made any progress. Maybe I am confused about the process. It was my<br>> > thinking that Indytube would be converting the uploaded file to a .ogg and<br>> > creating a .flv "wrapper" for displaying the .off in the flow player. I was<br>> > able to do in as an admin and publish the video that was uploaded, but that<br>> > didnt do anything , it still does not show up as an embedded video on the<br>> > page, just a link to download the video in its original .mpg format. And I<br>> > still have the Transcode Status:The transcoding failed.<br>> ><br>> > Thanks in advance,<br>> > James<br>> ><br>> > ________________________________<br>> > From: sienasoft1@hotmail.com<br>> > To: discuss@lists.plumi.org<br>> > Date: Fri, 22 Aug 2008 14:30:12 -0400<br>> > Subject: Re: [plumi-discuss] (no subject)<br>> ><br>> > Thanks Andy and Datakid/Musicman/L<br>> ><br>> > That worked perfectly. I deleted the lockfile and also bumped the<br>> > NUMBER_OF_PARALLEL_ENCODERS and I am now converting my files to .ogg but the<br>> > flv file are ending up as 0 bytes. I took the command that it is executing<br>> > from the log file and ran it at the command line. It doesn't spit anytyhing<br>> > back out at me and just goes back to a command prompt, I was hoping to see<br>> > some kind of error message there. It is not a permisions problem because it<br>> > does create the file, its just empty. The command I tried at command line<br>> > that returned nothing was:<br>> ><br>> > /usr/bin/mencoder -quiet<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>> > -o /var/www/plumi-flv-files/8pounder.flv -really-quiet -of lavf -lavfopts<br>> > i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame -lameopts<br>> > abr:br=56 -ovc lavc -lavcopts<br>> > vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf<br>> > scale=320:240 -srate 22050<br>> ><br>> ><br>> > ######################################<br>> > Here is a little excerpt from the log.<br>> ><br>> > 2008-08-22 09:24:46,948 INFO Ending indytube... We checked 2 eligble files,<br>> > converted 0 files<br>> > 2008-08-22 09:25:46,951 DEBUG started looperInvoker function at 08/22/08<br>> > 09:25:46, calling loop every 60 seconds<br>> > 2008-08-22 09:25:46,951 INFO Starting indytube... in<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos<br>> > 2008-08-22 09:25:46,951 DEBUG Checking file<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg,<br>> > using extension .mpg<br>> > 2008-08-22 09:25:46,952 INFO OK to try encoding:<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>> > 2008-08-22 09:25:46,970 INFO Encoded<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>> > in 0.02 seconds, using cmd -- /usr/bin/mencoder -quiet<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>> > -o /var/www/plumi-flv-files/8pounder.flv -really-quiet -of lavf -lavfopts<br>> > i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame -lameopts<br>> > abr:br=56 -ovc lavc -lavcopts<br>> > vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf<br>> > scale=320:240 -srate 22050<br>> > 2008-08-22 09:25:49,278 INFO Encoded<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>> > in 2.28 seconds, using cmd -- ffmpeg2theora<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/8pounder.mpg<br>> > -o /var/www/plumi-flv-files/8pounder.ogg<br>> > 2008-08-22 09:25:49,279 INFO FLV file size is zero - assuming encoding<br>> > failed! Permanently skipping file!<br>> > 2008-08-22 09:25:49,279 DEBUG Checking file<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv,<br>> > using extension .wmv<br>> > 2008-08-22 09:25:49,279 INFO OK to try encoding:<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv<br>> > 2008-08-22 09:25:49,298 INFO Encoded<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv<br>> > in 0.02 seconds, using cmd -- /usr/bin/mencoder -quiet<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv<br>> > -o /var/www/plumi-flv-files/ginnietop.flv -really-quiet -of lavf -lavfopts<br>> > i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame -lameopts<br>> > abr:br=56 -ovc lavc -lavcopts<br>> > vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf<br>> > scale=320:240 -srate 22050<br>> > 2008-08-22 09:25:49,878 INFO Encoded<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv<br>> > in 0.56 seconds, using cmd -- ffmpeg2theora<br>> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos/ginnietop.wmv<br>> > -o /var/www/plumi-flv-files/ginnietop.ogg<br>> > 2008-08-22 09:25:49,878 INFO FLV file size is zero - assuming encoding<br>> > failed! Permanently skipping file!<br>> ><br>> > Thanks again for all of the help,<br>> > --James<br>> ><br>> ><br>> >> From: andy@engagemedia.org<br>> >> To: discuss@lists.plumi.org<br>> >> Date: Fri, 22 Aug 2008 11:11:22 +0700<br>> >> Subject: Re: [plumi-discuss] (no subject)<br>> >><br>> >> Hi James<br>> >><br>> >> stop indytube, delete the file 'plumidemo-encoder.lock' and restart<br>> >> indytube - your log file pasted below is telling you it isnt encoding<br>> >> since the max number of encoders you have set in the conf file to<br>> >> running in parallel (1) is already running. indytube only can tell how<br>> >> many others are running by looking for the existence of this lock file,<br>> >> and hence can get it wrong (if indytube dies, it doesnt clean up the<br>> >> file properly)<br>> >><br>> >><br>> >> andy<br>> >><br>> >> On Thu, 2008-08-21 at 17:33 -0400, James Gabe wrote:<br>> >> > I have made it past the error with cheetah and everything seems to be<br>> >> > working now ....except the encoding. I upload files and nothing<br>> >> > happens to them. I installed all of the pieces needed for this and<br>> >> > modified the indytube.conf . I see the files at the OS level and<br>> >> > indytube.py is running but it doesnt seem to see the files.<br>> >> ><br>> >> > Here is my conf file<br>> >> ><br>> >> > [encoder]<br>> >> > BE_HOW_NICE=18<br>> >> ><br>> >> > CONVERT_THESE=['.avi','.qt','.mov','.mpeg','.mp4','.mpg','.asf','.wmv','.3gp']<br>> >> > DO_ENCODING=True<br>> >> > NUMBER_OF_PARALLEL_ENCODERS=1<br>> >> ><br>> >> > ENCODER_LOCKFILE_BASE=/opt/plumi-0.2-final/indytube/plumidemo-encoder.lock<br>> >> > POLLTIME=60<br>> >> ><br>> >> ><br>> >> > [mencoder]<br>> >> > MENCODER_LOCATION=/usr/bin/mencoder<br>> >> > MENCODER_OPTIONS=-really-quiet -of lavf -lavfopts<br>> >> > i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame<br>> >> > -lameopts abr:br=56 -ovc lavc -lavcopts v<br>> >> > codec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3<br>> >> > -vf scale=320:240 -srate 22050<br>> >> ><br>> >> > [ffmpeg2theora]<br>> >> ><br>> >> > CORTADO_LOCATION=http://demo.plumi.org/flowplayer/cortado-ovt-debug-0.2.2.jar<br>> >> > FFMPEG2THEORA_COMMAND=ffmpeg2theora<br>> >> ><br>> >> > [flvtool2]<br>> >> > FLVTOOL_LOCATION=/usr/bin/flvtool2<br>> >> ><br>> >> > [paths]<br>> >> ><br>> >> > VIDEO_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos<br>> >> > FLV_FILE_DIRECTORY=/var/www/plumi-flv-files/<br>> >> > INCLUDE_FILE_DIRECTORY=/opt/instances/PlumiDemoLive/var/files/Members<br>> >> > INCLUDE_FILE_SUFFIX=.flv.inc<br>> >> > INCLUDE_TEMPLATE=/opt/plumi-0.2-final/indytube/plumi.template<br>> >> ><br>> >> > [urls]<br>> >> > FLOWPLAYER_LOCATION=http://localhost/flowplayer/FlowPlayerClassic.swf<br>> >> > VIDEO_SERVER_URL=http://localhost/<br>> >> > SPLASH_IMAGE_BASE=http://localhost/flowplayer/<br>> >> > SPLASH_IMAGE_FILE=indytube.jpg<br>> >> ><br>> >> > [logging]<br>> >> > LOG_FILE=/opt/plumi-0.2-final/indytube/plumi-wetube.log<br>> >> > LOG_LEVEL=logging.INFO<br>> >> ><br>> >> ><br>> >> > And here is an ls of the dir where tthe files to be converted are, IE:<br>> >> > VIDEO_FILE_DIRECTORY<br>> >> ><br>> >> > $ pwd<br>> >> ><br>> >> > /opt/Plone-2.5.5/zeocluster/client1/var/files/Members/jagaworktest/videos<br>> >> > $ ls -lrt<br>> >> > total 1108<br>> >> > drwxr-xr-x 3 plone plone 4096 2008-08-20 12:02 portal_factory<br>> >> > -rw-r--r-- 1 plone plone 744006 2008-08-20 12:04 8pounder.mpg<br>> >> > -rw-r--r-- 1 plone plone 372772 2008-08-21 06:51 ginnietop.wmv<br>> >> ><br>> >> > and a sample of my log file<br>> >> ><br>> >> > 2008-08-21 17:28:30,648 INFO Max encoders reached(1), exiting.<br>> >> > 2008-08-21 17:29:30,652 DEBUG started looperInvoker function at<br>> >> > 08/21/08 17:29:30, calling loop every 60 seconds<br>> >> > 2008-08-21 17:29:30,652 INFO Max encoders reached(1), exiting.<br>> >> > 2008-08-21 17:30:30,656 DEBUG started looperInvoker function at<br>> >> > 08/21/08 17:30:30, calling loop every 60 seconds<br>> >> > 2008-08-21 17:30:30,656 INFO Max encoders reached(1), exiting.<br>> >> > 2008-08-21 17:31:30,660 DEBUG started looperInvoker function at<br>> >> > 08/21/08 17:31:30, calling loop every 60 seconds<br>> >> > 2008-08-21 17:31:30,660 INFO Max encoders reached(1), exiting.<br>> >> ><br>> >> > Thanks in advance,<br>> >> > James<br>> >> ><br>> >> ><br>> >> > ______________________________________________________________________<br>> >> > Get ideas on sharing photos from people like you. Find new ways to<br>> >> > share. Get Ideas Here!<br>> >> > _______________________________________________<br>> >> > Discuss mailing list<br>> >> > Discuss@lists.plumi.org<br>> >> > http://lists.plumi.org/listinfo/discuss<br>> >> --<br>> >> Andy Nicholson<br>> >><br>> >> http://wiki.infiniterecursion.com.au/wiki/ContactDetails<br>> ><br>> > ________________________________<br>> > Be the filmmaker you always wanted to be—learn how to burn a DVD with<br>> > Windows(R). Make your smash hit<br>> > ________________________________<br>> > Get ideas on sharing photos from people like you. Find new ways to share.<br>> > Get Ideas Here!<br>> > _______________________________________________<br>> > Discuss mailing list<br>> > Discuss@lists.plumi.org<br>> > http://lists.plumi.org/listinfo/discuss<br>> ><br>> ><br>> <br>> <br>> <br>> -- <br>> I am a rock, I am an "archipelago of the informal"<br>> _______________________________________________<br>> Discuss mailing list<br>> Discuss@lists.plumi.org<br>> http://lists.plumi.org/listinfo/discuss<br><br /><hr />Get thousands of games on your PC, your mobile phone, and the web with Windows®. <a href='http://clk.atdmt.com/MRT/go/108588800/direct/01/' target='_new'>Game with Windows</a></body>
</html>