Hi Travis,

I have been having this issue off and on. I upload a video, it converts via FFMPEG just fine. It is sitting converted in the flash video folder, but it won't show on the node, just the video MIA shows.

This seems to be happening with flv files more than with other files like mov or wmv. Any thoughts to this? I was thinking it might be a conflict with the module and pathauto, so I turned pathauto off an tried again, and still the issue. The reason why we like flv as the orginal is because when we upload a mov or wmv the FFMPEG conversion looks like crap.

This has been driving me crazy!

Michelle

Comments

dsnydernc’s picture

I can't speak to the FLV issue Michelle, but Re the bad conversions.... have you tried adjusting the conversion command settings? I don't even recall what the default bitrate is upon installing the module, but for us it was much too low (though it makes sense to default to a low setting for most people). You might want to try increasing that, you would have better results with quality - of course the file sizes will also increase.

You can increase the bitrate simply by adding '-b 123k' where 123 is the desired bitrate. I use 900 on most of my sites for sharp quality. So for instance, 900 would make my 'ffmpeg Command' line look like this:

-i @input -f flv -b 900k -acodec mp3 -ar 22050 -ab 64k -ac 1 @output

Of course depending on the commands you are passing, yours may differ.

michellepurestock’s picture

Thank you so much. This at least allows me to upload mov and have them convert nicer.

Still stumped on the flv issue, but at least we are back in business.

Thanks again!

kevinquillen’s picture

Priority: Normal » Critical

Same issue here. I changed the command to

-i @input -f flv -b 900k -acodec mp3 -ar 22050 -ab 64k -ac 1 @output

Now it doesn't put the flv in the node anymore and I get 'Video Not Available' message. This used to work until I fiddled with the quality.

travist’s picture

What is in the ffmpeg_data and flashvideo database for the video file? That might be a good hint.

kevinquillen’s picture

Most of them have this for the input and output row:

files/37_BH_Fixed_Cost.mpg files/37_BH_Fixed_Cost.flv

Which seems correct. There are corresponding rows in the flashvideo table as well.

kevinquillen’s picture

Issue was with FlashVideo. After uninstalling the module, I had to delete any tables related to FlashVideo (this should be part of the uninstall process) ALSO go into variable table and remove all the FlashVideo variables (44 or so for me).

Then, on the 4th time I reactivated just Flash Video (no CCK, S3, etc) it works.

I believe the problem was I put in the cmd parameter wrong, and FlashVideo doesn't check to see that the input is valid for ffmpeg. But then, changing it back had no effect either.

You should add more controls to make this easier instead of requiring the user to put in cmd line parameters. Perhaps a "Quality" fieldgroup with drop down selections. That would make things a lot easier.

Its a great module overall but this almost had me yank my hair out! :D