got the below error while following the guide only. While making H.264 video encoder. /opt/ffmpeg-2.2/libavcodec is old installation folder. any steps to remove existing ffmpeg completely ??
On Tue, Apr 1, 2014 at 12:37 PM, Maxim Solodovnik <[email protected]>wrote: > you need to follow the guide step-by-step > > > On Tue, Apr 1, 2014 at 2:03 PM, Raju M K <[email protected]> wrote: > >> getting errors while make H.264 video encoder. >> >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:97: undefined reference to >> `lame_init' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:101: undefined reference to >> `lame_set_num_channels' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:102: undefined reference to >> `lame_set_mode' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:105: undefined reference to >> `lame_set_in_samplerate' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:106: undefined reference to >> `lame_set_out_samplerate' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:110: undefined reference to >> `lame_set_quality' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:112: undefined reference to >> `lame_set_quality' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:116: undefined reference to >> `lame_set_VBR' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:117: undefined reference to >> `lame_set_VBR_quality' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:121: undefined reference to >> `lame_set_VBR' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:122: undefined reference to >> `lame_set_VBR_mean_bitrate_kbps' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:124: undefined reference to >> `lame_set_brate' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:129: undefined reference to >> `lame_set_bWriteVbrTag' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:132: undefined reference to >> `lame_set_disable_reservoir' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:135: undefined reference to >> `lame_init_params' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:141: undefined reference to >> `lame_get_encoder_delay' >> /opt/ffmpeg-2.2/libavcodec/libmp3lame.c:144: undefined reference to >> `lame_get_framesize' >> collect2: ld returned 1 exit status >> make: *** [x264] Error 1 >> >> >> >> On Tue, Apr 1, 2014 at 12:16 PM, Raju M K <[email protected]> wrote: >> >>> do I need to uninstall the existing one before following this guide?? >>> >>> >>> >>> On Tue, Apr 1, 2014 at 11:56 AM, Maxim Solodovnik >>> <[email protected]>wrote: >>> >>>> you have ffmpeg without x264 support >>>> >>>> please recompile following this >>>> https://trac.ffmpeg.org/wiki/CentosCompilationGuide guide (very >>>> detailed) >>>> >>>> >>>> On Tue, Apr 1, 2014 at 1:19 PM, Raju M K <[email protected]> wrote: >>>> >>>>> How to patch ffmpeg for this error. >>>>> >>>>> Unrecognized option 'crf'. >>>>> Error splitting the argument list: Option not found >>>>> exitValue: null >>>>> out: >>>>> >>>>> >>>>> On Tue, Apr 1, 2014 at 10:42 AM, Raju M K <[email protected]> wrote: >>>>> >>>>>> Recompiled with ffmpeg 2.2,Error as follows. >>>>>> pl help me out from problem. >>>>>> >>>>>> >>>>>> >>>>>> process: generate MP4 command: /usr/bin/ffmpeg -i >>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_20.flv >>>>>> -c:v libx264 -crf 24 -pix_fmt yuv420p -preset medium -profile:v baseline >>>>>> -c:a libfaac -c:a libfdk_aac -b:a 32k -s 1024x576 >>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_20.flv.mp4 >>>>>> exception: null error: ffmpeg version 2.2 Copyright (c) 2000-2014 the >>>>>> FFmpeg developers built on Mar 29 2014 16:50:42 with gcc 4.4.7 (GCC) >>>>>> 20120313 (Red Hat 4.4.7-4) configuration: --libdir=/usr/lib >>>>>> --bindir=/usr/bin --enable-libmp3lame --disable-yasm --enable-nonfree >>>>>> --enable-gpl libavutil 52. 66.100 / 52. 66.100 libavcodec 55. 52.102 / >>>>>> 55. >>>>>> 52.102 libavformat 55. 33.100 / 55. 33.100 libavdevice 55. 10.100 / 55. >>>>>> 10.100 libavfilter 4. 2.100 / 4. 2.100 libswscale 2. 5.102 / 2. 5.102 >>>>>> libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 >>>>>> Unrecognized option 'crf'. Error splitting the argument list: Option not >>>>>> found exitValue: null out: >>>>>> >>>>>> process: generate OGG command: /usr/bin/ffmpeg -i >>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_20.flv.mp4 >>>>>> -vcodec libtheora -acodec libvorbis >>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_20.flv.ogg >>>>>> exception: null error: ffmpeg version 2.2 Copyright (c) 2000-2014 the >>>>>> FFmpeg developers built on Mar 29 2014 16:50:42 with gcc 4.4.7 (GCC) >>>>>> 20120313 (Red Hat 4.4.7-4) configuration: --libdir=/usr/lib >>>>>> --bindir=/usr/bin --enable-libmp3lame --disable-yasm --enable-nonfree >>>>>> --enable-gpl libavutil 52. 66.100 / 52. 66.100 libavcodec 55. 52.102 / >>>>>> 55. >>>>>> 52.102 libavformat 55. 33.100 / 55. 33.100 libavdevice 55. 10.100 / 55. >>>>>> 10.100 libavfilter 4. 2.100 / 4. 2.100 libswscale 2. 5.102 / 2. 5.102 >>>>>> libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 >>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_20.flv.mp4: >>>>>> No such file or directory exitValue: null out: >>>>>> >>>>>> >>>>>> On Fri, Mar 28, 2014 at 8:48 PM, Maxim Solodovnik < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> ffmpeg *-*version >>>>>>> not >>>>>>> ffmpeg version >>>>>>> >>>>>>> please follow the guide to recompile >>>>>>> >>>>>>> >>>>>>> On Fri, Mar 28, 2014 at 6:09 PM, Raju M K <[email protected]>wrote: >>>>>>> >>>>>>>> i am getting error for " ffmpeg version " >>>>>>>> arror msg attached. >>>>>>>> . >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Mar 28, 2014 at 3:35 PM, Raju M K <[email protected]>wrote: >>>>>>>> >>>>>>>>> is this problem with ffmpeg only or anything else?? >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Mar 28, 2014 at 3:32 PM, Maxim Solodovnik < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> https://trac.ffmpeg.org/wiki/CentosCompilationGuide >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Mar 28, 2014 at 5:00 PM, Raju M K <[email protected]>wrote: >>>>>>>>>> >>>>>>>>>>> Install OM again. >>>>>>>>>>> Now I cant paly even I downloaded to local also. >>>>>>>>>>> Screen sharing also showing black window only. >>>>>>>>>>> how to remove or recompile FFMPEG latest version? >>>>>>>>>>> any command for centos >>>>>>>>>>> >>>>>>>>>>> Error as follows >>>>>>>>>>> >>>>>>>>>>> process: previewFullFLV command: /usr/bin/ffmpeg -i >>>>>>>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_1.flv >>>>>>>>>>> -vcodec mjpeg -vframes 1 -an -f rawvideo -s 1024x576 >>>>>>>>>>> /opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_1.jpg >>>>>>>>>>> exception: null error: ffmpeg version 2.1.3 Copyright (c) 2000-2013 >>>>>>>>>>> the >>>>>>>>>>> FFmpeg developers built on Mar 27 2014 09:35:04 with gcc 4.4.7 (GCC) >>>>>>>>>>> 20120313 (Red Hat 4.4.7-4) configuration: --libdir=/usr/lib >>>>>>>>>>> --bindir=/usr/bin --enable-libmp3lame --disable-yasm >>>>>>>>>>> --enable-nonfree >>>>>>>>>>> --enable-gpl libavutil 52. 48.101 / 52. 48.101 libavcodec 55. >>>>>>>>>>> 39.101 / 55. >>>>>>>>>>> 39.101 libavformat 55. 19.104 / 55. 19.104 libavdevice 55. 5.100 / >>>>>>>>>>> 55. >>>>>>>>>>> 5.100 libavfilter 3. 90.100 / 3. 90.100 libswscale 2. 5.101 / 2. >>>>>>>>>>> 5.101 >>>>>>>>>>> libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. >>>>>>>>>>> 3.100 [flv >>>>>>>>>>> @ 0x1dea980] Could not find codec parameters for stream 0 (Video: >>>>>>>>>>> none, 200 >>>>>>>>>>> kb/s): unspecified size Consider increasing the value for the >>>>>>>>>>> 'analyzeduration' and 'probesize' options Input #0, flv, from >>>>>>>>>>> '/opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_1.flv': >>>>>>>>>>> Metadata: noaudiocodec : 0 server : Red5 Server 1.0.0 RC3 Rev: 4393 >>>>>>>>>>> creationdate : Thu Mar 27 13:34:51 UTC 2014 canSeekToEnd : true >>>>>>>>>>> encoder : >>>>>>>>>>> Lavf55.19.104 Duration: 00:00:22.85, start: 0.000000, bitrate: 483 >>>>>>>>>>> kb/s >>>>>>>>>>> Stream #0:0: Video: none, 200 kb/s, 1k tbr, 1k tbn, 1k tbc Stream >>>>>>>>>>> #0:1: >>>>>>>>>>> Audio: mp3, 22050 Hz, mono, s16p, 32 kb/s Output #0, rawvideo, to >>>>>>>>>>> '/opt/red522final/webapps/openmeetings/streams/hibernate/flvRecording_1.jpg': >>>>>>>>>>> Metadata: noaudiocodec : 0 server : Red5 Server 1.0.0 RC3 Rev: 4393 >>>>>>>>>>> creationdate : Thu Mar 27 13:34:51 UTC 2014 canSeekToEnd : true >>>>>>>>>>> encoder : >>>>>>>>>>> Lavf55.19.104 Output file #0 does not contain any stream exitValue: >>>>>>>>>>> null >>>>>>>>>>> out: >>>>>>>>>>> -- >>>>>>>>>>> Regards, >>>>>>>>>>> M K Raju. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> WBR >>>>>>>>>> Maxim aka solomax >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Regards, >>>>>>>>> M K Raju. >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> M K Raju. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> WBR >>>>>>> Maxim aka solomax >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> M K Raju. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> M K Raju. >>>>> >>>>> >>>> >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >>> >>> >>> -- >>> Regards, >>> M K Raju. >>> >>> >> >> >> -- >> Regards, >> M K Raju. >> >> > > > -- > WBR > Maxim aka solomax > -- Regards, M K Raju.
