VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi

    I use :

    ffmpeg -i "$arg" -target pal-dvd -acodec mp2 -ab 128k "$arg.mpg"

    to convert an avi file to mpeg2. When i watch it there is a little lag about every second. Does anyone know how to fix this ?
    Quote Quote  
  2. Member GMaq's Avatar
    Join Date
    Mar 2004
    Location
    Canada
    Search Comp PM
    Hello,

    What distro are you using?, Which version of ffmpeg? What is the frame rate of the AVI files you are converting?

    When you say lag, does that mean that the Audio and Video are out of sync, or that the frame is freezing?

    I know it's a lot of questions but it is easier to help with more info.
    Quote Quote  
  3. Im using version 3:0.cvs20070307-5ubuntu7. All files are xvid and has 24 fps. Nothing is out of sync its just a little pause in the picture.
    Quote Quote  
  4. Member GMaq's Avatar
    Join Date
    Mar 2004
    Location
    Canada
    Search Comp PM
    OK,

    I'm not sure what the cause is, you could try a better ffmpeg for Ubuntu from www.medibuntu.org they have instructions on adding their repository to your sources.list, it is a great repo for multimedia add-ons and is safe and secure.

    Your files will be going from 24fps progressive to 25fps interlaced. I don't use PAL so I'm not sure if that is an issue or not. Are you burning these files to DVD or viewing them on the PC? Do you have the same issue if you use the -target ntsc-dvd switch in your command line?

    WinFF is a GUI for ffmpeg that has better quality commands for DVD than you are using, you may want to give it a try as well.
    Quote Quote  
  5. I tried the ffmpeg from medibuntu but it didnt help. When i convert 25fps -> PAL there is no lag, the same is for 24fps -> NTSC but 24fps -> PAL gives lag. Im using the files for my Dreambox. As for the winff i got this error:

    winff: error while loading shared libraries: libgdk_pixbuf.so.2: cannot open shared object file: No such file or directory
    Quote Quote  
  6. Man of Steel freebird73717's Avatar
    Join Date
    Dec 2003
    Location
    Smallville, USA
    Search PM
    Originally Posted by jonaskarlsson
    winff: error while loading shared libraries: libgdk_pixbuf.so.2: cannot open shared object file: No such file or directory
    You are missing some external libraries required for winff to run. I would go into synaptic and download anything related to libgdk. I have winff installed and the libgdk libs i have are
    libgdk-pixbuf2
    libgdk-pixbuf2-ruby1.8
    libgdk-pixbuf2-dev
    Not sure which one of those you need but I'm sure it is probably one of those.

    In addition to winff there is also autoff for linux.
    Donadagohvi (Cherokee for "Until we meet again")
    Quote Quote  
  7. also.. you are converting fps from 24pfs (ntsc) to 25 fsp (pal)

    better to pay attention.. add to command line -r 25000/1000

    BHH
    HDConvertToX, AutoMen, AutoMKV Developer
    Quote Quote  
  8. Member GMaq's Avatar
    Join Date
    Mar 2004
    Location
    Canada
    Search Comp PM
    Originally Posted by jonaskarlsson

    winff: error while loading shared libraries: libgdk_pixbuf.so.2: cannot open shared object file: No such file or directory
    Wow,

    That is a pretty "old" error associated with WinFF, are you using Ubuntu Feisty?

    Freebird is correct libgdk-pixbuf2 is what you will need.

    Also a note about ffmpeg GUI's: AutoFF is also a great choice, WinFF has the presets pre-made for newer users or people who don't know the commandline switches, And AutoFF allows the user to select their own, it all depends on what suits the user best.

    With the Medibuntu ffmpeg you can use the "-r 25000/1000" command like Buzz suggested or "-r 25" If you get WinFF to work you can enter it in the "Options" Window in the frame rate field.
    Quote Quote  
  9. I got winff to work altough it didnt help, neither did -r 25. I use hardy. Has anyone else managed to convert xvid 24fps to PAL mpeg ?
    Quote Quote  



Similar Threads

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