Howdy!
With the node/ffmpeg setup, we’re having a problem with videos that have foreign characters in them not encoding properly.
A member will upload a video titled “Baño 001”. <— Notice the n is a non-English character.
Then we get:
==================================
= Success : Encoding Successfull =
==================================
{ file_id: 1,
file_url: 'http://127.0.0.1:1203/Baño-001.mp4',
status: 3,
file_name: 'Baño-001.mp4' }
ffmpeg -i ./queued/Baño-001.mpg -loglevel quiet -filter:v yadif -an -ss 1 -t 00:00:01 -r 1 -vframes 1 -y -vcodec mjpeg -f mjpeg "./temp/Baño-0010.jpg" 2>&1
stdout:
stderr:
I didnt include all of the log file for this video, because that’s not important. What is important is the filename of Baño-001.mpg. I believe this to be a bug in either the node script, or the wordpress plugin part of the script that is doing something goofy with foreign characters. I dont know how to fix this myself. A suggestion, would to be to strip all non-English characters, though, as that appears to be the issue at hand.
Even though the video encodes, with such a strange filename, the callback from WordPress does not fetch the file nor the screenshots. As many of our members speak other languages, this is a daily problem for us to fix right now, and the only fix we can do is delete their uploads and make them angry.
*Please note, that the ffmpeg/node plugin was purchased by the site owner, and not part of my account. We do own the license for it, but it wont show up under this username.
Thanks very much!