[MEncoder-users] MPlayer parsing of m2ts files
James Hastings-Trew
jimht at shaw.ca
Sun Jun 15 02:54:17 CEST 2008
Nobody responded to my question about the difference between Mplayer
(and Mencoder) parsing .m2ts files directly, and parsing them through an
AviSynth script. I did post a sample file to show the difference in the
way the video is decoded:
> Ok, took a while to pull this together but here is a sample that
> demonstrates the issue:
>
> ftp://tools:gettools@planets.shacknet.nu/sample.zip
However, I have a more basic question - if I simply do an identify on
the file, each method returns a different result for the size of the
video frame. Mplayer reports (incorrectly) that the video frame is
1920x1080. Going through AviSynth, the frame size is reported correctly
at 1920x1088. Any ideas why this would be? BTW, If I use -frames 0
mplayer reports no size at all for the .m2ts file.
mplayer -identify -frames 20 -nosound 0011.m2ts
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Audio: no sound
Starting playback...
ID_AUDIO_ID=4354
ID_AUDIO_ID=4355
ID_AUDIO_ID=4356
[h264 @ 0pee0340]brainfart cropping not supported, this could look
slightly wrong ...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [directx] 1920x1080 => 1920x1080 Planar YV12
avs file:
DirectShowSource("00011.m2ts",fps=23.976,audio=false)
mplayer -identify -frames 20 -nosound 00011.avs
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1920 x 1088 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 1920x1088 => 1920x1088 Planar YV12
[ASPECT] Warning: No suitable new res found!
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
ID_VIDEO_CODEC=rawyv12
Audio: no sound
Starting playback...
More information about the MEncoder-users
mailing list