Recording ffmpeg Error: Option sample_rate not found

2,938 views
Skip to first unread message

alexander supertramp

unread,
Aug 23, 2011, 10:20:26 AM8/23/11
to OpenMeetings User
Hello there,

when I try to record an interview in openmeetings in the room "public
interview" I get the following
error message when i try to open the file in the "Recordings" tab:

--------------------

Log:23.08.2011 15:31:22
generateFFMPEG
process-generateFullFLV
error-ffmpeg version git-2011-08-19-ada49f9, Copyright (c) 2000-2011
the FFmpeg developers built on Aug 23 2011 15:30:09 with gcc 4.4.5
configuration:

--enable-libmp3lame libavutil 51. 12. 0 / 51. 12. 0 libavcodec
53. 11. 0 / 53. 11. 0 libavformat 53. 8. 0 / 53. 8. 0
libavdevice 53. 3. 0 / 53.

3. 0 libavfilter 2. 32. 0 / 2. 32. 0 libswscale 2. 0. 0 /
2. 0. 0Option sample_rate not found.
command-[ffmpeg, -r, 25, -vcodec, flv, -ar, 22050, -ab, 32k, -s,
640x240, -qmax, 1, -qmin, 1, -i,

/usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv, -i, /usr/share/red5/webapps/openmeetings/
streams/1/INTERVIEW_18_FINAL_WAVE.wav,

/usr/share/red5/webapps/openmeetings/streams/hibernate/
flvRecording_18.flv]
exitValue-1


Log:23.08.2011 15:31:22
generateFFMPEG
process-generateFullFLV
error-ffmpeg version git-2011-08-19-ada49f9, Copyright (c) 2000-2011
the FFmpeg developers built on Aug 23 2011 15:30:09 with gcc 4.4.5
configuration:

--enable-libmp3lame libavutil 51. 12. 0 / 51. 12. 0 libavcodec
53. 11. 0 / 53. 11. 0 libavformat 53. 8. 0 / 53. 8. 0
libavdevice 53. 3. 0 / 53.

3. 0 libavfilter 2. 32. 0 / 2. 32. 0 libswscale 2. 0. 0 /
2. 0. 0/usr/share/red5/webapps/openmeetings/streams/hibernate/
flvRecording_18.flv: No

such file or directory
command-[ffmpeg, -i, /usr/share/red5/webapps/openmeetings/streams/
hibernate/flvRecording_18.flv, -vcodec, mjpeg, -vframes, 100, -an, -f,
rawvideo, -s,

640x240, /usr/share/red5/webapps/openmeetings/streams/hibernate/
flvRecording_18.jpg]
exitValue-1


Log:23.08.2011 15:31:22
generateFFMPEG
process-alternateDownload
error-ffmpeg version git-2011-08-19-ada49f9, Copyright (c) 2000-2011
the FFmpeg developers built on Aug 23 2011 15:30:09 with gcc 4.4.5
configuration:

--enable-libmp3lame libavutil 51. 12. 0 / 51. 12. 0 libavcodec
53. 11. 0 / 53. 11. 0 libavformat 53. 8. 0 / 53. 8. 0
libavdevice 53. 3. 0 / 53.

3. 0 libavfilter 2. 32. 0 / 2. 32. 0 libswscale 2. 0. 0 /
2. 0. 0/usr/share/red5/webapps/openmeetings/streams/hibernate/
flvRecording_18.flv: No

such file or directory
command-[ffmpeg, -i, /usr/share/red5/webapps/openmeetings/streams/
hibernate/flvRecording_18.flv,

/usr/share/red5/webapps/openmeetings/streams/hibernate/
flvRecording_18.avi]
exitValue-1


-----------------------




Following Versions are installed:

Debian GNU/Linux 6.0 (Squeeze)

Linux Kernel: 2.6.32-5-686

tomcat: 6.0.28-9+squeeze1

Installed: openmeetings_1_7_0_r3822

openjdk-6-jdk/squeeze uptodate 6b18-1.8.7-2~squeeze1

sox: SoX v14.3.1

ffmpeg version git-2011-08-19-ada49f9, Copyright (c) 2000-2011 the
FFmpeg developers
built on Aug 23 2011 15:30:09 with gcc 4.4.5
configuration: --enable-libmp3lame also tried: ./configure --
enable-gpl --enable-version3 --enable-nonfree --enable-libmp3lame
libavutil 51. 12. 0 / 51. 12. 0
libavcodec 53. 11. 0 / 53. 11. 0
libavformat 53. 8. 0 / 53. 8. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 32. 0 / 2. 32. 0
libswscale 2. 0. 0 / 2. 0. 0

ImageMagick 6.6.0-4 2010-11-16 Q16




Can you help me?
Thanks in advance!

Alexander

seba....@gmail.com

