craig_sorensen01
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Search by My Solr Server] Search Suggestion drop down warningsAlso if it matters I’m using apache-solr-3.6.0
Wow, Thanks Alex!
with respect to my number one “1. get php5-ffmpeg support and restart apache” …. derp? It was end of day, I was tired … and must have been drunk by then …. don’t know why I was thinking I needed it for this plugin because I saw exec() was used to call ffmpeg.
anyway, thanks for all the info! I appreciate it:)
I have it “working”, I needed to do three steps:
1. get php5-ffmpeg support and restart apache
>sudo apt-get install php5-ffmpeg
>sudo /etc/init.d/apache2 restart2. my server did not have MP4Box so i had to install it (possibly add this to the plugin requirements??)
> sudo apt-get install gpac3. I had to remove some switches from the ffmpeg command in wpvp-functions.php
convert:
$extra = “-s ${width}x${height} -ar 44100 -b 384k -ac 2 “;
to:$extra = “-ar 44100 -b:v 384k -ac 2 “;
and convert:
$extra .= “-acodec libfaac -vcodec libx264 -f mp4 -vtag avc1 -vpre normal -refs 1 -coder 1 -level 31 -threads 8 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -flags +4mv -trellis 1 -cmp 256 -me_range 16 -sc_threshold 40 -i_qfactor 0.71 -bf 0 -g 250”;to:
$extra .= “-threads 8 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8”;I can now use the plugin to upload and view videos on my wordpress site; however, if anyone can explain to me what the ffmpeg switches I removed do I’d appreciate it a bunch. (I get the -s and -thread switch)
after re-reading the FAQ, this part:
What pre-requirements do I need to install this plugin?
You must Install ffmpeg on your server and recompile PHP with ffmpeg-PHP.…the recompile PHP with ffmpeg-php part is probably the problem but I don’t think I know how to do that since I sudo apt-get installed php … if i figure that out before you reply and it solves my problem I’ll post it.
I’m having a very similar issue.
I upload a video and only the thumbnail is created, the MP4 is not created. I followed the instructions here to install ffmpeg:
https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
I have checked the ffmpeg install and I’ve manually converted my video to mp4 and put that in the folder the webplayer is expecting it and it works. I have also confirmed i can upload videos as Media.My upload limits are 300M (post and max_upload_size).
version of wordpress is 3.3.2
I have control of the server so I can try anything you suggest and I am competent with PHP.I tried what you suggested by un-commenting
return error_log( date ( ‘r -> ‘, time() ) . print_r($data,true) . “\n” , 3, “debug_encoder_new.log”);
in wpvp-functions.php but nothing is generated.
Thanks for any help:)