VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Oct 2008
    Location
    France
    Search Comp PM
    Hello,
    i'm using ffmpeg or Memcoder to convert a TGA sequence frames to an flv movie.

    With ffmpeg, i succesfully convert the first frame to an flv like that:

    ffmpeg -r 10 -b 1800 -i animation001.tga testout.flv

    but i can't understand how to detect increment.
    i'm using this code:

    ffmpeg -r 10 -b 1800 -i %03d.tga testout.flv
    (because my sequential frames have 3 digits; it names rdr_animation001.tga, etc...)

    the error message is: Could not find codec parameters (Video:targa)
    C:\ffmpeg\ffmpeg.bat3d.tga: could not fond codec parameters


    So i tried Memcoder, like that:
    mencoder "mf://*.tga" -mf fps=10 -o test.flv -ovc lavc -lavcopts vcodec=flv:vbitrate=250:autoaspect:acodec=mp3:abit rate=56 -vf scale=320:240 -srate 22050 -af lavcresample=22050 -ofps 15

    this way, i got an flv movie but it is unreadable with all my player. It open onto a black screen and nothing append.

    Anybody can help me to solve this?

    Thank you very much

    Ps: I will post this to the Mac ffmpeg forum too. (i'm on Win anyway)
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    for ffmpeg
    -i rdr_animation%03d.tga

    for mencoder add to the commandline
    -of lavf
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  3. Member
    Join Date
    Oct 2008
    Location
    France
    Search Comp PM
    thank you 45tripp, it works for mencoder!
    but not for ffmpeg:

    ffmpeg -i rdr_animation%03d.tga testout.flv

    return the same error...
    any idea?
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    yes,
    you're running it in a batch file.

    fmpeg -i rdr_animation%%03d.tga testout.flv
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  5. Member
    Join Date
    Oct 2008
    Location
    France
    Search Comp PM
    thank you for your help,
    see you soon for the next one!
    Quote Quote  
  6. Member
    Join Date
    Oct 2008
    Location
    France
    Search Comp PM
    Originally Posted by 45tripp
    yes,
    you're running it in a batch file.

    fmpeg -i rdr_animation%%03d.tga testout.flv
    this is returning:

    Em6_pollen%03d.tga I/O error occured
    (usually that means that input file is trucated and/or corrupted)

    Any idea. i'm stunck.
    Quote Quote  



Similar Threads

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