unread,
Aug 23, 2011, 10:35:46 AM8/23/11
to openmeet...@googlegroups.com
There is sth wrong with FFMPEG obviously.

This is the command:

ffmpeg, -r, 25, -vcodec, flv, -ar, 22050, -ab, 32k, -s,
640x240, -qmax, 1, -qmin, 1, -i,

/usr/share/red5/webapps/
openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv, -i, /usr/share/red5/webapps/openmeetings/
streams/1/INTERVIEW_18_FINAL_WAVE.wav,

/usr/share/red5/webapps/openmeetings/streams/hibernate/
flvRecording_18.flv

if the files are still there you can try it manually.

But I did not see that error before.

Sebastian


2011/8/23 alexander supertramp <Willy...@aol.com>

--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.




--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com

alexander supertramp

unread,
Aug 24, 2011, 5:29:46 AM8/24/11
to OpenMeetings User

Both files are still existing. If I try to convert them in Terminal:
ffmpeg -r 25 -vcodec flv -ar 22050 -ab 32k -s 640x240 -qmax 1 -qmin 1 -
i /usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv -i /usr/share/red5/webapps/openmeetings/
streams/1/INTERVIEW_18_FINAL_WAVE.wav /home/tpeitz/flvRecording_18.flv
I get the Errror: Sample Rate not found

But if I try to convert them with "-r 25 -vcodec flv -ar 22050 -ab 32k
-s 640x240 -qmax 1 -qmin 1" at the end everything works well.
ffmpeg -i /usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv -i /usr/share/red5/webapps/openmeetings/
streams/1/INTERVIEW_18_FINAL_WAVE.wav /home/tpeitz/
flvRecording_18.flv -r 25 -vcodec flv -ar 22050 -ab 32k -s 640x240 -
qmax 1 -qmin 1
Is there some possibility to change this in openmeetings?
Otherwise i try to write a wrapper for this problem.

Greetings Alexander

On 23 Aug., 16:35, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> There is sth wrong with FFMPEG obviously.
>
> This is the command:
> ffmpeg, -r, 25, -vcodec, flv, -ar, 22050, -ab, 32k, -s,
> 640x240, -qmax, 1, -qmin, 1, -i,
>
> /usr/share/red5/webapps/
> openmeetings/streams/1/
> COMPLETE_INTERVIEW_18.flv, -i, /usr/share/red5/webapps/openmeetings/
> streams/1/INTERVIEW_18_FINAL_WAVE.wav,
>
> /usr/share/red5/webapps/openmeetings/streams/hibernate/
> flvRecording_18.flv
>
> if the files are still there you can try it manually.
>
> But I did not see that error before.
>
> Sebastian
>
> 2011/8/23 alexander supertramp <Willywaf...@aol.com>
> seba.wag...@gmail.com

seba....@gmail.com

unread,
Aug 24, 2011, 6:18:20 AM8/24/11
to openmeet...@googlegroups.com
I don't see any difference between your command and the one that open meetings invokes.

Can you please point to the param that is different in your invokation?

Sebastian

2011/8/24 alexander supertramp <Willy...@aol.com>



--

alexander supertramp

unread,
Aug 24, 2011, 6:48:56 AM8/24/11
to OpenMeetings User
There are two differences:
The first one is, that the parameter have a different order.


Quote: But if I try to convert them with "-r 25 -vcodec flv -ar 22050 -
ab 32k
-s 640x240 -qmax 1 -qmin 1" AT THE END

The second one ist that one works and the other not.

Greetings Alexander


On 24 Aug., 12:18, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> I don't see any difference between your command and the one that open
> meetings invokes.
>
> Can you please point to the param that is different in your invokation?
>
> Sebastian
>
> 2011/8/24 alexander supertramp <Willywaf...@aol.com>

seba....@gmail.com

unread,
Aug 24, 2011, 7:08:29 AM8/24/11
to openmeet...@googlegroups.com
Hi Alexander,

are you sure that there is no such line break or equivalent.
Cause the order of the params has no effect on the command itself.

Sebastian

2011/8/24 alexander supertramp <Willy...@aol.com>
There are two differences:



--

alexander supertramp

unread,
Aug 24, 2011, 7:43:29 AM8/24/11
to OpenMeetings User
Hey Sebastian,

i hoped that i made a mistake but it checked my input not only twice.
It is the order which produces the error:

ffmpeg -i /usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv -i /usr/share/red5/webapps/openmeetings/
streams/1/INTERVIEW_18_FINAL_WAVE.wav /home/tpeitz/
flvRecording_18.flv -r 25 -vcodec flv -ar 22050 -ab 32k -s 640x240 -
qmax 1 -qmin 1
Working

ffmpeg -r 25 -vcodec flv -ar 22050 -ab 32k -s 640x240 -qmax 1 -qmin 1 -
i /usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv -i /usr/share/red5/webapps/openmeetings/
streams/1/INTERVIEW_18_FINAL_WAVE.wav /home/tpeitz/flvRecording_18.flv
Not Working


