Supported MIME Types
The FFMPEG module can decode files of the following MIME types
video/x-ms-asf
video/x-msvideo
video/x-flv
video/quicktime
video/mp4
video/mpeg
video/x-ms-wmv
The FFMPEG module can encode files to the following MIME types
video/x-flv
Missing required audio codec, encoded videos will not contain sound.
Version Information
FFmpeg version r11872+debian_0.svn20080206-12, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Aug 25 2008 17:05:04, gcc: 4.3.1
Posts: 8339
this is what your ffmpeg is missing:
--enable-libmp3lame
flv uses mp3 audio.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
I tried lame - mp3
I installed and make again the instalion (+configure ) for the ffmpeg!
But it returns this error in the ffmpeg module ehen i test it!
Any further assistance?
tried to reinstall libacodec pascage but nothing change
thank you for the help : )
Posts: 8339
I have not rebuilt mine since january, but here is my configuration
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
I will try it and post the result tomorrow ;)
thx for the fast reply!
The new version of Ffmpeg doesn't have many of these argument!
e.g. --enable-libogg ,,--enable-pp .
Can you upload somewhere your source of ffmpeg so i can download it ? (if you have it )
thank you again.
Posts: 23
still the same error
bah
Posts: 8339
Mine is for freeBSD, but I have several available for different OS on mysite (don't know if any will work with transcode).
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 8339
You may need to update some dependencies.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
Now i have this configuration :
But the problem still :S
Posts: 8339
this error?
try a google search.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
No, the error that :
although i have enabled the mp3 at configure.
Also doesn't compress the video now.
Posts: 8339
Would you like to try the current version of transcode I have?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
i am using the version that is here:
Is any other version available ?
Posts: 8339
Well, when we were working on this, I kept mine in its working state before the last update. And I have my own little tweaks.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
can you send it to try your then ?
i really need this module to my site
(thank you again for the support!)
Posts: 8339
Didn't you get my private message?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
thx i will try it ^^
Posts: 23
Bah the same problem :S
Is going to be a new-stable version for G2.3?
Posts: 7
hey,
I got the same error, but I tried to transcode works fine. I buidl ffmpeg (svn source) on my on and tried to use debian packages from http://debian-multimedia.org/. I Alsways got this message in the admin menu and it says "Audio support not available, video will be silent." on the transcode page.
I mean, I am happy that everything works, but I would like to have this future without failure message (if possible ;))
@SUBERIP: have you tried to transcode a video? maybe it works too???
Posts: 23
You are lucky
Have you updated the site at Gallery 2.2.6? [ I am trying to see if this is the problem :*( ]
All the videos with audio compress them to a file with size: 1589
maybe a other type is needed a ffmpeg
seba84 can you pls post your configuration ?
thank you for the info although
Posts: 7
@suberip: witch configuration do you mean? the ffmpeg. See my quoted text. I got the svn snapshot and build it with the posted configuration command.
I used the transcode script on a test install of version 2.3 RC1.
Right now i got an other problem: Yesterday I want to update a none productive (thank god) install with around 8000 items to 2.3 RC1 to use the transcode script but several errors occur. I can't even access the admin interface of that version. So this is prior for the moment.
all this is just hobby and at the moment i'm out of time for hobbies.
Posts: 23
Oh my wrong i though that was my configuration :P
i will try yours right now
Now can encode movies with out sound correct! But when the movie has sound the file is still corupted :S
still trying ;)
Posts: 7
just a status info:
I tried several builds with different configurations but with the same results. I always get the messages "Missing required audio codec, encoded videos will not contain sound."
But most time they have sound. In other cases they are broken. The videos are all from the same digital ixus 60.
After that I tried to install the binary version from suprsidrs web side witch works fine with all videos, shows the "missing requierd audio codec..." message and has no sound.
i have no more ideas right now. Next week (Oktoberfest comes first ;)) i will try own builds of lame and libmp3lame or older revisions of ffmpeg.
greets seba
Posts: 23
lol
It is 5 in the mornig and i found this site while trying to fix it!
http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html
and the bin files works !! the ffmpeg modules seems to pass but i think miss some de-codecs now :P.
At transcode page still says Audio support not available, video will be silent.
The sound type is PCM !
Posts: 23
A restart of module FFMPEG and all are fine!!
I hope these posts will help the other with the same problem
than k you all for the help
i done it :D
Posts: 8339
Any video with surround sound 5.1 or greater is not yet supported by ffmpeg either. So that could also be your error.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
No, all are kk now.
I dont know why i couldnt install ffmpeg and make it work but the bin that i download works fine
Posts: 7
grrrr.... I tried again a view configurations during my brake. I think they changed something in the svn. In the newes version there should be an error witch was a prolme to me: got that on a transcode during shell (https://roundup.mplayerhq.hu/roundup/ffmpeg/issue641)
with r12787:
gallery: no error occurs on the ffmpeg test page but on transcode page (but transcode did not work)
on shell: everything works fine
with r10787
gallery: no error occurs on the ffmpeg test page but on transcode page (but transcode did not work)
on shell: everything works fine
suprsidr: can you please tel me with revision you are using and maybe give me your transcode modul?! would be nice. I send you an msg with an email addy.
greets seba84
Posts: 23
Download the modules for Transcode && Ffmpeg and install them.
from site:
https://sourceforge.net/tracker/index.php?func=detail&aid=1758576&group_id=7130&atid=307130
install the ffmpeg: " apt-get isntall ffmpeg "
then go to :
[url] http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html[/url]
and copy paste the bin file to "/usr/bin/" and the libs at the library path for your system!
restart module ffmpeg.
This is my steps.
Posts: 7
uhh... thank you. I should read what you wrote!
this is working here too... maybe all my other revision in the post above would have done that too.?! I mean I never deactivate the ffmpeg module. I guess that was my fault because there was no error in the ffmpeg module test, just on transcode side.
@suprsidr just ignore my msg.
Posts: 8339
I guess I should have asked if you had "Bumped" your modules ;)
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 8339
I just spent a couple of hours with transcode and ffmpeg.
I added a video bitrate selector, fixed the other options to actually work. Fixed the "Missing audio..... " error.
AND finished transcode on upload. ;)
Lemme know if you're interested in the update.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 23
:O
we are dieing for this upddate!!!
please
can you pls put and default values so at upload can encode with that values?
the update can be done from admin control at plugin list or manually?
Posts: 8339
Uploaded them here.
I'll look into adding some admin options for setting upload defaults.
I'm not really crazy about the onUpload feature. A simple 6mb movie trailer took a good bit of time to upload and transcode.
Although I added a progressBar to ItemAddfromBrowser.tpl to indicate it was still working at it. Most people would have hit the back button which could produce broken or missing object errors in G2.
Added the progressBar to Transcode.tpl too ;)
I'll include the progressBar mod here.
add it to gallery2/modules/core/templates/local
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 7
thank you very much... right now I'm on work.
I will try this evening.
Greets seba84
Posts: 23
nice it is working
thank you again!
Posts: 7
sorry, didn't look on it last night. I first had to find out how to uninstall a corrupt hidden module by hand (newest version of the hidden module - no deinstall or delete over the admin menu). I will try to find some time this weekend...
Posts: 20
wow. This one appears to be working just fine. Nice work. I did have a couple that werent getting transcoded. All i did was edited the video > Transcode Tab > Uncheck Enable transcoding, save, then Check Enable transcoding.
This is just sweet! Great job.
Posts: 8339
I actually have many updates, but I need to cleanup some code before I package it up for trial.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 20
suprsidr,
Will there be an option to adjust the quality of the encoded movies?
Thanks
Matthew.
Posts: 8339
Ok, new version up.
Adds new options in admin -> transcode
Adds new transcode options in add item from web browser.
Adds transcode to different mimetypes.
Adds output quality/height/width/audio channels/audio samplerate........
I'd uninstall previous versions of transcode & ffmpeg.
You will have to re-install ffmpeg before transcode and probably bump the thumbnail module too(deactivate/re-activate) after ffmpeg.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 8339
While you're at it, try the new flashvideo updates as well.
Adds admin options for player color/sharing/fullscreen/allow download/autoStart ;)
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 20
suprsidr,
This one didnt work. see: http://www.thestormans.com/v/matthew/test/MOV01030.MPG.html
Posts: 20
Also, the File size (bytes) for native and transcoded is 3385361/3385361. Default Video bitrate @ Medium.
Posts: 8339
What format did you try to transcode to?
Was it on upload or itemEdit?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 20
I tried to transcode to flv, and tried both upload and itemEdit.
Posts: 8339
Ok, I see 2 issues, give me a sec to fix them.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 8339
Ok, kinda fixed it... the problem lies with a particular mime(s) having more then 1 extension associated.
flv will definately work, but I have to explore a better way of achieving the default extension for said mime.
Also removed some traces from ffmpeg - so uninstall/re-install again... sorry.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 20
ok, much better. There are still a couple issues though. Ill keep track of them and post them here when I put the list together.
Posts: 23
Nice work seems to work for me no bug until now!
I just started a maintenance "build all thumbnail" i hope will work with the videos too ;)
Posts: 8339
So there is a bug?
It should, no changes there. - remember video thumbs take a sec as the offset needs to be reached.
Works for me.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2