Alexey Kozlov created OPENMEETINGS-596:
------------------------------------------

             Summary: ffmpeg is not work in current version
                 Key: OPENMEETINGS-596
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-596
             Project: Openmeetings
          Issue Type: Bug
          Components: Audio/Video
         Environment: linux Ubuntu 12.04 
sun JDK 6
ffmpeg version 0.11.1
ffmpeg version 0.8.5-4
            Reporter: Alexey Kozlov
             Fix For: 2.1.0 Apache Release


Recodding don’t work in interviewRoom

Ffmpeg get error:





Лог:03.04.2013 10:49:54
generateFFMPEG
process: generateImageSequence
command; [./ffmpeg/ffmpeg-0.11.1/ffmpeg, -i, 
/home/portal/red5/webapps/openmeetings/streams/1/rec_4_stream_1_2013_04_03_10_49_39.flv,
 -r, 25, -s, 320x240, 
/home/portal/red5/webapps/openmeetings/streams/1/4/image%d.png]
exception: null
error: ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 30 2013 08:51:53 with gcc 4.6.3
  configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis 
--enable-libgsm --enable-libfaac --enable-gpl --enable-nonfree
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[h264 @ 0x2ad34c0] no frame!
[h264 @ 0x2ad34c0] sps_id out of range
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 21 times
[h264 @ 0x2ad34c0] Partitioned H.264 support is incomplete
[h264 @ 0x2ad34c0] slice type too large (0) at 0 0
[h264 @ 0x2ad34c0] decode_slice_header error
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 6 times
[h264 @ 0x2ad34c0] slice type too large (0) at 0 0
[h264 @ 0x2ad34c0] decode_slice_header error
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 14 times
[h264 @ 0x2ad34c0] sps_id out of range
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 6 times
[h264 @ 0x2ad34c0] slice type too large (0) at 0 0
[h264 @ 0x2ad34c0] decode_slice_header error
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 7 times
[h264 @ 0x2ad34c0] illegal log2_max_frame_num 121
    Last message repeated 1 times
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 2 times
[h264 @ 0x2ad34c0] slice type too large (0) at 0 0
[h264 @ 0x2ad34c0] decode_slice_header error
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 8 times
[h264 @ 0x2ad34c0] sps_id out of range
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 3 times
[h264 @ 0x2ad34c0] sps_id out of range
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 3 times
[h264 @ 0x2ad34c0] illegal log2_max_frame_num 121
    Last message repeated 1 times
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 11 times
[h264 @ 0x2ad34c0] Partitioned H.264 support is incomplete
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 14 times
[h264 @ 0x2ad34c0] Partitioned H.264 support is incomplete
[h264 @ 0x2ad34c0] no frame!
    Last message repeated 16 times
[flv @ 0x2acd100] max_analyze_duration 5000000 reached at 5014000
[flv @ 0x2acd100] decoding for stream 0 failed
[flv @ 0x2acd100] Could not find codec parameters (Video: h264, 142 kb/s)
Input #0, flv, from 
'/home/portal/red5/webapps/openmeetings/streams/1/rec_4_stream_1_2013_04_03_10_49_39.flv':
  Metadata:
    server          : Red5 Server 1.0.2 Rev: 4600
    creationdate    : Wed Apr 03 10:49:47 NOVT 2013
    canSeekToEnd    : true
  Duration: 00:00:07.69, start: 0.000000, bitrate: 192 kb/s
    Stream #0:0: Video: h264, 142 kb/s, 1k tbr, 1k tbn, 2k tbc
    Stream #0:1: Audio: nellymoser, 22050 Hz, mono, s16, 44 kb/s
Output #0, image2, to 
'/home/portal/red5/webapps/openmeetings/streams/1/4/image%d.png':
  Metadata:
    server          : Red5 Server 1.0.2 Rev: 4600
    creationdate    : Wed Apr 03 10:49:47 NOVT 2013
    canSeekToEnd    : true
Output file #0 does not contain any stream

exitValue: null
out: 


