VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Jan 2013
    Location
    mexico
    Search PM
    hello, I need to merge and convert one image file and sound file into a ogg video.

    I'm using:


    Code:
    ffmpeg -y -i img2x2.bmp -i guitarra.mp3 -acodec libvorbis sync2.ogv
    which does produce a file, but doesn't work with vlc player.

    output from console:

    Code:
    ffmpeg version N-49069-gc74d465 Copyright (c) 2000-2013 the FFmpeg developers
      built on Jan 20 2013 23:39:19 with gcc 4.7.2 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
    sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
    nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
    nable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --en
    able-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable
    -libxavs --enable-libxvid --enable-zlib --enable-filter=frei0r
      libavutil      52. 15.100 / 52. 15.100
      libavcodec     54. 89.100 / 54. 89.100
      libavformat    54. 61.101 / 54. 61.101
      libavdevice    54.  3.102 / 54.  3.102
      libavfilter     3. 32.101 /  3. 32.101
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    Input #0, image2, from 'img2x2.bmp':
      Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
        Stream #0:0: Video: bmp, bgr24, 2x2, 25 tbr, 25 tbn, 25 tbc
    [mp3 @ 02585380] max_analyze_duration 5000000 reached at 5015510 microseconds
    Input #1, mp3, from 'guitarra.mp3':
      Duration: 00:00:06.06, start: 0.000000, bitrate: 321 kb/s
        Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    Output #0, ogg, to 'sync2.ogv':
      Metadata:
        encoder         : Lavf54.61.101
        Stream #0:0: Video: theora, yuv444p, 2x2, q=2-31, 200 kb/s, 25 tbn, 25 tbc
        Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp
    Stream mapping:
      Stream #0:0 -> #0:0 (bmp -> libtheora)
      Stream #1:0 -> #0:1 (mp3 -> libvorbis)
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=0.0 Lsize=      71kB time=00:00:06.04 bitrate=  95.7kbits/
    s
    video:0kB audio:63kB subtitle:0 global headers:7kB muxing overhead 0.907899%

    what am I missing?

    regards
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    It works fine when I test merge a bmp and a mp3 with ffmpeg version N-41416-g718607b.

    Tried with another mp3?
    Try set the framerate also with -r 1 (1 fps)
    Quote Quote  
  3. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    ...
    Last edited by bat999; 23rd Jan 2013 at 05:38.
    Quote Quote  
  4. Member
    Join Date
    Jan 2013
    Location
    mexico
    Search PM
    Hi, I'm just coming back from work. -r 1 did the trick.

    Thanks lot for your help!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!