After upgrading from RC6 and setting all my videos status to 1 (using my own preset settings) I was able to convert my videos fine, the first 20 or so finished all with code 10.

From there on, I can't get any videos to encode. They all end up at status 5.

The dblog shows me the error: video_conversion Cound not move the video to the original folder.

Syslog says: Jan 25 17:05:02 localhost drupal: http://default|1295993102|video_conversion|127.0.0.1|http://default/index.php||0||Cound not move the video to the original folder.

I tried chmod -R 777 files/
I tried to chown everything in /original to root:root and also www-data:www-data no luck on either

Where else can I see what's actually happening and what file it couldn't move?

Also strange that it converted over 20 videos before having this problem. I have enough diskspace available.. I dunno.

Comments

parasox’s picture

PS: My preset is: '!cmd_path -y -i !videofile -f flv -crf 22 -vcodec libx264 -vpre slow -threads 0 -acodec libfaac -ar 22050 -ab 48 -s !widthx!height -qscale 1 !convertfile'

hypertext200’s picture

You should chown to apache user

parasox’s picture

Status: Active » Closed (works as designed)

okay I found the problem.

Some of my original videos were in /videos/original/ while others were in /original/ which got switched up by my upgrade to the alpha. To make it easy I made duplicate copies of all the files and now it's running again.

I'm guessing it's giving the wrong error code, as it actually couldn't find the files rather than failing to move them.

Fixed for me, thanks for your help as always!

parasox’s picture

Status: Closed (works as designed) » Active

Hrm maybe not so soon. All my videos seem to be encoding okay now, though I'm still getting the odd "Cound not move the video to the original folder" message... Even though my videos are showing status 10. Not sure.

Curious if ffmpeg being run by two different users somehow could be causing an issue? I just saw this in top:

1666 root 39 19 371m 242m 1420 D 131 24.1 13:56.64 ffmpeg
1331 www-data 36 16 370m 232m 1364 R 15 23.1 11:43.85 ffmpeg
1901 root 39 19 211m 123m 1512 D 0 12.2 0:16.89 ffmpeg
1863 root 39 19 210m 106m 1524 S 43 10.5 1:18.93 ffmpeg

Could that cause a problem?

aamato’s picture

I have the same problem here !!

jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Please try this with the latest release, 6.x-4.5 or 6.x-4.6-rc1.

jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closed because of lack of response.