Лог:03.04.2013 11:12:09
generateFFMPEG
process: generateImageSequence
command; [/usr/bin/ffmpeg, -i, 
/home/portal/red5/webapps/openmeetings/streams/1/rec_6_stream_0_2013_04_03_11_08_06.flv,
 -r, 25, -s, 320x240, 
/home/portal/red5/webapps/openmeetings/streams/1/6/image%d.png]
exception: null
error: ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 
the Libav developers
  built on Jan 24 2013 18:01:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future 
release. Please use avconv instead.
[h264 @ 0x184d760] no frame!
    Last message repeated 9 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 3 times
[h264 @ 0x184d760] sps_id out of range
[h264 @ 0x184d760] no frame!
    Last message repeated 1 times
[h264 @ 0x184d760] sps_id out of range
[h264 @ 0x184d760] no frame!
    Last message repeated 21 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
[h264 @ 0x184d760] log2_max_frame_num_minus4 out of range (0-12): 28
[h264 @ 0x184d760] no frame!
    Last message repeated 10 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 3 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 1 times
[h264 @ 0x184d760] log2_max_frame_num_minus4 out of range (0-12): 117
[h264 @ 0x184d760] no frame!
[h264 @ 0x184d760] illegal POC type 32
[h264 @ 0x184d760] no frame!
    Last message repeated 40 times
[h264 @ 0x184d760] sps_id out of range
[h264 @ 0x184d760] no frame!
    Last message repeated 1 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 2 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 9 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 3 times
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
[h264 @ 0x184d760] slice type too large (0) at 0 0
[h264 @ 0x184d760] decode_slice_header error
[h264 @ 0x184d760] no frame!
    Last message repeated 1 times
[flv @ 0x184b7a0] max_analyze_duration reached
[flv @ 0x184b7a0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 2000.00 
(2000/1) -> 1000.00 (2000/2)
Input #0, flv, from 
'/home/portal/red5/webapps/openmeetings/streams/1/rec_6_stream_0_2013_04_03_11_08_06.flv':
  Metadata:
    server          : Red5 Server 1.0.2 Rev: 4600
    creationdate    : Wed Apr 03 11:10:33 NOVT 2013
    canSeekToEnd    : true
  Duration: 00:02:27.07, start: 0.000000, bitrate: 179 kb/s
    Stream #0.0: Video: h264, 135 kb/s, 1k tbr, 1k tbn, 2k tbc
    Stream #0.1: Audio: nellymoser, 22050 Hz, mono, s16, 44 kb/s
[buffer @ 0x184fca0] Invalid pixel format string '-1'
Error opening filters!

exitValue: null
out: 


Лог:03.04.2013 11:12:41
generateFFMPEG
process: alternateDownload
command; [/usr/bin/ffmpeg, -i, 
/home/portal/red5/webapps/openmeetings/streams/hibernate/flvRecording_6.flv, 
/home/portal/red5/webapps/openmeetings/streams/hibernate/flvRecording_6.avi]
exception: null
error: ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 
the Libav developers
  built on Jan 24 2013 18:01:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future 
release. Please use avconv instead.
[flv @ 0x20467a0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 
(1000/1) -> 25.00 (25/1)
Input #0, flv, from 
'/home/portal/red5/webapps/openmeetings/streams/hibernate/flvRecording_6.flv':
  Metadata:
    encoder         : Lavf53.21.1
  Duration: 00:02:28.00, start: 0.000000, bitrate: 232 kb/s
    Stream #0.0: Video: flv, yuv420p, 640x240, 200 kb/s, 25 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: adpcm_swf, 22050 Hz, 1 channels, s16, 88 kb/s
[buffer @ 0x204a460] w:640 h:240 pixfmt:yuv420p
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[ac3 @ 0x2049fc0] channel_layout not specified
[ac3 @ 0x2049fc0] No channel layout specified. The encoder will guess the 
layout, but it might be incorrect.
[ac3 @ 0x2049fc0] invalid bit rate
Output #0, avi, to 
'/home/portal/red5/webapps/openmeetings/streams/hibernate/flvRecording_6.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 640x240, q=2-31, 200 kb/s, 90k tbn, 25 
tbc
    Stream #0.1: Audio: ac3, 22050 Hz, mono, flt, 200 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters 
such as bit_rate, rate, width or height

exitValue: null
out:



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to