The other day I noticed that when trying to view videos in my Gallery, Flowplayer was appearing as just a vertical narrow bar instead of the normal-sized player and the video was not playing. If I right-clicked on the bar and opened the link in a new tab, the MP4 would play just fine via the QuickTime plugin.
Working backwards, I found that videos uploaded before October 15 were fine but anything after that had the problem. From that I deduced that when I upgraded my server from Ubunty Natty to Oneiric, something must have messed up ffmpeg with regards to G3.
To test, I pointed G3 to the copy of ffmpeg I had saved from before the upgrade. If I then uploaded a video into the gallery, Flowplayer appeared normally. Checking the two different versions of ffmpeg, I don't really see much of a difference, and both versions can properly identify the resolution of my MP4 videos (normally just 640x480). I checked the items table and the width column seems to be properly set.
Does anyone know of a way to "fix" the non-working videos without having to re-upload them to G3? I checked the items table and can't really see what would be missing/invalid due to the newer version of ffmpeg that came with Oneiric. I'm going to try re-building from scratch to see if that helps going forward but in the meantime I'm looking for a way to get Flowplayer to correctly play the videos I uploaded after October 15.
Thoughts?
Posts: 7936
http://codex.gallery2.org/Gallery3:Modules:videodimensions
-s
Posts: 107
Ah, thanks! That helped me find the problem. I had somehow missed seeing the "height" column on the items table. For the affected videos, the height was set to 31637661 instead of 480. I used SQL to fix the rows with problems and that seems to have worked. I guess I need to figure out why ffmpeg isn't setting that dimension correctly when the videos are uploaded.
Posts: 7936
Looks like its setting the duration as height.
from shell try:
ffmpeg -i /path/to/one/of/your/movies.mp4
output should look something like this.
Report your output here.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 33
This is the problem I am having, duration set as height, whats the fix please