[FFmpeg-user] how to change ffmpeg configuration

e-letter inpost at gmail.com
Fri Dec 27 11:00:23 CET 2013


On 11/12/2013, Lou <lou at lrcd.com> wrote:
> On Wed, 11 Dec 2013 22:43:43 +0000
> e-letter <inpost at gmail.com> wrote:
>
>> Readers,
>>
>> An attempt to convert flv to ogg failed:
>>
>> ffmpeg -i file.flv file.ogg
>>
>> FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
>
> This is old. Please compile from git master or use a recent build:
>

Libav910 was obtained, compiled and installed into /usr/local/libavcodec

Video is converted, but no sound.

Bashrc file edited:

...
export LIBAVCODEC_DIR=/usr/local/libavcodec
...

avconv --help
avconv version 9.10, Copyright (c) 2000-2013 the Libav developers
  built on Dec 15 2013 13:35:50 with gcc 4.4.3 (GCC)
Hyper fast Audio and Video encoder

$ avconv -t 30 -i file.mp4.flv test.ogv
avconv version 9.10, Copyright (c) 2000-2013 the Libav developers
  built on Dec 15 2013 13:35:50 with gcc 4.4.3 (GCC)
[flv @ 0xa7c1020] max_analyze_duration reached
Input #0, flv, from 'file.mp4.flv':
  Metadata:
    moovPosition    : 36
    avcprofile      : 77
    avclevel        : 31
    aacaot          : 2
    videoframerate  : 25
    audiochannels   : 2
  Duration: 02:02:14.39, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (Main), yuv420p, 832x468 [PAR 1:1 DAR
16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp
Output #0, ogg, to 'test.ogv':
  Metadata:
    moovPosition    : 36
    avcprofile      : 77
    avclevel        : 31
    aacaot          : 2
    videoframerate  : 25
    audiochannels   : 2
    Stream #0.0: Video: [0][0][0][0] / 0x0000, q=2-31, 200 kb/s, 90k tbn
    Stream #0.1: Audio: flac, 0 channels, 200 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> ?)
  Stream #0:1 -> #0:1 (aac -> flac)
Automatic encoder selection failed for output stream #0:0. Default
encoder for format ogg is probably disabled. Please choose an encoder
manually.

 $ avconv -codecs
avconv version 9.10, Copyright (c) 2000-2013 the Libav developers
  built on Dec 15 2013 13:35:50 with gcc 4.4.3 (GCC)
Codecs:
 D..... = Decoding supported
 .E.... = Encoding supported
 ..V... = Video codec
 ..A... = Audio codec
 ..S... = Subtitle codec
 ...I.. = Intra frame-only codec
 ....L. = Lossy compression
 .....S = Lossless compression
 -------
DEV.L. mpeg1video           MPEG-1 video
DEV.L. mpeg2video           MPEG-1 video
..V.L. mpegvideo_xvmc       MPEG-1/2 video XvMC (X-Video Motion Compensation)
DEV.L. h261                 H.261
DEV.L. h263                 H.263 / H.263-1996, H.263+ / H.263-1998 /
H.263 version 2
DEV.L. rv10                 RealVideo 1.0
DEV.L. rv20                 RealVideo 1.0
DEVIL. mjpeg                Motion JPEG
D.VIL. mjpegb               Apple MJPEG-B
.EVI.S ljpeg                Lossless JPEG
D.VIL. sp5x                 Sunplus JPEG (SP5X)
DEVILS jpegls               JPEG-LS
DEV.L. mpeg4                MPEG-4 part 2
DEVI.S rawvideo             raw video
D.V.L. msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
DEV.L. msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
DEV.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3
(decoders: msmpeg4 ) (encoders: msmpeg4 )
DEV.L. wmv1                 Windows Media Video 7
DEV.L. wmv2                 Windows Media Video 8
.EV.L. h263p                H.263+ / H.263-1998 / H.263 version 2
D.V.L. h263i                Intel H.263
DEV.L. flv1                 FLV / Sorenson Spark / Sorenson H.263
(Flash Video) (decoders: flv ) (encoders: flv )
DEV.L. svq1                 Sorenson Vector Quantizer 1 / Sorenson
Video 1 / SVQ1
D.V.L. svq3                 Sorenson Vector Quantizer 3 / Sorenson
Video 3 / SVQ3
DEVIL. dvvideo              DV (Digital Video)
DEVI.S huffyuv              HuffYUV
D.VIL. cyuv                 Creative YUV (CYUV)
D.V.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
D.V.L. indeo3               Intel Indeo 3
D.V.L. vp3                  On2 VP3
D.V.L. theora               Theora
DEVIL. asv1                 ASUS V1
DEVIL. asv2                 ASUS V2
DEV..S ffv1                 FFmpeg video codec #1
D.V.L. 4xm                  4X Movie
D.VIL. vcr1                 ATI VCR1
DEVIL. cljr                 Cirrus Logic AccuPak
D.VIL. mdec                 Sony PlayStation MDEC (Motion DECoder)
DEV.L. roq                  id RoQ video (decoders: roqvideo )
(encoders: roqvideo )
D.V.L. interplayvideo       Interplay MVE video
D.V.L. xan_wc3              Wing Commander III / Xan
D.V.L. xan_wc4              Wing Commander IV / Xxan
D.V.L. rpza                 QuickTime video (RPZA)
D.V.L. cinepak              Cinepak
D.V.L. ws_vqa               Westwood Studios VQA (Vector Quantized
Animation) video (decoders: vqavideo )
D.V..S msrle                Microsoft RLE
D.V.L. msvideo1             Microsoft Video 1
D.V.L. idcin                id Quake II CIN video (decoders: idcinvideo )
D.VI.S 8bps                 QuickTime 8BPS video
D.V.L. smc                  QuickTime Graphics (SMC)
D.V..S flic                 Autodesk Animator Flic video
D.V.L. truemotion1          Duck TrueMotion 1.0
D.V.L. vmdvideo             Sierra VMD video
D.VI.S mszh                 LCL (LossLess Codec Library) MSZH
DEVI.S zlib                 LCL (LossLess Codec Library) ZLIB
DEV..S qtrle                QuickTime Animation (RLE) video
..V.LS snow                 Snow
D.V..S tscc                 TechSmith Screen Capture Codec (decoders: camtasia )
D.V.L. ulti                 IBM UltiMotion (decoders: ultimotion )
D.VI.S qdraw                Apple QuickDraw
D.VIL. vixl                 Miro VideoXL (decoders: xl )
D.V.L. qpeg                 Q-team QPEG
DEV..S png                  PNG (Portable Network Graphics) image
DEVI.S ppm                  PPM (Portable PixelMap) image
DEVI.S pbm                  PBM (Portable BitMap) image
DEVI.S pgm                  PGM (Portable GrayMap) image
DEVI.S pgmyuv               PGMYUV (Portable GrayMap YUV) image
DEVI.S pam                  PAM (Portable AnyMap) image
DEVI.S ffvhuff              Huffyuv FFmpeg variant
D.V.L. rv30                 RealVideo 3.0
D.V.L. rv40                 RealVideo 4.0
D.V.L. vc1                  SMPTE VC-1
D.V.L. wmv3                 Windows Media Video 9
D.VI.S loco                 LOCO
D.VIL. wnv1                 Winnov WNV1
D.V..S aasc                 Autodesk RLE
D.V.L. indeo2               Intel Indeo 2
D.V..S fraps                Fraps
D.V.L. truemotion2          Duck TrueMotion 2.0
DEVI.S bmp                  BMP (Windows and OS/2 bitmap)
D.V..S cscd                 CamStudio (decoders: camstudio )
D.V.L. mmvideo              American Laser Games MM Video
DEV..S zmbv                 Zip Motion Blocks Video
D.V.L. avs                  AVS (Audio Video Standard) video
D.V.L. smackvideo           Smacker video (decoders: smackvid )
D.V.L. nuv                  NuppelVideo/RTJPEG
D.V.L. kmvc                 Karl Morton's video codec
DEV..S flashsv              Flash Screen Video v1
D.V.L. cavs                 Chinese AVS (Audio Video Standard)
(AVS1-P2, JiZhun profile)
..VILS jpeg2000             JPEG 2000
D.V..S vmnc                 VMware Screen Codec / VMware Video
D.V.L. vp5                  On2 VP5
D.V.L. vp6                  On2 VP6
D.V.L. vp6f                 On2 VP6 (Flash version)
DEVI.S targa                Truevision Targa image
D.V.L. dsicinvideo          Delphine Software International CIN video
D.V.L. tiertexseqvideo      Tiertex Limited SEQ video
DEVI.S tiff                 TIFF image
DEV..S gif                  GIF (Graphics Interchange Format)
D.V..S dxa                  Feeble Files/ScummVM DXA
DEVIL. dnxhd                VC3/DNxHD
D.VIL. thp                  Nintendo Gamecube THP video
DEVIL. sgi                  SGI image
D.V.L. c93                  Interplay C93
D.V.L. bethsoftvid          Bethesda VID video
D.VIL. ptx                  V.Flash PTX image
D.VIL. txd                  Renderware TXD (TeXture Dictionary) image
D.V.L. vp6a                 On2 VP6 (Flash version, with alpha channel)
D.VIL. amv                  AMV Video
D.V.L. vb                   Beam Software VB
DEVI.S pcx                  PC Paintbrush PCX image
DEVI.S sunrast              Sun Rasterfile image
D.V.L. indeo4               Intel Indeo Video Interactive 4
D.V.L. indeo5               Intel Indeo Video Interactive 5
D.V.L. mimic                Mimic
D.VIL. rl2                  RL2 video
D.V.L. escape124            Escape 124
..V.LS dirac                Dirac
D.V.L. bfi                  Brute Force & Ignorance
D.V.L. cmv                  Electronic Arts CMV video (decoders: eacmv )
D.V.L. motionpixels         Motion Pixels video
D.V.L. tgv                  Electronic Arts TGV video (decoders: eatgv )
D.V.L. tgq                  Electronic Arts TGQ video (decoders: eatgq )
D.V.L. tqi                  Electronic Arts TQI video (decoders: eatqi )
D.VIL. aura                 Auravision AURA
D.VIL. aura2                Auravision Aura 2
D.VI.S v210x
D.VIL. tmv
DEVI.S v210                 Uncompressed 4:2:2 10-bit
DEVIL. dpx                  DPX image
D.V.L. mad                  Electronic Arts Madcow Video (decoders: eamad )
D.VI.S frwu                 Forward Uncompressed
D.V.L. flashsv2             Flash Screen Video v2
D.V.L. cdgraphics           CD Graphics video
D.VI.S r210                 Uncompressed RGB 10-bit
D.V.L. anm                  Deluxe Paint Animation
D.V.L. binkvideo            Bink video
D.V.L. iff_ilbm             IFF ILBM
D.V.L. iff_byterun1         IFF ByteRun1
D.V.L. kgv1                 Kega Game Video
D.V.L. yop                  Psygnosis YOP Video
D.V.L. vp8                  On2 VP8
D.VIL. pictor               Pictor/PC Paint
D.V.L. ansi                 ASCII/ANSI art
.EVIL. a64_multi            Multicolor charset for Commodore 64
(encoders: a64multi )
.EVIL. a64_multi5           Multicolor charset for Commodore 64,
extended with 5th color (colram) (encoders: a64multi5 )
D.VI.S r10k                 AJA Kona 10-bit RGB Codec
D.V.L. mxpeg                Mobotix MxPEG video
D.VI.S lagarith             Lagarith lossless
DEVIL. prores               Apple ProRes (iCodec Pro)
D.VIL. jv                   Bitmap Brothers JV video
D.V.L. dfa                  Chronomaster DFA
D.V.L. wmv3image            Windows Media Video 9 Image
D.V.L. vc1image             Windows Media Video 9 Image v2
DEVI.S utvideo              Ut Video
D.V..S bmv_video            Discworld II BMV video
D.VI.S vble                 VBLE Lossless Codec
D.VI.S dxtory               Dxtory
DEVI.S v410                 Uncompressed 4:4:4 10-bit
DEVI.S xwd                  XWD (X Window Dump) image
D.V.L. cdxl                 Commodore CDXL video
.EVI.S xbm
D.V..S zerocodec            ZeroCodec Lossless Video
D.V.L. mss1                 MS Screen 1
D.V.L. msa1                 MS ATC Screen
D.V.L. tscc2                TechSmith Screen Codec 2
D.V.L. mts2                 MS Expression Encoder Screen
D.VI.S cllc                 Canopus Lossless Codec
D.VIL. mss2                 MS Windows Media Video V9 Screen
DEA..S pcm_s16le            PCM signed 16-bit little-endian
DEA..S pcm_s16be            PCM signed 16-bit big-endian
DEA..S pcm_u16le            PCM unsigned 16-bit little-endian
DEA..S pcm_u16be            PCM unsigned 16-bit big-endian
DEA..S pcm_s8               PCM signed 8-bit
DEA..S pcm_u8               PCM unsigned 8-bit
DEA... pcm_mulaw            PCM mu-law
DEA... pcm_alaw             PCM A-law
DEA..S pcm_s32le            PCM signed 32-bit little-endian
DEA..S pcm_s32be            PCM signed 32-bit big-endian
DEA..S pcm_u32le            PCM unsigned 32-bit little-endian
DEA..S pcm_u32be            PCM unsigned 32-bit big-endian
DEA..S pcm_s24le            PCM signed 24-bit little-endian
DEA..S pcm_s24be            PCM signed 24-bit big-endian
DEA..S pcm_u24le            PCM unsigned 24-bit little-endian
DEA..S pcm_u24be            PCM unsigned 24-bit big-endian
DEA..S pcm_s24daud          PCM D-Cinema audio signed 24-bit
D.A.L. pcm_zork             PCM Zork
D.A..S pcm_s16le_planar     PCM 16-bit little-endian planar
D.A..S pcm_dvd              PCM signed 20|24-bit big-endian
DEA..S pcm_f32be            PCM 32-bit floating point big-endian
DEA..S pcm_f32le            PCM 32-bit floating point little-endian
DEA..S pcm_f64be            PCM 64-bit floating point big-endian
DEA..S pcm_f64le            PCM 64-bit floating point little-endian
D.A..S pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media
D.A..S pcm_lxf              PCM signed 20-bit little-endian planar
D.A.L. s302m                SMPTE 302M
D.A..S pcm_s8_planar        PCM signed 8-bit planar
DEA.L. adpcm_ima_qt         ADPCM IMA QuickTime
DEA.L. adpcm_ima_wav        ADPCM IMA WAV
D.A.L. adpcm_ima_dk3        ADPCM IMA Duck DK3
D.A.L. adpcm_ima_dk4        ADPCM IMA Duck DK4
D.A.L. adpcm_ima_ws         ADPCM IMA Westwood
D.A.L. adpcm_ima_smjpeg     ADPCM IMA Loki SDL MJPEG
DEA.L. adpcm_ms             ADPCM Microsoft
D.A.L. adpcm_4xm            ADPCM 4X Movie
D.A.L. adpcm_xa             ADPCM CDROM XA
DEA.L. adpcm_adx            SEGA CRI ADX ADPCM
D.A.L. adpcm_ea             ADPCM Electronic Arts
DEA.L. adpcm_g726           G.726 ADPCM (decoders: g726 ) (encoders: g726 )
D.A.L. adpcm_ct             ADPCM Creative Technology
DEA.L. adpcm_swf            ADPCM Shockwave Flash
DEA.L. adpcm_yamaha         ADPCM Yamaha
D.A.L. adpcm_sbpro_4        ADPCM Sound Blaster Pro 4-bit
D.A.L. adpcm_sbpro_3        ADPCM Sound Blaster Pro 2.6-bit
D.A.L. adpcm_sbpro_2        ADPCM Sound Blaster Pro 2-bit
D.A.L. adpcm_thp            ADPCM Nintendo Gamecube THP
D.A.L. adpcm_ima_amv        ADPCM IMA AMV
D.A.L. adpcm_ea_r1          ADPCM Electronic Arts R1
D.A.L. adpcm_ea_r3          ADPCM Electronic Arts R3
D.A.L. adpcm_ea_r2          ADPCM Electronic Arts R2
D.A.L. adpcm_ima_ea_sead    ADPCM IMA Electronic Arts SEAD
D.A.L. adpcm_ima_ea_eacs    ADPCM IMA Electronic Arts EACS
D.A.L. adpcm_ea_xas         ADPCM Electronic Arts XAS
D.A.L. adpcm_ea_maxis_xa    ADPCM Electronic Arts Maxis CDROM XA
D.A.L. adpcm_ima_iss        ADPCM IMA Funcom ISS
DEA.L. adpcm_g722           G.722 ADPCM (decoders: g722 ) (encoders: g722 )
D.A.L. adpcm_ima_apc        ADPCM IMA CRYO APC
D.A.L. amr_nb               AMR-NB (Adaptive Multi-Rate NarrowBand)
(decoders: amrnb )
D.A.L. amr_wb               AMR-WB (Adaptive Multi-Rate WideBand)
(decoders: amrwb )
DEA.L. ra_144               RealAudio 1.0 (14.4K) (decoders: real_144
) (encoders: real_144 )
D.A.L. ra_288               RealAudio 2.0 (28.8K) (decoders: real_288 )
DEA.L. roq_dpcm             DPCM id RoQ
D.A.L. interplay_dpcm       DPCM Interplay
D.A.L. xan_dpcm             DPCM Xan
D.A.L. sol_dpcm             DPCM Sol
DEA.L. mp2                  MP2 (MPEG audio layer 2) (decoders: mp2 mp2float )
D.A.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float )
DEA.L. aac                  AAC (Advanced Audio Coding)
DEA.L. ac3                  ATSC A/52A (AC-3) (encoders: ac3 ac3_fixed )
D.A.LS dts                  DCA (DTS Coherent Acoustics) (decoders: dca )
DEA.L. vorbis               Vorbis
..A.L. dvaudio
DEA.L. wmav1                Windows Media Audio 1
DEA.L. wmav2                Windows Media Audio 2
D.A.L. mace3                MACE (Macintosh Audio Compression/Expansion) 3:1
D.A.L. mace6                MACE (Macintosh Audio Compression/Expansion) 6:1
D.A.L. vmdaudio             Sierra VMD audio
DEA..S flac                 FLAC (Free Lossless Audio Codec)
D.A.L. mp3adu               ADU (Application Data Unit) MP3 (MPEG
audio layer 3) (decoders: mp3adu mp3adufloat )
D.A.L. mp3on4               MP3onMP4 (decoders: mp3on4 mp3on4float )
D.A..S shorten              Shorten
DEA..S alac                 ALAC (Apple Lossless Audio Codec)
D.A.L. westwood_snd1        Westwood Audio (SND1) (decoders: ws_snd1 )
D.A.L. gsm                  GSM
D.A.L. qdm2                 QDesign Music Codec 2
D.A.L. cook                 Cook / Cooker / Gecko (RealAudio G2)
D.A.L. truespeech           DSP Group TrueSpeech
D.A..S tta                  TTA (True Audio)
D.A.L. smackaudio           Smacker audio (decoders: smackaud )
D.A.L. qcelp                QCELP / PureVoice
D.A.LS wavpack              WavPack
D.A.L. dsicinaudio          Delphine Software International CIN audio
D.A.L. imc                  IMC (Intel Music Coder)
D.A.L. musepack7            Musepack SV7 (decoders: mpc7 )
D.A..S mlp                  MLP (Meridian Lossless Packing)
D.A.L. gsm_ms               GSM Microsoft variant
D.A.L. atrac3               Atrac 3 (Adaptive TRansform Acoustic Coding 3)
..A.L. voxware              Voxware RT29 Metasound
D.A..S ape                  Monkey's Audio
DEA.L. nellymoser           Nellymoser Asao
D.A.L. musepack8            Musepack SV8 (decoders: mpc8 )
..A.L. speex                Speex
D.A.L. wmavoice             Windows Media Audio Voice
D.A.L. wmapro               Windows Media Audio 9 Professional
D.A..S wmalossless          Windows Media Audio Lossless
..A.L. atrac3p              Sony ATRAC3+
DEA.L. eac3                 ATSC A/52B (AC-3, E-AC-3)
D.A.L. sipr                 RealAudio SIPR / ACELP.NET
D.A.L. mp1                  MP1 (MPEG audio layer 1) (decoders: mp1 mp1float )
D.A.L. twinvq               VQF TwinVQ
D.A..S truehd               TrueHD
D.A..S mp4als               MPEG-4 Audio Lossless Coding (ALS) (decoders: als )
D.A.L. atrac1               Atrac 1 (Adaptive TRansform Acoustic Coding)
D.A.L. binkaudio_rdft       Bink Audio (RDFT)
D.A.L. binkaudio_dct        Bink Audio (DCT)
D.A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
..A.L. qdmc                 QDesign Music
..A.L. celt                 Constrained Energy Lapped Transform (CELT)
D.A.L. g723_1               G.723.1
..A.L. g729                 G.729
D.A.L. 8svx_exp             8SVX exponential
D.A.L. 8svx_fib             8SVX fibonacci
D.A.L. bmv_audio            Discworld II BMV audio
D.A..S ralf                 RealAudio Lossless
D.A.L. iac                  IAC (Indeo Audio Coder)
..A.L. ilbc                 iLBC (Internet Low Bitrate Codec)
..A.L. opus                 Opus (Opus Interactive Audio Codec)
DEA.L. comfortnoise         RFC 3389 Comfort Noise
D.A..S tak                  TAK (Tom's lossless Audio Kompressor)
DES... dvd_subtitle         DVD subtitles (decoders: dvdsub )
(encoders: dvdsub )
DES... dvb_subtitle         DVB subtitles (decoders: dvbsub )
(encoders: dvbsub )
..S... text                 raw UTF-8 text
DES... xsub                 XSUB
DES... ssa                  SSA (SubStation Alpha) / ASS (Advanced
SSA) subtitle (decoders: ass ) (encoders: ass )
..S... mov_text             MOV text
D.S... hdmv_pgs_subtitle    HDMV Presentation Graphic Stream subtitles
(decoders: pgssub )
..S... dvb_teletext         DVB teletext
D.S... srt                  SubRip Text


More information about the ffmpeg-user mailing list