Opened 13 years ago
Closed 13 years ago
#376 closed defect (invalid)
Problem with converting from avi to avi
| Reported by: | alexxz | Owned by: | Michael Niedermayer |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
I was converting series when get a problem. 1 avi from 20 files do not want to be converted. I get empty file on output.
I do not really know what is wrong or what should I do
alexxz@kkkkkkkkk:~/work/temp$ /server/ffmpeg/bin/ffmpeg -y -v 9 -loglevel 99 -i example.avi -s 400x240 -vcodec mpeg4 -b 500k -ab 128000 -ar 24000 -acodec libmp3lame -ac 2 out.avi
ffmpeg version N-31716-g318fd9d, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 1 2011 15:54:15 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaac --enable-libmp3lame --enable-libxvid --prefix=/server/ffmpeg
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 9. 0 / 53. 9. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 27. 5 / 2. 27. 5
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[avi @ 0x9232380] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x92328a0] use odml:1
[mpeg4 @ 0x92341e0] Invalid and inefficient vfw-avi packed B frames detected
[avi @ 0x9232380] All info found
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (8000000/333649)
Input #0, avi, from 'example.avi':
Duration: 00:23:40.46, start: 0.000000, bitrate: 1077 kb/s
Stream #0.0, 1, 333649/8000000: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 911/21845, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1, 19, 1/15963: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 0x9234160] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[scale @ 0x924efa0] w:640 h:480 fmt:yuv420p -> w:400 h:240 fmt:yuv420p flags:0x4
[mpeg4 @ 0x9233cc0] timebase 333649/8000000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
Output #0, avi, to 'out.avi':
Stream #0.0, 0, 1/90000: Video: mpeg4, yuv420p, 400x240 [SAR 1:1 DAR 5:3], 333649/8000000, q=2-31, 500 kb/s, 90k tbn, 23.98 tbc
Stream #0.1, 0, 1/90000: Audio: libmp3lame, 24000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Also I think line "Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (8000000/333649)" is very fun.
Change History (3)
follow-up: 2 comment:1 by , 13 years ago
| Component: | FFmpeg → undetermined |
|---|
comment:2 by , 13 years ago
Replying to cehoyos:
[mpeg4 @ 0x9233cc0] timebase 333649/8000000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
Did you try ffmpeg -i example.avi -s 400x240 -vcodec mpeg4 -b 500k -r 65535/2733 out.avi ?
Thank you, it helps me! Sorry for bothering you!
comment:3 by , 13 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |



Did you try ffmpeg -i example.avi -s 400x240 -vcodec mpeg4 -b 500k -r 65535/2733 out.avi ?