So tech support on the server did this to make it work - you may find it interesting. Of course, I wonder, will a future update make it stop working again?
Your case was forwarded to me by. I carefully investigated it and it seems that the issue is due to the fact that your script is trying to run the following command:
Code:
/usr/bin/ffmpeg -y -i /home/werssc/public_html/images/originalvideos/378/KyBoUm2rcb0.mp4 -vcodec libx264 -acodec aac -ab 64k -strict -2 -crf 23 -s 640x360 /home/werssc/public_html/images/videos/378/tvYVSVUjbU9.mp4
which eventually results in the following error:
Code:
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.97 (2997/100)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/werssc/public_html/images/originalvideos/378/KyBoUm2rcb0.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Windows 7 Wildlife sample video -
www.archive.org/details/Windows7WildlifeSampleVideo
encoder : Lavf52.73.0
Duration: 00:00:30.06, start: 0.000000, bitrate: 585 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 416x240, 518 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 59.94 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 61 kb/s
[libx264 @ 0x808cff0]broken ffmpeg default settings detected
[libx264 @ 0x808cff0]use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x808cff0]preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x808cff0]speed presets are listed in x264 --help
[libx264 @ 0x808cff0]profile is optional; x264 defaults to high
Output #0, mp4, to '/home/werssc/public_html/images/videos/378/tvYVSVUjbU9.mp4':
Stream #0.0(eng): Video: libx264, yuv420p, 640x360, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream #0.1(eng): Audio: libfaac, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
What the above means is that all the options the script is passing to the command are now obsolete and deprecated. Instead, a profile should be used (e.g. -vpre medium). I further checked the script and edited your components/com_community/libraries/videos.php file, removed the options added and added the default -vpre medium instead. Running the cronjob now returns:
Code:
<message>1 videos converted successfully...</message>
Further more, please note that such script/application debugging is not part of our support service and we would be unable to help you in similar cases in the future.
Best Regards,
Senior Supervisor,
Technical Support Team