encoding after updating ffmpeg doesn't work

2 views
Skip to first unread message

asega

unread,
Sep 29, 2009, 8:37:40 PM9/29/09
to Panda, as...@socialgo.com
Hello,

I've successfully managed to deploy panda on an amazon instance, and
it's working kind of ok.
Since, the version of ffmpeg bundled with the image is a bit old, I've
decided to recompile
ffmpeg so that it would support more formats.

This is the output of ffmpeg without any argument:

FFmpeg version SVN-r20066, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
built on Sep 28 2009 10:29:52 with gcc 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
configuration: --enable-libx264 --enable-gpl --enable-libfaad --
enable-libfaac --enable-libmp3lame
--enable-libtheora --enable-libvorbis --enable-libxvid --enable-
libopencore-amrnb
--enable-libopencore-amrwb --enable-nonfree --enable-version3 --
enable-shared --disable-ipv6
--enable-libgsm
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.36. 0 / 52.36. 0
libavformat 52.39. 0 / 52.39. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1

Now, when I try to encode a test video using the dashboard, I get the
following error message (just after uploading
the file): "The video format was not recognised. Please ensure that
your video follows the upload
format guidelines."

Thing is, when I try to encode a file (which could be encoded before
the upgrade) via panda, I get the previous message, though using the
command line, I have no problems.
ffmpeg -i outputs:
Input #0, mpeg, from 'XPsmartTagsPPC.mpg':
Duration: 00:00:30.19, start: 0.529733, bitrate: 352 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 208x160 [PAR 1:1 DAR
13:10], 104857 kb/s, 25
tbr, 90k tbn, 25 tbc
Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 2 channels, s16, 96 kb/s


I've tried to play with /var/local/www/panda/public/javascripts/
jquery.nginxUploadProgress.js but it seems
that it's the wrong file to fix...

Anyone has a clue ?

Thanks for reading/helping....

Asega.

Stuart Smith

unread,
Sep 30, 2009, 3:40:39 AM9/30/09
to panda...@googlegroups.com
I had the same problem but found a patch for rvideo to fix it -
http://code.google.com/p/rvideo/issues/detail?id=2#c2

Simply change inspector.rb, line 53 to:

metadata = /(Input \#.*)\n(Must|At\sleast)/m.match(@raw_response)

Cheers,
Stuart

asega

unread,
Oct 1, 2009, 1:05:00 PM10/1/09
to Panda


On Sep 30, 8:40 am, "Stuart Smith" <stuartmartinsm...@btinternet.com>
wrote:
> I had the same problem but found a patch for rvideo to fix it -http://code.google.com/p/rvideo/issues/detail?id=2#c2
>
> Simply change inspector.rb, line 53 to:
>
>       metadata = /(Input \#.*)\n(Must|At\sleast)/m.match(@raw_response)
>

Whoohoo. It works !
Thanks.
Reply all
Reply to author
Forward
0 new messages