So far I've had good success. However I'm trying to tweak the command line to increase quality. Currently it is really blocky when motion. I believe the 2 pass method would be very helpful, but when I add -pass 2, the video does not get created. I also use -sameq, to make sure the bit rate is the same as the original file. Would you know why a two pass would fail?

I realize this question is probably outside the scope of support, but I thought I'd ask anyway.

Regards,

Marius

Comments

travist’s picture

Have you checked the version of your FFMEG? You might make sure you are running the latest version.

mariusooms’s picture

That's what I was thinking as well. I'm hosted with Dreamhost, they have a pretty good backend where you are allowed a lot. I'll have to check that and see, maybe it will be possible to have ffmpeg installed in our home directory as well.

Thanks

Update: I just checked and yes, it is possible to compile a more recent version of ffmpeg in the home directory. Fingers crossed.

mariusooms’s picture

Hi Travis. I compiled succesfully a new version of ffmpeg on my server included I also installed the Lame decoder (I read somewhere this is necessary for mp3 audio).

When I set the path under global settings to the new path "/home/account/bin/ffmpeg" it doesn't seem the initiate. The media file gets simply uploaded, but no additional flv and jpg files are created.

Would it be necessary to run the ffmpeg-php script as well when the path is altered? Or do you have any other ideas why the uploaded movie is not being parsed? I'm willing to try anything, heck, I already spend a whole day on it, haha.

Kind regards,

Marius

themiadude’s picture

hey mariusooms,

it seems like you are having the same issue that i am having. i am hosted on dreamhost as well and i installed ffmpeg and lame on the server but when i update the path same as you did in flashvideo, but flashvideo doesn't seem to find thenew path. if you try to convert directly on the sever through ssh, you'll see that ffmpeg is working fine. i've posted a similar issue but im still waiting get a reply. let me know if you get it working.

ralph

mariusooms’s picture

I think Dreamhost also has ffmpeg-php installed which is needed to fetch movie information? So, because you will not be able to install ffmpeg-php without php installed in your Dreamhost home directory, it won't work. At least that's what I think is preventing ffmpeg from executing on the new path. Also, I'm not adventures enough to install a separate php just for my account. Maybe Travis has some ideas to make this module work without relying on ffmpeg-php, but I'm not sure about a lot I've just said :-)...I'm learning about this stuff as I get along.

Regards,

Marius

PS...All I really want is to get ride of the aweful blockyness after the video has been decoding. Uping the bitrate doesn't help. Using qsame or qscale don't give satisfying result either. That's why I was hoping for vbr support or 2 pass method. It seems using those variables in the string are not compatible with the instal of ffmpeg on Dreamhost. As they all result in no video showing.

themiadude’s picture

hey Marius,

How are you getting the video to successfully convert using dreamhost's version of ffmpeg if they do not have lame installed by default. thats why i had to install ffmpeg on my own account. i also installed ffmpeg-php and flashvideo wasn't recognizing that either. it was giving me the error that its not installed but that doesn't make much sense to me either when ssh is successfully converting videos using it. I have a bad feeling that flashvideo won't look elsewhere for the path to ffmpeg besides the usr/bin/fmpeg location. Hopefully Travist knows whats going on with the flashvideo that it won't locate another path.

Ralph

mariusooms’s picture

Hi Ralph...you can manually alter the path of ffmpeg in the admin Global Flashvideo Settings. As far as Dreamhost not having lame installed. I don't know if they do or don't, maybe they use another mp3 codec. Regardless, I am able to successfully upload and encode using the default settings (usr/bin/ffmpeg).

Try changing your path and see, there is also a checkbox to use your own ffmpeg-php script if you do have that installed as well.

Marius

xAaronAx’s picture

Version: 6.x-1.3 » 6.x-1.4-beta

Ralph,

Have you gotten your issue resolved yet? I am on Dream host and in the same boat as you.

themiadude’s picture

nope and doesn't seem like anyone really cares to help resolve it, im going to use a different cms

mariusooms’s picture

Status: Active » Closed (works as designed)

The 2-pass method requires the file to be passed twice where this module can only pass it once. Regardless, I've resolved it so this issue regarding passes so it can be marked as "by design".