[FFmpeg-user] Transcode videos

Felipe Lacerda felipe.lacerda at upx.com.br
Wed Jul 16 17:17:57 CEST 2014


Hello,

I'm arrested in this part of installation below, can you help me please?

root at s5-ul [~]# ffmpeg --prefix=/usr/local/cpffmpeg --enable-shared
--enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb
--enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/
--extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3
--extra-version=syslint
ffmpeg version N-42148-g4330b8b-syslint Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jul  2 2012 20:35:39 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
  configuration: --prefix=/usr/local/cpffmpeg --enable-shared
--enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb
--enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/
--extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3
--extra-version=syslint
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 32.100 / 54. 32.100
  libavformat    54. 14.100 / 54. 14.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
*Unrecognized option '-prefix=/usr/local/cpffmpeg'*
*Failed to set value '--enable-shared' for option
'-prefix=/usr/local/cpffmpeg'*

Thanks,

Felipe Lacerda Kneipp

UPX
http://www.upx.com.br

Campinas +55 (19) 3208-1317 ou + 55 (19) 4062-0086
São Paulo +55 (11) 2626-3952
Brasília +55 (61) 2626-1248
Belo-Horizonte +55 (31) 2626-2019
Miami - USA +1 (305) 331-6649


2014-07-10 11:54 GMT-03:00 Mike Martin <mike at redtux.org.uk>:

> and at least used to add a linked file called ffmpeg
>
>
> On 10 July 2014 15:38, Steve Boyer <steveboyer85 at gmail.com> wrote:
>
> > On Jul 10, 2014 9:05 AM, "Steve Boyer" <steveboyer85 at gmail.com> wrote:
> > >
> > >
> > > On Jul 10, 2014 6:52 AM, "Felipe Lacerda" <felipe.lacerda at upx.com.br>
> > wrote:
> > > >
> > > > Hello Moritz,
> > > >
> > > > Thanks for your help, look my output when I tried to use command line
> > that
> > > > you suggest me:
> > > >
> > > > root at UPX-TI-Lab:/usr/local/WowzaMediaServer/content# ffmpeg -i
> > > > fff9957481ca4d9b4aec79c8c2418505_3-1.mp4 -c:a copy -c:v libx264
> > -profile:v
> > > > baseline -level 3.0 teste_2.mp4
> > > > ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.04.1, Copyright (c)
> 2000-2013
> > the
> > > > Libav developers
> > >
> > > Here's part of the problem. The version you are trying to run is not
> true
> > FFmpeg, but the avconv version. With Ubuntu, you have to compile from
> > source or download a precompiled package. If you apt-get install FFmpeg
> out
> > of the box, this is the version you get.
> >
> > Sorry, bad wording. Chalk it up to lack of sleep. If you apt-get install,
> > the avconv version is the version installed.
> >
> > > >   built on Nov  9 2013 19:09:48 with gcc 4.7.3
> > > > *** THIS PROGRAM IS DEPRECATED ***
> > > > This program is only provided for compatibility and will be removed
> in
> > a
> > > > future release. Please use avconv instead.
> > > > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x214e1e0] max_analyze_duration reached
> > > >
> > > > Seems stream 0 codec frame rate differs from container frame rate:
> > 59.94
> > > > (60000/1001) -> 29.97 (2997/100)
> > > > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> > > > 'fff9957481ca4d9b4aec79c8c2418505_3-1.mp4':
> > > >   Metadata:
> > > >     major_brand     : M4V
> > > >     minor_version   : 1
> > > >     compatible_brands: M4V mp42isom
> > > >     creation_time   : 2012-11-22 03:20:12
> > > >   Duration: 00:31:00.43, start: 0.000000, bitrate: 381 kb/s
> > > >     Stream #0.0(eng): Video: h264 (High), yuv420p, 640x360 [PAR 1:1
> DAR
> > > > 16:9], 294 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc
> > > >     Metadata:
> > > >       creation_time   : 2012-11-22 03:20:12
> > > >     Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 61 kb/s
> > > >     Metadata:
> > > >       creation_time   : 2012-11-22 03:20:12
> > > >     Stream #0.2(und): Data: rtp  / 0x20707472, 13 kb/s
> > > >     Metadata:
> > > >       creation_time   : 2014-06-16 15:29:07
> > > >     Stream #0.3(und): Data: rtp  / 0x20707472, 8 kb/s
> > > >     Metadata:
> > > >       creation_time   : 2014-06-16 15:29:08
> > > > Unrecognized option 'c:a'
> > > > Failed to set value 'copy' for option 'c:a'
> > > >
> > > > What can be happening?
> > > >
> > > > Thanks,
> > > > Regards,
> > > >
> > > > Felipe Lacerda Kneipp
> > > >
> > > > UPX
> > > > http://www.upx.com.br
> > > >
> > > > Campinas +55 (19) 3208-1317 ou + 55 (19) 4062-0086
> > > > São Paulo +55 (11) 2626-3952
> > > > Brasília +55 (61) 2626-1248
> > > > Belo-Horizonte +55 (31) 2626-2019
> > > > Miami - USA +1 (305) 331-6649
> > > >
> > > >
> > > > 2014-07-05 7:58 GMT-03:00 Moritz Barsnick <barsnick at gmx.net>:
> > > >
> > > > > Hi Felipe,
> > > > >
> > > > > On Fri, Jul 04, 2014 at 10:51:33 -0300, Felipe Lacerda wrote:
> > > > >
> > > > > > My version of ffmpeg is 0.8.12
> > > > >
> > > > > Please get hold of a newer version of ffmpeg. This is quite old and
> > > > > unsupported, and some tips you get just won't apply to your
> version.
> > > > >
> > > > > > > > I need transcode the many videos for they run in old iPhone
> (3,
> > 3gs)
> > > > > and
> > > > >
> > > > > Check the compatibility section in this FAQ:
> > > > >
> > > > >
> https://trac.ffmpeg.org/wiki/Encode/H.264#AdditionalInformationTips
> > > > >
> > > > > Quote:
> > > > > > If you want your videos to have highest compatibility with target
> > > > > > devices (older iOS versions or all Android devices):
> > > > > >
> > > > > >   -profile:v baseline -level 3.0
> > > > >
> > > > > So basically
> > > > > ffmpeg -i inputvideofile -c:a copy -c:v libx264 -profile:v baseline
> > -level
> > > > > 3.0 outputvideofile
> > > > >
> > > > > Moritz
> > > > > _______________________________________________
> > > > > ffmpeg-user mailing list
> > > > > ffmpeg-user at ffmpeg.org
> > > > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > >
> > > > _______________________________________________
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user at ffmpeg.org
> > > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list