Andy, Lachlan 

Thanks for you help so far. 

I've installed a new version of MEncoder as suggested and this got me a bit 
further - running indytube now generates both the ogg and flv files in the 
directory: 

[r...@web3a indytube]# ls /var/www/html/xxxxxx/flv-files/johnh/videos/ 
upload_a_file-a58262b17c82d42ad5bd992dd656c039.flv 
upload_a_file-a58262b17c82d42ad5bd992dd656c039.ogg 

However even after the transcoding has run (and both files are OK) I still have 
these error messages on the site: 


Transcode Status 
The transcoding has not started. 
You may like to try to re-start transcoding. 
If the automatically transcoded movie is corrupted, or poor quality etc. , you 
may like to turn off flowplayer and automatic transcoding. 

and 


However we have detected that there is something wrong with the transcoding 
framework. Please get in contact with us and tell us about this video. 

Also video is still displayed in the same way (just a still) and played via 
quicktime rather than with a flashplayer. I don't get the "embed" code either 
which I've seen on some other plumi sites - i.e. the page is just showing a 
link to the video rather than embedding it in the page. Do I have to explicitly 
activate this somewhere or is it just because the transcoding framework is 
broken somehow and the site cannot "see" the flv file? 

I assume indytube should be running all the time once it has started or is it 
started by a scheduler? I ask because after doing the transcode it stops with 
an error and does not restart even after clicking on the "re-start transcoding" 
link in the interface. 

If I run it from the command line a second time (with the transcoded files 
still there) the video is transcoded again! Surely this is wrong...if the files 
exist then it should see this and bypass the transcoding. So I know something 
is wrong somewhere! 

The log file is: 

[r...@web3a indytube]# cat run_indytube.log 
[swscaler @ 0x14dfc30]864x648 -> 320x240 
SwScaler: reducing / aligning filtersize 12 -> 12 
SwScaler: reducing / aligning filtersize 12 -> 12 
SwScaler: reducing / aligning filtersize 12 -> 11 
SwScaler: reducing / aligning filtersize 12 -> 11 
[swscaler @ 0x14dfc30]BICUBIC scaler, from yuv420p to yuv420p using MMX2 
[swscaler @ 0x14dfc30]using n-tap MMX scaler for horizontal luminance scaling 
[swscaler @ 0x14dfc30]using n-tap MMX scaler for horizontal chrominance scaling 
[swscaler @ 0x14dfc30]using n-tap MMX scaler for vertical scaling (YV12 like) 
[swscaler @ 0x14dfc30]864x648 -> 320x240 
----> [flv @ 0x128f0e0]Codec for stream 0 does not use global headers but 
container format requires global headers 
----> [flv @ 0x128f0e0]Codec for stream 1 does not use global headers but 
container format requires global headers 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2aaaaad38180]negative ctts, ignoring 
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/opt/Plone-2.5.5/zeocluster/client1/var/files/Members/johnh/videos/upload_a_file.mov':
 
Duration: 00:02:53.5, start: 0.000000, bitrate: 307 kb/s 
Stream #0.0(eng): Audio: aac, 44100 Hz, stereo 
Stream #0.1(eng): Video: h264, yuv420p, 864x552, 24.00 fps(r) 
Resize: 864x552 
0:02:53.54 audio: 64kbps video: 347kbps, time remaining: 00:00:00 
Traceback (most recent call last): 
File "indytube.py", line 254, in ? 
main() 
File "indytube.py", line 248, in main 
looperInvoker(indytuber) 
File "indytube.py", line 227, in looperInvoker 
indytuber.do_transcoding_loop() 
File "indytube.py", line 214, in do_transcoding_loop 
os.remove(self.ENCODER_LOCKFILE) 
-----> OSError: [Errno 2] No such file or directory: 
'/opt/indytube/plumi-encoder.lock.0' 
[r...@web3a indytube]# ./run_indytube.sh 
[r...@web3a indytube]# ps ax | grep indytube 
8519 pts/0 S 0:00 python2.4 indytube.py 
8623 pts/0 R+ 0:00 grep indytube 
[r...@web3a indytube]# ls /opt/indytube/ 
plumi-encoder.lock.0 

I've marked three lines: 

top 2: is this important? 

bottom line: while indytube is running this file DOES exist but is not there 
after indytube stops - which is what I'd expect so why the error? Permissions 
on /opt/indytube are "plone:root" / 775 


[r...@web3a indytube]# ls /opt/indytube/ 
plumi-encoder.lock.0 

Any ideas? 

-- 
Regards, 

John Hackett 
E2BN 
t: 020 8764 2663 
f: 020 8764 1318 
m: 07801 231118 
e: [email protected] 
w: www.e2bn.org 
skype: johh_hackett 

----- Original Message ----- 
From: "Lachlan Musicman" <[email protected]> 
To: "John Hackett" <[email protected]>, "Discussion about software 
development on Plumi" <[email protected]> 
Sent: Saturday, 21 February, 2009 19:10:30 GMT +00:00 GMT Britain, Ireland, 
Portugal 
Subject: Re: [plumi-discuss] problem with indytube install 

On Sat, Feb 21, 2009 at 10:46 PM, <[email protected]> wrote: 
> Thanks for your tips - I'm nearer but not quite there.... 

Hi John, this is good, sounds promising... :) 

> The video is transcoded into ogg (so cortado is working) but not into flash: 
> 
> [r...@web3a indytube]# ls -lah /var/www/html/xxxxxx/flv-files/johnh/videos/ 
> total 3.9M 
> drwxr-sr-x 2 apache apache 4.0K Feb 21 15:43 . 
> drwxr-sr-x 3 apache apache 4.0K Feb 20 10:33 .. 
> -rw-r--r-- 1 root apache 0 Feb 21 15:43 
> upload_a_file-a58262b17c82d42ad5bd992dd656c039.flv 
> -rw-r--r-- 1 root apache 3.9M Feb 21 15:44 
> upload_a_file-a58262b17c82d42ad5bd992dd656c039.ogg 
> 
> So I think I have my directories correct but somehow the ruby/flvtool2 bit 
> is wrong. 
> 
> Would the MEncoder version an issue (I have MEncoder dev-SVN-r22970-4.1.1 
> installed) as there are two options in the indytube.conf file. Is this an 
> "older" one? 
> 
> Any ideas on what is causing the ERROR messages above? 


I would say that it is an older version of mencoder and I would 
recommend updating. It's quite hard to tell - I've always found the 
mplayer/mencoder site hard to read/understand :) 

If we look at the mplayer svn trunk: http://svn.mplayerhq.hu/mplayer/trunk/ 
you can see that the latest revision of mencoder is 28520. 

If you use the tool on the top of that page to look at the revision 
you are using, 22970, 
http://svn.mplayerhq.hu/mplayer/trunk/?pathrev=22970 , you see that 
mencoder is only at revision 22330. 

Also, if you look at the Changelog on the files that are listed as 
outdated (v 1.0rc2 http://www.mplayerhq.hu/MPlayer/releases/ChangeLog 
) you can see that this version of mplayer is at r24722 

I would recommend updating either to the latest packages available to 
you system (did you say Centos? see the mplayer download page) or 
alternatively, use the latest revision from svn - the mplayer site 
recommends this course of action as well. 

Let us know how you go! 

cheers 
L. 



-- 
I believe in revolution _because_ I understand that my hopes are absurd. 
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to