Opened 8 years ago

Last modified 8 years ago

#1823 new defect

mplayer/mencoder doesn't crop at the left and right sides together with the filter 'expand=original_width:...'

Reported by: sergeevsp43@… Owned by: reimar
Priority: important Component: vf
Version: HEAD Severity: critical
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Hello!

I try to play/encode my home video: PAL 720:576 RAW YV12
MPlayer/Mencoder version is SVN-r32492 and later.

raw-video mediainfo:

General
Complete name : video.avi
Format : AVI
Format/Info? : Audio Video Interleave
Format profile : OpenDML
File size : 27.9 GiB
Duration : 32mn 1s
Overall bit rate : 125 Mbps

Video
ID : 0
Format : YUV
Codec ID : YV12
Codec ID/Info : ATI YVU12 4:2:0 Planar
Duration : 32mn 1s
Bit rate : 124 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 5:4
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bits/(Pixel*Frame) : 11.999
Stream size : 27.8 GiB (100%)

Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Codec ID/Hint : Microsoft
Duration : 32mn 1s
Bit rate mode : Constant
Bit rate : 512 Kbps
Channel(s) : 1 channel
Sampling rate : 32.0 KHz
Bit depth : 16 bits
Stream size : 117 MiB (0%)
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 500 ms

I do for example:

$ mplayer -vf crop=692:560:14:0,expand=720:576 video.avi

and what I see: see attachment.

It happens also if I do 'expand=-28:-16'.

Mencoder does the same.

It happens when i play/encode raw-video and dv-video.

dv-video mediainfo:

General
Complete name : capture2009.12.28_10-05-59.dv
Format : DV
Format_Commercial_IfAny : DVCPRO
File size : 10.4 GiB
Duration : 51mn 45s
Overall bit rate : 28.8 Mbps
Recorded date : 2009-12-28 10:05:59

Video
Format : DV
Format_Commercial_IfAny : DVCPRO
Duration : 51mn 45s
Bit rate mode : Constant
Bit rate : 24.4 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
Standard : PAL
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Bits/(Pixel*Frame) : 2.357
Stream size : 8.84 GiB (85%)
Encoding settings : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus

Audio
ID : 0
Format : PCM
Duration : 51mn 45s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 569 MiB (5%)

But it does not happen if I play/encode with:
expand=722:576
expand=718:576
expand=-30:-16
expand=-26:-16

and also it does not happen if I use MPEG-PS/mpeg2 or MKV/x264 etc.

Attachments (2)

00000001.png (892.3 KB) - added by sergeevsp43@… 8 years ago.
Screenshot
00000001.2.png (692.6 KB) - added by sergeevsp43@… 8 years ago.
Screenshot 'must be'

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by sergeevsp43@…

Screenshot

Changed 8 years ago by sergeevsp43@…

Screenshot 'must be'

comment:1 Changed 8 years ago by sergeevsp43@…

comment:2 Changed 8 years ago by sergeevsp43@…

  • attachments.description changed from Screeshot 'must be' to Screenshot 'must be'

comment:3 Changed 8 years ago by sergeevsp43@…

  • Priority changed from normal to important
Note: See TracTickets for help on using tickets.