Hi Mascherina,

the one_second is a placeholder if there is no soundfile.

What versions of FFMPEG have you installed? Is libmp3lame enabled?

Sebastian

2010/11/11 Mascherina <[email protected]>

> we have an elearning platform with openmeetings service installed for
> videoconference. Live streaming works correctly but when we record the
> conference and then we show it, we can see video but we cannot hear
> audio. We don't understand where exactly the problem is. In
> openmeetings db we find out these logs:
>
> process-mergeWave<br/>error-<br/>command-[/usr/local/bin/sox, /opt/
> red5/webapps/openmeetings/streams/hibernate/one_second.wav, /opt/red5/
> webapps/openmeetings/streams/15/
> rec_21_stream_d6c3bd8376d1fd9a3f17afd1af398ae9_11_
> 11_2010_05_46_04_FINAL_WAVE.wav, pad, 0, 30.0]<br/>exitValue-0<br/>
>
> process-generateFullFLV<br/>error-FFmpeg version SVN-r25711, Copyright
> (c) 2000-2010 the FFmpeg developers built on Nov 9 2010 16:28:51 with
> gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-libfaac
> --enable-shared --enable-memalign-hack --enable-gpl --enable-libtheora
> --enable-libmp3lame --enable-libopenjpeg --enable-libvorbis --enable-
> libxvid --enable-nonfree --disable-yasm libavutil 50.33. 0 / 50.33. 0
> libavcore 0.12. 0 / 0.12. 0 libavcodec 52.94. 3 / 52.94. 3 libavformat
> 52.84. 0 / 52.84. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.59.
> 0 / 1.59. 0 libswscale 0.12. 0 / 0.12. 0[flv @ 0x174ec540] Could not
> find codec parameters (Audio: [0][0][0][0] / 0x0000, 0 channels)[flv @
> 0x174ec540] Estimating duration from bitrate, this may be
> inaccurateSeems stream 0 codec frame rate differs from container frame
> rate: 1000.00 (1000/1) -> 1.00 (1/1)Input #0, flv, from '/opt/red5/
> webapps/openmeetings/streams/15/
> rec_21_stream_d6c3bd8376d1fd9a3f17afd1af398ae9_11_
> 11_2010_05_46_04.flv': Metadata: audiocodecid : -1 duration : 0
> videocodecid : -1 canSeekToEnd : true Duration: 00:00:18.00, start:
> 0.000000, bitrate: N/A Stream #0.0: Video: flashsv, bgr24, 640x400, 1
> tbr, 1k tbn, 1k tbc Stream #0.1: Audio: [0][0][0][0] / 0x0000, 0
> channels[wav @ 0x174ef620] max_analyze_duration reached[wav @
> 0x174ef620] Estimating duration from bitrate, this may be
> inaccurateInput #1, wav, from '/opt/red5/webapps/openmeetings/streams/
> 15/rec_21_stream_d6c3bd8376d1fd9a3f17afd1af398ae9_11_
> 11_2010_05_46_04_FINAL_WAVE.wav': Duration: 00:00:31.00, bitrate: 705
> kb/s Stream #1.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/
> s[buffer @ 0x175a9500] w:640 h:400 pixfmt:bgr24[scale @ 0x175bdec0] w:
> 640 h:400 fmt:bgr24 -> w:416 h:256 fmt:bgr24 flags:0xa0000004Output
> #0, flv, to '/opt/red5/webapps/openmeetings/streams/hibernate/
> flvRecording_21.flv': Metadata: encoder : Lavf52.84.0 Stream #0.0:
> Video: flashsv, bgr24, 416x256, q=2-31, 200 kb/s, 1k tbn, 1 tbc Stream
> #0.1: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 32 kb/sStream
> mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1Press [q] to stop
> encodingframe= 19 fps= 0 q=0.0 Lsize= 820kB time=19.00 bitrate=
> 353.5kbits/s video:679kB audio:121kB global headers:0kB muxing
> overhead 2.398266%<br/>command-[/usr/local/bin/ffmpeg, -i, /opt/red5/
> webapps/openmeetings/streams/15/
> rec_21_stream_d6c3bd8376d1fd9a3f17afd1af398ae9_11_
> 11_2010_05_46_04.flv, -i, /opt/red5/webapps/openmeetings/streams/15/
> rec_21_stream_d6c3bd8376d1fd9a3f17afd1af398ae9_11_
> 11_2010_05_46_04_FINAL_WAVE.wav, -ar, 22050, -acodec, libmp3lame, -ab,
> 32k, -s, 416x256, -vcodec, flashsv, -map, 0.0, -map, 1.0, /opt/red5/
> webapps/openmeetings/streams/hibernate/flvRecording_21.flv]<br/
> >exitValue-0<br/>
>
>
> process-generateFullFLV<br/>error-FFmpeg version SVN-r25711, Copyright
> (c) 2000-2010 the FFmpeg developers built on Nov 9 2010 16:28:51 with
> gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-libfaac
> --enable-shared --enable-memalign-hack --enable-gpl --enable-libtheora
> --enable-libmp3lame --enable-libopenjpeg --enable-libvorbis --enable-
> libxvid --enable-nonfree --disable-yasm libavutil 50.33. 0 / 50.33. 0
> libavcore 0.12. 0 / 0.12. 0 libavcodec 52.94. 3 / 52.94. 3 libavformat
> 52.84. 0 / 52.84. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.59.
> 0 / 1.59. 0 libswscale 0.12. 0 / 0.12. 0[flv @ 0x509c540]
> max_analyze_duration reached[flv @ 0x509c540] Estimating duration from
> bitrate, this may be inaccurateSeems stream 0 codec frame rate differs
> from container frame rate: 1000.00 (1000/1) -> 1.00 (1/1)Input #0,
> flv, from '/opt/red5/webapps/openmeetings/streams/hibernate/
> flvRecording_21.flv': Metadata: duration : 31 width : 416 height : 256
> videodatarate : 195 framerate : 1 videocodecid : 3 audiodatarate : 31
> audiosamplerate : 22050 audiosamplesize : 16 stereo : false
> audiocodecid : 2 encoder : Lavf52.84.0 filesize : 839547 Duration:
> 00:00:31.08, start: 0.000000, bitrate: 232 kb/s Stream #0.0: Video:
> flashsv, bgr24, 416x256, 200 kb/s, 1 tbr, 1k tbn, 1k tbc Stream #0.1:
> Audio: mp3, 22050 Hz, 1 channels, s16, 32 kb/s[buffer @ 0x50a4c20] w:
> 416 h:256 pixfmt:bgr24[ffsink @ 0x50a42d0] auto-inserting filter 'auto-
> inserted scaler 0' between the filter 'src' and the filter 'out'[scale
> @ 0x50a4620] w:416 h:256 fmt:bgr24 -> w:416 h:256 fmt:yuvj420p flags:
> 0xa0000004Output #0, rawvideo, to '/opt/red5/webapps/openmeetings/
> streams/hibernate/flvRecording_21.jpg': Metadata: encoder :
> Lavf52.84.0 Stream #0.0: Video: mjpeg, yuvj420p, 416x256, q=2-31, 200
> kb/s, 90k tbn, 1 tbcStream mapping: Stream #0.0 -> #0.0Press [q] to
> stop encodingframe= 1 fps= 0 q=6.1 Lsize= 19kB time=1.00 bitrate=
> 152.3kbits/s video:19kB audio:0kB global headers:0kB muxing overhead
> 0.000000%<br/>command-[/usr/local/bin/ffmpeg, -i, /opt/red5/webapps/
> openmeetings/streams/hibernate/flvRecording_21.flv, -vcodec, mjpeg, -
> vframes, 1, -an, -f, rawvideo, -s, 416x256, /opt/red5/webapps/
> openmeetings/streams/hibernate/flvRecording_21.jpg]<br/>exitValue-0<br/
> >
>
>
> process-alternateDownload<br/>error-FFmpeg version SVN-r25711,
> Copyright (c) 2000-2010 the FFmpeg developers built on Nov 9 2010
> 16:28:51 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --
> enable-libfaac --enable-shared --enable-memalign-hack --enable-gpl --
> enable-libtheora --enable-libmp3lame --enable-libopenjpeg --enable-
> libvorbis --enable-libxvid --enable-nonfree --disable-yasm libavutil
> 50.33. 0 / 50.33. 0 libavcore 0.12. 0 / 0.12. 0 libavcodec 52.94. 3 /
> 52.94. 3 libavformat 52.84. 0 / 52.84. 0 libavdevice 52. 2. 2 / 52. 2.
> 2 libavfilter 1.59. 0 / 1.59. 0 libswscale 0.12. 0 / 0.12. 0[flv @
> 0xdc40540] max_analyze_duration reached[flv @ 0xdc40540] Estimating
> duration from bitrate, this may be inaccurateSeems stream 0 codec
> frame rate differs from container frame rate: 1000.00 (1000/1) -> 1.00
> (1/1)Input #0, flv, from '/opt/red5/webapps/openmeetings/streams/
> hibernate/flvRecording_21.flv': Metadata: duration : 31 width : 416
> height : 256 videodatarate : 195 framerate : 1 videocodecid : 3
> audiodatarate : 31 audiosamplerate : 22050 audiosamplesize : 16
> stereo : false audiocodecid : 2 encoder : Lavf52.84.0 filesize :
> 839547 Duration: 00:00:31.08, start: 0.000000, bitrate: 232 kb/s
> Stream #0.0: Video: flashsv, bgr24, 416x256, 200 kb/s, 1 tbr, 1k tbn,
> 1k tbc Stream #0.1: Audio: mp3, 22050 Hz, 1 channels, s16, 32 kb/
> s[buffer @ 0xdc6f970] w:416 h:256 pixfmt:bgr24[ffsink @ 0xdc6fbd0]
> auto-inserting filter 'auto-inserted scaler 0' between the filter
> 'src' and the filter 'out'[scale @ 0xdc6ff20] w:416 h:256 fmt:bgr24 ->
> w:416 h:256 fmt:yuv420p flags:0xa0000004Output #0, avi, to '/opt/red5/
> webapps/openmeetings/streams/hibernate/flvRecording_21.avi': Metadata:
> ISFT : Lavf52.84.0 Stream #0.0: Video: mpeg4, yuv420p, 416x256,
> q=2-31, 200 kb/s, 1 tbn, 1 tbc Stream #0.1: Audio: mp2, 22050 Hz, 1
> channels, s16, 64 kb/sStream mapping: Stream #0.0 -> #0.0 Stream #0.1 -
> > #0.1Press [q] to stop encodingframe= 19 fps= 0 q=2.0 Lsize= 499kB
> time=19.00 bitrate= 215.2kbits/s video:232kB audio:243kB global
> headers:0kB muxing overhead 5.077686%<br/>command-[/usr/local/bin/
> ffmpeg, -i, /opt/red5/webapps/openmeetings/streams/hibernate/
> flvRecording_21.flv, /opt/red5/webapps/openmeetings/streams/hibernate/
> flvRecording_21.avi]<br/>exitValue-0<br/>
>
> We tried to execute these commands from shell by using a working audio
> file instead of one_second.wav and all works correctly. So probably
> the problem is in one_second.wav that is not created in the right way.
> Why?
> How can we solve the issue?
> Could you help us?
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<openmeetings-user%[email protected]>
> .
> 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
[email protected]

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

Reply via email to