tinsu / moteve

Automatically exported from code.google.com/p/moteve
0 stars 0 forks source link

ffmpeg hangs #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After some time, the video transcoding thread that utilizes ffmpeg hangs.
The ffmpeg process is running, produces no std/err outs. That leads to the
transcoding process counter exceeds the configured limit and no other video
parts are transcoded.

In log when the issue happens:

2010-04-05 15:36:30,789 [Thread-11] INFO 
com.moteve.service.TranscodingWorker - Executing /usr/local/bin/ffmpeg -i
/var/mtvideo/source/4/105/108.3gp -ar 11025 -b 260000 -s 320x240
/var/mtvideo/out/4/105/108.flv

Then there are no more messages from the [Thread-11], although both
ffmpeg's std and err outs are catched and logged.

Original issue reported on code.google.com by radek.sk...@gmail.com on 5 Apr 2010 at 1:46

GoogleCodeExporter commented 9 years ago

Original comment by radek.sk...@gmail.com on 5 Apr 2010 at 2:07

GoogleCodeExporter commented 9 years ago
The transcoding process is invoked after the media file is flushed and closed -
didn't help.

Tried the TranscodingWorker thread to sleep for 100 ms before executing ffmpeg 
to
make sure the file has really been closed - did not help.

Original comment by radek.sk...@gmail.com on 5 Apr 2010 at 2:10