Page 53 of 72 FirstFirst ... 343515253545563 ... LastLast
Results 521 to 530 of 711

Thread: HowTo: Encode Video for iPod Video

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

    Re: HowTo: Encode Video for iPod Video

    FXFMan: Make bitrate and maxrate both 0.

    Metallinut: Take out the -bufsize 4096 argument.

  2. #522
    Join Date
    Apr 2007
    Beans
    46

    Re: HowTo: Encode Video for iPod Video

    Nope

    fxfitz@lappyman:~$ ffmpeg -i "/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi" -f mp4 -vcodec mpeg4 -bufsize 4096 -pass 1 -aspect 4:3 -s 320x240 -acodec ac3 -ab 192 -ar 44100 -comment "Encoded by Vive" "/home/fxfitz/test.mp4" ; exit
    FFmpeg version SVN-r9192, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-pp --enable-pthreads --enable-dc1394 --enable-liba52 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --enable-shared --disable-debug
    libavutil version: 49.4.0
    libavcodec version: 51.40.4
    libavformat version: 51.12.1
    built on Jun 3 2007 18:04:19, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

    Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (23976024/1000000)
    Input #0, avi, from '/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi':
    Duration: 00:42:30.0, start: 0.000000, bitrate: 1147 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 512x384, 23.98 fps(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
    Output #0, mp4, to '/home/fxfitz/test.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, pass 1, 200 kb/s, 23.98 fps(c)
    Stream #0.1: Audio: ac3, 44100 Hz, stereo, 0 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [mpeg4 @ 0xb7e33188]VBV buffer too small for bitrate
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

  3. #523
    Join Date
    Oct 2005
    Location
    Dallas
    Beans
    620
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Encode Video for iPod Video

    Try switching Buffer Size to 0 and Audio Bitrate to 128.

  4. #524
    Join Date
    Apr 2007
    Beans
    46

    Re: HowTo: Encode Video for iPod Video

    Alright...

    output: /home/fxfitz/test.mp4
    preset: iPod/PSP Video
    Keep raw VOB

    VIDEO
    Container Format: mp4
    Video Codec: mpeg4
    MaxBitrate: 1000
    Bitrate 700
    Buffer Size:0
    Number of Passes: 1
    (never changed the right column)

    AUDIO
    Audio Codec: ac3
    Audio Bitrate: 128
    Sampling Frequency: 44100

    OUTPUT:

    fxfitz@lappyman:~$ ffmpeg -i "/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi" -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -pass 1 -aspect 4:3 -s 320x240 -acodec ac3 -ab 128 -ar 44100 -comment "Encoded by Vive" "/home/fxfitz/test.mp4" ; exit
    FFmpeg version SVN-r9192, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-pp --enable-pthreads --enable-dc1394 --enable-liba52 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --enable-shared --disable-debug
    libavutil version: 49.4.0
    libavcodec version: 51.40.4
    libavformat version: 51.12.1
    built on Jun 3 2007 18:04:19, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

    Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (23976024/1000000)
    Input #0, avi, from '/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi':
    Duration: 00:42:30.0, start: 0.000000, bitrate: 1147 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 512x384, 23.98 fps(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
    File '/home/fxfitz/test.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to '/home/fxfitz/test.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, pass 1, 0 kb/s, 23.98 fps(c)
    Stream #0.1: Audio: ac3, 44100 Hz, stereo, 0 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [mpeg4 @ 0xb7d6d188]a vbv buffer size is needed, for encoding with a maximum bitrate
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    exit


    Same thing.

  5. #525
    Join Date
    Oct 2005
    Location
    Dallas
    Beans
    620
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Encode Video for iPod Video

    You didn't set maxrate and bitrate to 0, as well

    Here's what the issue is: That version of Vive was made w/ the older ffmpeg which dealt with rates as kb/s. Now, it deals with them as b/s, so it is now giving you underflow errors.

  6. #526
    Join Date
    Apr 2007
    Beans
    46

    Re: HowTo: Encode Video for iPod Video

    Woops. I'm sorry, I set those to 0 on another test. Here is the output when ALL of them have been set to 0.

    fxfitz@lappyman:~$ ffmpeg -i "/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi" -f mp4 -vcodec mpeg4 -pass 1 -aspect 4:3 -s 320x240 -acodec ac3 -ab 128 -ar 44100 -comment "Encoded by Vive" "/home/fxfitz/test.mp4" ; exit
    FFmpeg version SVN-r9192, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-pp --enable-pthreads --enable-dc1394 --enable-liba52 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --enable-shared --disable-debug
    libavutil version: 49.4.0
    libavcodec version: 51.40.4
    libavformat version: 51.12.1
    built on Jun 3 2007 18:04:19, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

    Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (23976024/1000000)
    Input #0, avi, from '/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi':
    Duration: 00:42:30.0, start: 0.000000, bitrate: 1147 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 512x384, 23.98 fps(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
    File '/home/fxfitz/test.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to '/home/fxfitz/test.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, pass 1, 200 kb/s, 23.98 fps(c)
    Stream #0.1: Audio: ac3, 44100 Hz, stereo, 0 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [mpeg4 @ 0xb7dde188]removing common factors from framerate
    [mpeg4 @ 0xb7dde188]timebase not supported by mpeg 4 standard
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    exit

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

    Re: HowTo: Encode Video for iPod Video

    Now that's and new one!

    It appears that it's a bit of a problem w/ a yuv as an input. Cut and paste this command into your terminal:

    Code:
    ffmpeg -i "/home/fxfitz/multimedia/videos/psych/Psych.S01E15.DSR.XviD-ORENJi.avi" -f mp4 -vcodec mpeg4 -b 700k -aspect 4:3 -r 23.98 -s 320x240 -acodec aac -ar 48000 -comment "Encoded by Vive" "/home/fxfitz/test.mp4"

  8. #528
    Join Date
    Apr 2007
    Beans
    46

    Re: HowTo: Encode Video for iPod Video

    Unknown codec: aac.

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

    Re: HowTo: Encode Video for iPod Video

    Quote Originally Posted by FXFman1209 View Post
    Unknown codec: aac.
    My fault...habit made me type aac instead of ac3...sorry!

    P.S.-This for an iPod? If so, use mp3, not ac3.

  10. #530
    Join Date
    Apr 2007
    Beans
    46

    Re: HowTo: Encode Video for iPod Video

    Awesome! It's encoding!

    Alright, so, how would I get this to work all the time with Vive? Or do I have to command line it all the time?

    PS. And what exactly was the problem?? yuv??

Page 53 of 72 FirstFirst ... 343515253545563 ... 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
  •