Showing posts with label ffmpeg. Show all posts
Showing posts with label ffmpeg. Show all posts

Tuesday, September 02, 2014

Install ffmpeg version 2.3.3 on CentOS 6

  1. #remove previous installation if exists
  2. yum remove ffmpeg
  3. cd /usr/local
  4. #download ffmpeg 2.3.3
  5. wget http://ffmpeg.org/releases/ffmpeg-2.3.3.tar.bz2
  6. tar -jxvf ffmpeg-2.3.3.tar.bz2
  7. #remove backup
  8. rm ffmpeg-2.3.3.tar.bz2
  9. cd ffmpeg-2.3.3
  10. ./configure
  11. #build and install
  12. make && make install
  13. #check and see installation version
  14. ffmpeg --version

Download script : Install ffmpeg 2.3.3.sh

Monday, August 11, 2014

xuggle-xuggler : java.lang.RuntimeException: error -1 decoding audio

Exception in thread "main" java.lang.RuntimeException: error -1 decoding audio
at com.xuggle.mediatool.MediaReader.decodeAudio(MediaReader.java:549)
at com.xuggle.mediatool.MediaReader.readPacket(MediaReader.java:469)
at com.company.toolset.crawler.common.video.DecodeAndCaptureFrames.<init>(DecodeAndCaptureFrames.java:89)
at com.company.toolset.crawler.common.video.DecodeAndCaptureFrames.main(DecodeAndCaptureFrames.java:55)

may occur if accidenly an attempt is made to take screenshot during a certain time that exceeds(>) video length.Like one can get this by trying to take screenshot at 15th second of the video but the video duration is <= 15 seconds.