wiki:IndyTube

Version 12 (modified by datakid, 4 years ago) (diff)

--

Indytube

Indytube is a twisted reactor run video transcoding script.

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

The latest tagged version we are using in plumi 0.2.2-final is http://plumi.org/browser/indytube/tags/plumi-0.2.2-2

The latest tagged version we are using in plumi 0.2.3 RC3 is http://plumi.org/browser/indytube/tags/plumi-0.2.3-rc3

NOTE that the version of IndyTube, distributed in plumi 0.2.3, and found on the branch for plumi 0.2.x, http://plumi.org/browser/indytube/branches/plumi-0.2.x , solves the transcoding problem of a user uploading two files with the same name, but different file extensions (abc.mp4 and abc.mov for instance) as documented here http://plumi.org/ticket/204. If upgrading or updating, please read this ticket for instructions.

http://plumi.org/ticket/89

Installing IndyTube on Plumi 0.2.x

Installing IndyTube on Plumi 0.3.x (pre-alpha)

unreleased -- Indytube version for Plumi 0.3.x will be a python egg

Restarting Indytube (manual way, for Plumi 0.2.x version)

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

Historical

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