ifzhang / FairMOT

[IJCV-2021] FairMOT: On the Fairness of Detection and Re-Identification in Multi-Object Tracking
MIT License
4.02k stars 932 forks source link

Why the result video is 1920*1080? #66

Closed texamc2 closed 4 years ago

texamc2 commented 4 years ago

ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv - -enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp - -enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt

libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, image2, from 'E:/result/t10\frame/%05d.jpg': Duration: 00:00:35.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc Please use -b:a or -b:v, -b is ambiguous Stream mapping: Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native)) Press [q] to stop, [?] for help [swscaler @ 000002760db11100] deprecated pixel format used, make sure you did set range correctly *The frame of result also is 19201080** Thank you if you can help me.

ifzhang commented 4 years ago

I set it here: https://github.com/ifzhang/FairMOT/blob/81d8bb720e4115e2a8d2e8126007eb18d3354679/src/lib/datasets/dataset/jde.py#L97 You can change it here. But sometimes I use other resolutions and the mp4 file cannot be played. So I set 1920 * 1080.

texamc2 commented 4 years ago

I set it here: https://github.com/ifzhang/FairMOT/blob/81d8bb720e4115e2a8d2e8126007eb18d3354679/src/lib/datasets/dataset/jde.py#L97

You can change it here. But sometimes I use other resolutions and the mp4 file cannot be played. So I set 1920 * 1080.

Thank you very much!

typhoonlee commented 4 years ago

Did you solve this problem? I also encountered this problem