Cannot record from webcam

I have done a new installation of dolphin 7.0.1 and am unable to record, using the webcam.

Below is the cronlog:

FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
libavutil     50. 3. 0 / 50. 3. 0
libavcodec    52.30. 1 / 52.30. 1
libavformat   52.34. 0 / 52.34. 0
libavdevice   52. 2. 0 / 52. 2. 0
libavfilter    0. 5. 0 /  0. 5. 0
libswscale     0. 7. 1 /  0. 7. 1
built on Jul  1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
[flv @ 0xa1e8380]skipping flv packet: type 18, size 102, flags 0
[flv @ 0xa1e8380]Could not find codec parameters (Audio: 0x0000, 0 channels, s16)
Input #0, flv, from '/home/xxxxxxxx/domains/xxxxxxxx/public_html/boonex/flash/modules/video/files/3.flv':
Duration: 00:00:07.64, start: 0.000000, bitrate: N/A
Stream #0.0: Video: flv, yuv420p, 320x180, 1k tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: 0x0000, 0 channels, s16
[ffmpeg_output @ 0xa20d3c0]auto-inserting filter 'scale'
Output #0, image2, to '/home/xxxxxxxx/domains/xxxxxxxx/public_html/boonex/flash/modules/video/files/1272735601.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 320x180, q=2-31, 200 kb/s, 90k tbn, 1k tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.01 bitrate= -17.6kbits/s   
video:16kB audio:0kB global headers:0kB muxing overhead -100.135301%
FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
libavutil     50. 3. 0 / 50. 3. 0
libavcodec    52.30. 1 / 52.30. 1
libavformat   52.34. 0 / 52.34. 0
libavdevice   52. 2. 0 / 52. 2. 0
libavfilter    0. 5. 0 /  0. 5. 0
libswscale     0. 7. 1 /  0. 7. 1
built on Jul  1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
[flv @ 0x97ba380]skipping flv packet: type 18, size 102, flags 0
[flv @ 0x97ba380]Could not find codec parameters (Audio: 0x0000, 0 channels, s16)
Input #0, flv, from '/home/xxxxxxxx/domains/xxxxxxxx/public_html/boonex/flash/modules/video/files/3.flv':
Duration: 00:00:07.64, start: 0.000000, bitrate: N/A
Stream #0.0: Video: flv, yuv420p, 320x180, 1k tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: 0x0000, 0 channels, s16
[libfaac @ 0x97c5870]libfaac doesn't support this output format!
Output #0, mp4, to '/home/xxxxxxxx/domains/xxxxxxxx/public_html/boonex/flash/modules/video/files/3.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 512 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: libfaac, mono, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 4 May 2010

I have the same problem on new installation of dolphin 7.0.1. Maybe someone know how we can fix this? :)

Quote · 13 May 2010

OK, so first question.. Did it work before 7.0.1. Second question.. Did you upgrade to 7.0.1 or is this a fresh install?

Nothing to see here
Quote · 13 May 2010

At the risk of being flamed for asking another video question - I am having a very similar issue to Denre.

Output from cron.php when operated manually:

stagecre@stage-crew.net [~/public_html/periodic]# /usr/local/bin/php cron.php 
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --enable-libamr-nb --enable-libamr-wb --enable-libdirac --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-x11grab
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Nov  6 2009 19:05:03, gcc: 4.1.2 20080704 (Red Hat 4.1.2-46)
[flv @ 0x9795ef0]Could not find codec parameters (Audio: 0x0000, 0 channels, s16)
Input #0, flv, from '/home/stagecre/public_html/flash/modules/video/files/5.flv':
  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 299x168, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: 0x0000, 0 channels, s16
Output #0, image2, to '/home/stagecre/public_html/flash/modules/video/files/1274065527.jpg':
    Stream #0.0: Video: mjpeg, yuvj420p, 299x168, q=2-31, 200 kb/s, 90k tbn, 1k tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.01 bitrate= -17.6kbits/s    
video:18kB audio:0kB global headers:0kB muxing overhead -100.120284%
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --enable-libamr-nb --enable-libamr-wb --enable-libdirac --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-x11grab
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Nov  6 2009 19:05:03, gcc: 4.1.2 20080704 (Red Hat 4.1.2-46)
[flv @ 0x8751ef0]Could not find codec parameters (Audio: 0x0000, 0 channels, s16)
Input #0, flv, from '/home/stagecre/public_html/flash/modules/video/files/5.flv':
  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 299x168, 1k tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: 0x0000, 0 channels, s16
Output #0, mp4, to '/home/stagecre/public_html/flash/modules/video/files/5.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 512 kb/s, 90k tbn, 25 tbc
    Stream #0.1: Audio: libfaac, mono, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[libfaac @ 0x875d300]libfaac doesn't support this output format!
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

I have searched the forum, and can only find this relevant post where ffmpeg is failing in such a manner.

I assume the first call to ffmpeg is to generate the thumbnail - which is working, it's just generating the mp4 that seems to be a bit of an issue.

It looks like it might be failing because there is no audio present in the stream at all? Given that there are zero audio channels in the input stream.

Any light that can be shed on this would be much appreciated..

Quote · 17 May 2010

It appears that ffmpeg needs the devel libraries installed to be able to work.

On "yum" enabled systems, the quickest and easiest way to do this is by installing ffmpeg-devel and all it's dependencies.

eg

user@server # sudo yum install ffmpeg-devel ffmpeg-libpostproc

Has fixed my problem up :-D

Quote · 17 May 2010

I am having the same problem. I have a fresh install of 7.0.1. I have done a yum update and also the yum install ffmpeg-devel ffmpeg-libpostproc

that installed a couple of things on my server. I have rebooted the server, restarted the apache, re'yum updated

and I still get

[libfaac @ 0x92894c0]libfaac doesn't support this output format!
Output #0, mp4, to '/home/laoutlaws11/public_html/flash/modules/video/files/10.mp4':
Stream #0.0(eng): Video: mpeg4, yuv420p, 176x144 [PAR 12:11 DAR 4:3], q=2-31, 512 kb/s, 90k tbn, 25 tbc
Stream #0.1(eng): Audio: libfaac, 8000 Hz, mono, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

How can this be fixed?

Quote · 20 May 2010

 

I am having the same problem. I have a fresh install of 7.0.1. I have done a yum update and also the yum install ffmpeg-devel ffmpeg-libpostproc

that installed a couple of things on my server. I have rebooted the server, restarted the apache, re'yum updated

 

and I still get

 

[libfaac @ 0x92894c0]libfaac doesn't support this output format!
Output #0, mp4, to '/home/laoutlaws11/public_html/flash/modules/video/files/10.mp4':
Stream #0.0(eng): Video: mpeg4, yuv420p, 176x144 [PAR 12:11 DAR 4:3], q=2-31, 512 kb/s, 90k tbn, 25 tbc
Stream #0.1(eng): Audio: libfaac, 8000 Hz, mono, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

 

How can this be fixed?

 

Have you foind the solution for this ? I'm still trying to resolve it! Got all the ffmpeg-devel and all installed on my Centos server still not working :-(

Quote · 22 Sep 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.