Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques how to convert .mov (animated gif) into .flv or .mp4

  • how to convert .mov (animated gif) into .flv or .mp4

    Posted by Alain Dazzi on March 25, 2012 at 3:34 am

    I am unable to convert a .mov video (comprising 2x video/gif streams) into flv other. This file looks like an animated gif actually, Can anyone help?

    ffmpeg -i 633.mov
    ffmpeg version N-37137-g749e5dc Copyright (c) 2000-2012 the FFmpeg developers
    built on Mar 16 2012 16:45:08 with clang 3.0 (tags/Apple/clang-211.10.1)
    configuration: –disable-decoder=amrnb –extra-cflags=-I/usr/local/include –extra-ldflags=-L/usr/local/lib –enable-nonfree –enable-gpl –enable-version3 –enable-postproc –enable-swscale –enable-avfilter –enable-libmp3lame –enable-libvorbis –enable-libtheora –enable-libfaac –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libxvid –enable-libx264 –enable-libvpx –enable-hardcoded-tables –enable-shared –enable-pthreads –disable-indevs –cc=clang
    libavutil 51. 34.101 / 51. 34.101
    libavcodec 53. 59.100 / 53. 59.100
    libavformat 53. 30.100 / 53. 30.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 60.100 / 2. 60.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7feb5183d800] multiple edit list entries, a/v desync might occur, patch welcome
    Last message repeated 1 times
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7feb5183d800] Could not find codec parameters (Video: none (blur / 0x72756C62), 160×120, 0 kb/s)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘633.mov’:
    Metadata:
    creation_time : 2003-12-16 16:25:56
    Duration: 00:00:02.06, start: 0.000000, bitrate: 34 kb/s
    Stream #0:0(eng): Video: gif (gif / 0x20666967), pal8, 160×120, 152 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
    Metadata:
    creation_time : 2003-12-16 16:25:56
    handler_name : ?Apple Alias Data Handler
    Stream #0:1(eng): Video: none (blur / 0x72756C62), 160×120, 0 kb/s, 0.50 fps, 0.50 tbr, 600 tbn, 600 tbc
    Metadata:
    creation_time : 2003-12-16 16:25:56
    handler_name : ?Apple Alias Data Handler
    Stream #0:2(eng): Video: gif (gif / 0x20666967), pal8, 160×120, 152 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
    Metadata:
    creation_time : 2003-12-16 16:25:56
    handler_name : ?Apple Alias Data Handler

    and the command I use is …

    ~/Desktop/robert$ cat g
    ffmpeg -y -i 633.mov -vcodec flv
    -pix_fmt yuv420p
    -b:v 900k
    -an -r 15 -vf scale=”426:320″ test.flv

    The resulting streams is …

    ~/Desktop/robert$ ffmpeg -i test.flv
    ffmpeg version N-37137-g749e5dc Copyright (c) 2000-2012 the FFmpeg developers
    built on Mar 16 2012 16:45:08 with clang 3.0 (tags/Apple/clang-211.10.1)
    configuration: –disable-decoder=amrnb –extra-cflags=-I/usr/local/include –extra-ldflags=-L/usr/local/lib –enable-nonfree –enable-gpl –enable-version3 –enable-postproc –enable-swscale –enable-avfilter –enable-libmp3lame –enable-libvorbis –enable-libtheora –enable-libfaac –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libxvid –enable-libx264 –enable-libvpx –enable-hardcoded-tables –enable-shared –enable-pthreads –disable-indevs –cc=clang
    libavutil 51. 34.101 / 51. 34.101
    libavcodec 53. 59.100 / 53. 59.100
    libavformat 53. 30.100 / 53. 30.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 60.100 / 2. 60.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, flv, from ‘test.flv’:
    Metadata:
    creation_time : 2003-12-16 16:25:56
    encoder : Lavf53.30.100
    Duration: 00:00:00.06, start: 0.000000, bitrate: 1201 kb/s
    Stream #0:0: Video: flv1, yuv420p, 426×320, 900 kb/s, 1k tbr, 1k tbn, 1k tbc
    comment:3

    The length is .06 seconds instead of 2.06 seconds.

    Alain Dazzi replied 14 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy