Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

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

  • 23-12-2003 10: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