Detecting failed encoding attempts

8 views
Skip to first unread message

ethermeme

unread,
Mar 10, 2010, 12:58:10 PM3/10/10
to Panda
Hi Everyone,

I'm running panda from git checkout
65acf4d19dfea7543c5156873a338d732c98ee44, Dec 2 17:06:40 2009.
Sometimes when an encoding fails, videos get stuck with the
"processing" status permanently. I've tried to implement a monitor
script that detects this and updates our site's database to indicate
an error, but because the order of queue processing is unpredictable,
I haven't been able to figure out a way to do this.

How exactly *should* I monitor for failures? If panda can't update my
site via the state_update_url when it fails, and I can't predict the
order of the processing queue, what can I watch for to recover from
failures?

Thank You,
Troy

Damien Tanner

unread,
Mar 10, 2010, 1:07:44 PM3/10/10
to panda...@googlegroups.com
Hi,

In the new arch, what we do is run the encoding in a separate thread which monitors ffmpeg, then the main encoder process sends a keepalive out very so often. This means that if an encoder dies for some reason, we know which encodings need reprocessing.

I know some people have implemented similar systems internally on top of the open source version.

Damien Tanner Damien Tanner - Co-Founder and Director, Panda
+44 (0)20 7099 7486 - pandastream.com - @pandastream



--
You received this message because you are subscribed to the Google Groups "Panda" group.
To post to this group, send email to panda...@googlegroups.com.
To unsubscribe from this group, send email to pandastream...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandastream?hl=en.


Reply all
Reply to author
Forward
0 new messages