tjansson60 / sinthgunt

Sinthgunt Converter is an easy to use gui for the ffmpeg package
GNU General Public License v3.0
0 stars 0 forks source link

Depencies of ffmpeg #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running sinthgunt on various filetype produces problems if certain
libraries are not installed. The decencies should be stated in the readme.txt.

Example:
During random test I found the following missing codec on a relatively
vanilla Ubuntu 8.04:
Unknown codec 'libfaac'
Unknown codec 'libxvid'
Unknown codec 'libx264'
Unknown codec 'libmp3lame'

Optimally we should ask the user to install all this libs at the first run.
If this is too hard we should state the dependencies in the readme.txt

Original issue reported on code.google.com by tjansso...@gmail.com on 27 Mar 2009 at 10:32

GoogleCodeExporter commented 9 years ago
How exactly do you reproduce these errors? What input files and ffmpeg commands 
were
used?

Original comment by kare1234 on 27 Mar 2009 at 10:36

GoogleCodeExporter commented 9 years ago
Input #0, mpeg, from 'monkeydance.mpeg':
  Duration: 00:01:08.7, start: 0.909167, bitrate: 366 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 240x176, 300 kb/s, 30.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 32000 Hz, mono, 32 kb/s

Creating a flash video:
Unknown codec 'libmp3lame'

Creating a Mobile phone (CDMA) 3g2:
Unknown codec 'libfaac'

Creating a MPEG4:
Unknown codec 'libx264'

Creating AVI-Xvid:
Unknown codec 'libxvid'

Original comment by tjansso...@gmail.com on 27 Mar 2009 at 10:49

GoogleCodeExporter commented 9 years ago
Perhaps you could add the file monkeydance.mpg to the svn repository along with 
a
.txt file containing the ffmpeg commands needed e.g.

ffmpeg -i monkeydance.mpg -vcodec xvid output.mpg

Original comment by kare1234 on 27 Mar 2009 at 10:57

GoogleCodeExporter commented 9 years ago
I couldn't do that - I don't have the rights to distribute that file. But I 
will show
IRL then. 

Original comment by tjansso...@gmail.com on 27 Mar 2009 at 11:16

GoogleCodeExporter commented 9 years ago
A http link and the ffmpeg commands then?

Original comment by kare1234 on 27 Mar 2009 at 11:40

GoogleCodeExporter commented 9 years ago
I found it here: 
http://lmgtfy.com/?q=monkeydance.mpeg
:) Sorry couldn't resist. :)

The commands are in the presets.xml file but here is an example:
tjansson@bohr:~$ ffmpeg -i monkeydance.mpeg -vn -acodec libfaac -ab 112kb -ac 2 
test.m4a
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads
--enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm 
--enable-dc1394
--disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad
--enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb
--enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Mar 17 2009 21:37:49, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Input #0, mpeg, from 'monkeydance.mpeg':
  Duration: 00:01:08.7, start: 0.909167, bitrate: 366 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 240x176, 300 kb/s, 30.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 32000 Hz, mono, 32 kb/s
Unknown codec 'libfaac'

Original comment by tjansso...@gmail.com on 27 Mar 2009 at 11:48

GoogleCodeExporter commented 9 years ago
tjansson@bohr:~/Documents/Programmering/sinthgunt$ ffmpeg -version
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads
--enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm 
--enable-dc1394
--disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad
--enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb
--enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Mar 17 2009 21:37:49, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
ffmpeg      SVN-rUNKNOWN
libavutil   3212032
libavcodec  3352064
libavformat 3344896

Original comment by tjansso...@gmail.com on 27 Mar 2009 at 11:55

GoogleCodeExporter commented 9 years ago
My version:

FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3.1, Copyright (c) 
2000-2008
Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab
--prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis 
--enable-pthreads
--disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52
--enable-liba52bin --enable-libdc1394 --disable-armv5te --disable-armv6
--disable-altivec --disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Mar 13 2009 17:48:10, gcc: 4.3.2
FFmpeg r11872+debian_3:0.svn20080206-12ubuntu3.1
libavutil   3212800
libavcodec  3355136
libavformat 3409664
libavdevice 3407872

Original comment by kare1234 on 27 Mar 2009 at 11:56

GoogleCodeExporter commented 9 years ago
I have discovered, that to get all the codecs the present version of ffmpeg 
supports,
you just have to type "ffmpeg -format". This gives you a list

Codecs:
 D V    4xm
 D V D  8bps
 D V    VMware video
 D V D  aasc
  EA    ac3
 D A    adpcm_4xm
 DEA    adpcm_adx
 D A    adpcm_ct
 D A    adpcm_ea
 D A    adpcm_ea_r1 .... 

Here, D stands for Decode and E for Encode.

It would be "fairly" easy to include a list of nessesary codecs for each preset 
in
the presets.xml file and compare to the users version of ffmpeg. The entries in 
the
menu should then only include the ones that would actually work...

Original comment by kare1234 on 30 Mar 2009 at 3:07

GoogleCodeExporter commented 9 years ago
I have implemented the featured suggest in #9. Preliminary testing on a virgin 
ubuntu
install indicates that it works

Original comment by kare1234 on 13 Apr 2009 at 8:08

GoogleCodeExporter commented 9 years ago
For Ubuntu: if you want the above mentioned codecs you need to have
libavcodec-unstripped-51 (for intrepid) of libavcodec-unstripped-52 (for Jaunty 
and
Karmic) installed. This can be a suggest/recommends for ubuntu packages, like I 
do
for the winff project.

Original comment by poipodec...@hotmail.com on 7 Jul 2009 at 3:39

GoogleCodeExporter commented 9 years ago
Good point. I will consider refering to the ffmpeg section of the page
http://code.google.com/p/winff/wiki/DebianInstallation in our wiki.

Original comment by kare1234 on 15 Jul 2009 at 2:23