FXFMan: Make bitrate and maxrate both 0.
Metallinut: Take out the -bufsize 4096 argument.
FXFMan: Make bitrate and maxrate both 0.
Metallinut: Take out the -bufsize 4096 argument.
Need help? Look here first: Ubuntu Forums Search | Ubuntu Wiki | Ubuntu Document Storage Facility
My HowTos: Video for the iPod Video | Connect to a Microsoft PPTP VPN
| Vive - Vive Is Video Encoding |
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
Try switching Buffer Size to 0 and Audio Bitrate to 128.
Need help? Look here first: Ubuntu Forums Search | Ubuntu Wiki | Ubuntu Document Storage Facility
My HowTos: Video for the iPod Video | Connect to a Microsoft PPTP VPN
| Vive - Vive Is Video Encoding |
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.
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.
Need help? Look here first: Ubuntu Forums Search | Ubuntu Wiki | Ubuntu Document Storage Facility
My HowTos: Video for the iPod Video | Connect to a Microsoft PPTP VPN
| Vive - Vive Is Video Encoding |
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
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"
Need help? Look here first: Ubuntu Forums Search | Ubuntu Wiki | Ubuntu Document Storage Facility
My HowTos: Video for the iPod Video | Connect to a Microsoft PPTP VPN
| Vive - Vive Is Video Encoding |
Unknown codec: aac.
Need help? Look here first: Ubuntu Forums Search | Ubuntu Wiki | Ubuntu Document Storage Facility
My HowTos: Video for the iPod Video | Connect to a Microsoft PPTP VPN
| Vive - Vive Is Video Encoding |
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??
Bookmarks