[FFmpeg-trac] #681(avfilter:open): -vf mp=pullup is not working
FFmpeg
trac at avcodec.org
Fri Nov 25 14:51:59 CET 2011
#681: -vf mp=pullup is not working
------------------------------------+------------------------------------
Reporter: dericed | Owner:
Type: defect | Status: open
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: mp pullup | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* keywords: => mp pullup
* status: new => open
* version: unspecified => git-master
* component: undetermined => avfilter
* reproduced: 0 => 1
Comment:
Sample:
http://samples.mplayerhq.hu/MPEG-
VOB/inverse_telecine_problem/vts_01_1.1st_50M.vob
MEncoder command line:
{{{
mencoder vts_01_1.1st_50M.vob -ovc lavc -oac faac -vf
pullup=4:4:20:20:-1:0 -ofps 24000/1001 -ss 75 -endpos 10 -nosub -o out.avi
}}}
(Intentionally missing softskip which is required for a cleaner result)
FFmpeg / mp=pullup skips nearly all frames:
{{{
$ ffmpeg -ss 65 -i vts_01_1.1st_50M.vob -qscale 2 -vf
mp=pullup=4:4:20:20:-1:0 -t 20 -r 24001/1001 out.avi
ffmpeg version N-35159-g65f2485, Copyright (c) 2000-2011 the FFmpeg
developers
built on Nov 25 2011 14:39:13 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --disable-
everything --enable-protocol=file --enable-demuxer='mpegps,mpegvideo'
--enable-decoder='ac3,mpeg2video,rawvideo' --enable-encoder='mpeg4,ac3'
--enable-muxer=avi --enable-filter='mp,buffersink' --enable-
parser='mpegaudio,mpegvideo'
libavutil 51. 29. 0 / 51. 29. 0
libavcodec 53. 37. 0 / 53. 37. 0
libavformat 53. 21. 0 / 53. 21. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 49. 0 / 2. 49. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x9007a0] max_analyze_duration 5000000 reached at 5004667
Seems stream 0 codec frame rate differs from container frame rate: 59.94
(60000/1001) -> 59.94 (60000/1001)
Input #0, mpeg, from 'vts_01_1.1st_50M.vob':
Duration: 00:01:32.65, start: 0.196500, bitrate: 4526 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR
32:27 DAR 16:9], 9800 kb/s, 23.98 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:2[0x81]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
Stream #0:3[0x82]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
[buffer @ 0x907340] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27
sws_param:
[mp @ 0xb04a40] 'pullup' is a wrapped MPlayer filter (libmpcodecs). This
filter may be removed
once it has been ported to a native libavfilter.
Incompatible sample format 's16' for codec 'ac3', auto-selecting format
'flt'
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf53.21.0
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR
32:27 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
Stream #0:2 -> #0:1 (ac3 -> ac3)
Press [q] to stop, [?] for help
[ac3 @ 0x9940a0] frame sync error
Error while decoding stream #0:2
[buffer @ 0x907340] request_frame() called with no available frame!
Last message repeated 1 times
[mpeg @ 0x9007a0] parser not found for codec dvd_subtitle, packets or
times may be invalid.
affinity: +0.+1..2+.3.
breaks: .0..1..2..3.
duration: 1
affinity: +0..1++2..3+
breaks: .0..1..2..3.
duration: 1
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
...
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
affinity: .0++1..2+.3.
breaks: .0..1..2..3.
duration: 2
frame= 2 fps= 1 q=2.0 Lsize= 389kB time=00:00:00.08
bitrate=38242.5kbits/s dup=0 drop=472
video:44kB audio:320kB global headers:0kB muxing overhead 6.814036%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/681#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list