Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Building a movie (AVI/MPG) from individual JPG frames under linux

  • 23-12-2003 11:00PM
    #1
    Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭


    The title says it all really.

    I have a great app on windows for doing this, but sadly it won't compile a movie under wine, and I'd really prefer to have a console app for doing this.

    Has anyone heard of anything to do this job?


Comments

  • Closed Accounts Posts: 6,718 ✭✭✭SkepticOne


    You may have already come across this in your search, but anyway.


  • Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭phaxx


    I did, and I refuse to believe thats the only way to do it. Someone, somewhere, has written a nice tidy tool for this, nothing like that bloated monster. I've never seen anything like it!


  • Closed Accounts Posts: 6,718 ✭✭✭SkepticOne


    Just doing a bit of experimenting.

    Try ImageMagick. The 'convert' program does the job. Just go 'convert *.jpg monkfish.mpg' to convert the jpegs. It makes use of the mpeg2encode program from here.

    The drawback of this method is that 'convert' creates a whole pile of uncompressed .yuv files in the /tmp directory causing possible disk space issues. It would be better if it did the whole thing on the fly.


  • Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭phaxx


    Hah. Thats what I'm talking about. I knew ImageMagick was good, but I had no idea. :)
    <phaxx@iris>[~]$ convert Screenshot* test.mpeg
    Warning: setting constrained_parameters_flag = 0
    Encoding frame 0 ...........................................................................
    Encoding frame 1 ...........................................................................
    vbv_delay underflow! (decoding_time=22400.0, t_EOP=74156.9
    )vbv_delay underflow: -48159
    <phaxx@iris>[~]$ 
    

    It gives the above nasty error if the files it's working with are different sizes, but thats just me testing it.

    Still, damn cool! I'd never have thought of trying ImageMagick for that, it surprised me the other day when I half jokingly tried "convert Test2.pdf test.jpg" and it worked. :)

    Many thanks.


Advertisement