But VLC application shows this files fine.
I tried vlc versions 2.2.1, 2.2.2, 2.2.5.1 with the same effect.
Here is my simple code:
Code: Select all
int main(int argc, const char* argv[])
{
const char *params[] = {
"--ignore-config"
,"--verbose=2"
,"--file-logging"
,"--logfile=c:\\vlc-simple.log"
};
libvlc_instance_t* inst = libvlc_new(sizeof(params) / sizeof(params[0]), params);
libvlc_media_player_t* player = libvlc_media_player_new(inst);
libvlc_media_t *media = libvlc_media_new_path(inst, argv[1]);
libvlc_media_player_set_media(player, media);
//libvlc_video_set_deinterlace(player, "mean");
libvlc_media_release(media);
libvlc_media_player_play(player);
getchar();
libvlc_media_player_stop(player);
libvlc_media_player_release(player);
libvlc_release(inst);
return 0;
}
Code: Select all
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec warning: threaded frame decoding is not compatible with DXVA2, disabled
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using slice thread mode with 4 threads
Code: Select all
[h264 @ 09c71280] Slice overlaps with next at 120
vlc.exe --ignore-config --verbose=2 --file-logging --logfile=c:\\vlc-2.2.5.1.log "file.mxf"
Code: Select all
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
Code: Select all
Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:2:2@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=3, N=12
Format settings, wrapping mode : Frame
Codec ID : 0D01030102106001-0401020201316001
Duration : 1 h 32 min
Bit rate mode : Variable
Bit rate : 50.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.965
Stream size : 32.4 GiB (96%)
Transfer characteristics : BT.709
Thanks in advance for any help.