wiki:IndyTube

Version 5 (modified by datakid, 6 years ago) (diff)

updated links to work :)

Indytube

Indytube is a transcoding python script.

Currently (9th Dec 07) there a a few SVN repositories around. Unfortunately these have different code in them. These should be merged, or one deprecated.

We host a SVN indytube repository here - http://plumi.org/browser/indytube/trunk

We have an initial tagged version we are using in plumi and EngageMedia - http://plumi.org/browser/indytube/tags/plumi-0.1-3

There is a codecoop homepage for indytube here -  http://codecoop.org/projects/indytube/

A first version of an egg is being worked on at the PloneConference? 2007 Sprint (14th Oct) It will be released as 0.2 (in view of being different from the above 0.1 set of tags) and will be checked in SVN trunk on plumi, as above.

http://plumi.org/ticket/89

Installing IndyTube on Plumi

Restarting Indytube

We have noticed that indytube can stop working on occasion. Obviously we are working on a fix for this, but in the meantime, here are some instructions regarding restarting indytube.

Note that this has been written for a system that has several running Plumi instances (eg: stable and testing). It would be a lot easier with only one running instance - you would skip step 1.b.

  1. kill the process
    1. discover which process is the one you want to restart.
      user@plumibox:$ ps auxwww | grep indy
      
      root 16946 0.3 0.3 11484 7636 ? S 19:23 0:33 /usr/bin/python2.4 ./indytube.py
      
      user 19665 0.0 0.0 3200 720 pts/0 R+ 21:42 0:00 grep indy
      
      the second column is the PID
    2. check the /proc psuedo file system , which gives links to info about each process running
      user@plumibox:$ls -ltr /proc/
      
      user@plumibox:$ sudo ls -ld /proc/16946/cwd 
      lrwxrwxrwx 1 root root 0 2007-07-25 11:44 /proc/16946/cwd -> /opt/instances/indytube-svn
      
    3. That's the process to kill, in this case, and where to restart it from:
      user@plumibox:$sudo kill -9 16946
      
  1. Restart indytube
user@plumibox:/opt/instances/indytube-svn$ sudo ./run_indytube.sh

The directory from which you start indytube represents the Plumi instance that it is running on - make sure you restart it from the right place!

Transcoding Errors - Indytube / Variable Frame Rates

Errors have been reported when videos inputting into mencoder (Indytube) have a variable frame rate. See this ticket for info:  http://www.plumi.org/ticket/130

See this wiki page for more research notes: TranscodingErrors