VideoHelp Forum




Results 1 to 2 of 2
  1. I'm currently working on a web-app from my mac using XAMPP etc...
    I needed to create some video from pictures and then merge all the videos and I decided to use ffmpeg and mencoder together.
    Here is an example of my first command line :

    /opt/local/bin/ffmpeg -f image2 -r 0.48 -i img1.png img2.png --r 24 -b 2000 -y render/img1.mpg
    This is creating a video file of 50 frames into mpeg1video muxed.

    I'm doing this several time and apply the following code to merge the video.

    /opt/local/bin/mencoder -oac copy -ovc copy -idx -o video/myfile.mpg render/img1.mpg render/img1.mpg
    I would like then to encode this mpeg1 file into something else mpeg4/rawvideo or else.
    And here is my problem :
    I tried everything into mencoder or ffmpeg to reencode this file but NOTHING want to work even reencoding this file into mpeg1 (same format !) => same things happen if I try to convert to mpeg4

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
    Input #0, avi, from '290710_1521_seq2.mpg':
    Duration: 00:00:39.2, start: 0.000000, bitrate: 524 kb/s
    Stream #0.0, 24.00 fps(r): Video: mpeg1video, 375x210, 104857 kb/s
    File 'essai.mpg' already exists. Overwrite ? [y/N] y
    Output #0, mpeg, to 'essai.mpg':
    Stream #0.0, 24.00 fps(c): Video: mpeg1video, yuv420p, 375x210, q=2-31, 200 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding
    frame= 0 q=0.0 Lsize= 0kB time=10000000000.0 bitrate= 0.0kbits/s
    video:0kB audio:0kB global headers:0kB muxing overhead nan%
    I don't know what to do here. I don't understanf what is the problem. What's missing or what I can do.




Similar Threads

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