Page 63 of 72 FirstFirst ... 13536162636465 ... LastLast
Results 621 to 630 of 711

Thread: HowTo: Encode Video for iPod Video

  1. #621
    Join Date
    Oct 2005
    Location
    Dallas
    Beans
    620
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Encode Video for iPod Video

    MrGreen, simply run this command:

    Code:
    sudo apt-get install gtkpod-aac
    And all should be well in your world

  2. #622
    Join Date
    Apr 2006
    Beans
    180

    Re: HowTo: Encode Video for iPod Video

    I know what I did wrong I typed acc instead of aac lol

    Thanks good to go ....
    MrGreen

  3. #623
    Join Date
    Jan 2006
    Location
    MA
    Beans
    97
    Distro
    Xubuntu

    Re: HowTo: Encode Video for iPod Video

    Can you help with an audio sync problem? Here's the command line I'm using to convert to m4v for iTunes/iPod use:

    Code:
    ffmpeg -i "${input_file}" -f mp4 -vcodec xvid -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x180 -padtop 30 -padbottom 30 "${input_file}.m4v"
    When the video starts, audio playback is sync'd up no problem, but it gets progressively more "off" as the video goes on. By the end of a 50 minute video, the sound is near 2 seconds off the video...

    Any ideas why this might be happening?

    Thanks,

  4. #624
    Join Date
    Oct 2005
    Location
    Dallas
    Beans
    620
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Encode Video for iPod Video

    Metallinut try using the async flag. You can get more info here.

  5. #625
    Join Date
    Jan 2006
    Location
    MA
    Beans
    97
    Distro
    Xubuntu

    Re: HowTo: Encode Video for iPod Video

    Thanks. I just actually saw a difference in some of my videos. The ones with the sync problem were actually encoded with the flag -vcodec mpeg4. I just noticed some other videos (that I haven't watched yet) that did not exhibit the same audio sync problems. These files were encoded with -vcodec xvid.

    I think I'll just stick with xvid, as both iTunes and the iPod both seem to play these...

  6. #626
    Join Date
    Apr 2006
    Beans
    180

    Re: HowTo: Encode Video for iPod Video

    Followed guide in first post of this thread now ffmpeg spits this out

    Code:
    ffmpeg: error while loading shared libraries: libavformat.so.50: cannot open shared object file: No such file or directory
    loaded libavformat-dev but sis not help any ideas ?
    Last edited by MrGreen; August 23rd, 2007 at 07:13 PM. Reason: missed line
    MrGreen

  7. #627
    Join Date
    Oct 2005
    Location
    Dallas
    Beans
    620
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Encode Video for iPod Video

    Mr. Green: You'll need to edit the /etc/ld.so.conf file (using sudo), and add this line:

    Code:
    /usr/local/lib
    Save and exit and then run this command:

    Code:
    ldconfig -v
    All should then be well.

  8. #628
    Join Date
    Apr 2006
    Beans
    180

    Re: HowTo: Encode Video for iPod Video

    Man lol, worked a treat thanks... what is all that about? it is a problem with ubuntu package or svn version of ffmpeg?

    MrG
    MrGreen

  9. #629
    Join Date
    Oct 2005
    Location
    Dallas
    Beans
    620
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Encode Video for iPod Video

    I believe it's the SVN version of ffmpeg and it sometimes installs libavformat to /usr/local/lib instead of /usr/lib. Simple enough fix, though

  10. #630
    Join Date
    Apr 2006
    Beans
    180

    Re: HowTo: Encode Video for iPod Video

    The only thing now is I can convert avi to mov but flv to mov

    Code:
    ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320x240 video.mpg

    I get .....

    Code:
    PIX_FMT_YUV420P will be used as an intermediate format for rescaling
    Output #0, mov, to 'video.mov':
      Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, 500 kb/s, 25.00 fps(c)
      Stream #0.1: Audio: aac, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    Unsupported codec (id=0) for input stream #0.0
    again vive works fine with avi.... not a problem

    strange?
    MrGreen

Page 63 of 72 FirstFirst ... 13536162636465 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •