[FFmpeg-user] Transcode videos

Steve Boyer steveboyer85 at gmail.com
Thu Jul 10 16:05:26 CEST 2014


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.

>   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


More information about the ffmpeg-user mailing list