Copy and Pastet everything out of the commands to check wheter they
are identic

1:-i /usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv
2:-i /usr/share/red5/webapps/openmeetings/streams/1/
COMPLETE_INTERVIEW_18.flv

1:-i /usr/share/red5/webapps/openmeetings/streams/1/
INTERVIEW_18_FINAL_WAVE.wav
2:-i /usr/share/red5/webapps/openmeetings/streams/1/
INTERVIEW_18_FINAL_WAVE.wav

1: -r 25 -vcodec flv -ar 22050 -ab 32k -s 640x240 -qmax 1 -qmin 1
2: -r 25 -vcodec flv -ar 22050 -ab 32k -s 640x240 -qmax 1 -qmin 1


=> Result: It's only the order.

Greetings Alexander

On 24 Aug., 13:08, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> Hi Alexander,
>
> are you sure that there is no such line break or equivalent.
> Cause the order of the params has no effect on the command itself.
>
> Sebastian
>
> 2011/8/24 alexander supertramp <Willywaf...@aol.com>

seba....@gmail.com

unread,
Aug 24, 2011, 7:55:36 AM8/24/11
to openmeet...@googlegroups.com
What operating system are you testing those ?
Which version of OpenMeetings are you testing ?

Sebastian

2011/8/24 alexander supertramp <Willy...@aol.com>
Hey Sebastian,



--

alexander supertramp

unread,
Aug 24, 2011, 8:01:15 AM8/24/11
to OpenMeetings User
Quote First post:

Debian GNU/Linux 6.0 (Squeeze)

Linux Kernel: 2.6.32-5-686

tomcat: 6.0.28-9+squeeze1

Installed: openmeetings_1_7_0_r3822

openjdk-6-jdk/squeeze uptodate 6b18-1.8.7-2~squeeze1

sox: SoX v14.3.1

ffmpeg version git-2011-08-19-ada49f9, Copyright (c) 2000-2011 the
FFmpeg developers
built on Aug 23 2011 15:30:09 with gcc 4.4.5
configuration: --enable-libmp3lame also tried: ./configure --
enable-gpl --enable-version3 --enable-nonfree --enable-libmp3lame
libavutil 51. 12. 0 / 51. 12. 0
libavcodec 53. 11. 0 / 53. 11. 0
libavformat 53. 8. 0 / 53. 8. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 32. 0 / 2. 32. 0
libswscale 2. 0. 0 / 2. 0. 0

ImageMagick 6.6.0-4 2010-11-16 Q16

Greetings Alexander

On 24 Aug., 13:55, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> What operating system are you testing those ?
> Which version of OpenMeetings are you testing ?
>
> Sebastian
>
> 2011/8/24 alexander supertramp <Willywaf...@aol.com>
> ...
>
> Erfahren Sie mehr »

seba....@gmail.com

unread,
Aug 24, 2011, 8:15:29 AM8/24/11
to openmeet...@googlegroups.com
Funny thing is of course that we are using Debian for example on the Demo server and on various other platforms for years now. And we NEVER had such an issue or request.

Before we do change anything we would have to verify that behaviour.

Sebastian

2011/8/24 alexander supertramp <Willy...@aol.com>
Quote First post:



--

alexander supertramp

unread,
Aug 25, 2011, 6:38:52 AM8/25/11
to OpenMeetings User
Hey Sebastian

I tested through several ffmpeg versions:
Everything works fine with FFmpeg 0.7.3 "Peace"

FFmpeg 0.8.2 "Love"

0.8.2 was released on 2011-08-10. It is the latest stable FFmpeg
release from the 0.8 release branch, which was cut from master on
2011-06-21. Amongst lots of other changes, it includes all changes
from ffmpeg-mt, libav master of 2011-06-21, libav 0.7.1 as of
2011-08-10.

ist not working.

(Both versions were released at the same day)

Greetings Alexander

On 24 Aug., 14:15, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> Funny thing is of course that we are using Debian for example on the Demo
> server and on various other platforms for years now. And we NEVER had such
> an issue or request.
>
> Before we do change anything we would have to verify that behaviour.
>
> Sebastian
>
> 2011/8/24 alexander supertramp <Willywaf...@aol.com>
> ...
>
> Erfahren Sie mehr »

seba....@gmail.com

unread,
Aug 25, 2011, 6:45:11 AM8/25/11
to openmeet...@googlegroups.com
Does version 0.7.3 also still work after changing the order of the arguments?
In other words: Is your fix backwards compatible?

That is something that we will need to check on our side too of course before we will commit this change to the SVN.

Thanks,
Sebastian

2011/8/25 alexander supertramp <Willy...@aol.com>
> ...
>
> Erfahren Sie mehr »

--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.

Reply all
Reply to author
Forward
0 new messages