Hi all,
I'm busy to create a script to create real DMD videos for FX3 (so I can use it in PinballX)
With DMDext I can show the DMD from memory.
With FFMpeg I can capture the output to MKV file. (command : FFMpeg -y -t 140 -rtbufsize 1500M -f gdigrab -framerate 30 -offset_x 0 -offset_y 0 -video_size 512x128 -i desktop -vcodec libx264 -preset ultrafast -qp 0 -threads 8 dmd.MKV)
So I have the video now in 512x128. This is 4 times the ectual size, to keep the video nice)
But when I convert it with FFmpeg to MP4, it won't show anything on screen. (command : ffmpeg -y -i dmd.mkv -ss 50.5 -to 130.5 -vf [in]scale=512:-1[middle1];[middle1]crop=w=128:h=32:x=0:y=0[middle2];[middle2]vflip[out] -c:v libx264 -crf 26 output.mp4)
Converting the MKV with handbrakecli.exe, will crop it to big, so looks like it is zoomed. (command : HandbrakeCLI -i dmd.mkv -o output.Mp4 -e x264 -q 100.0 -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,none -R Auto,Auto -D 2.5,0.0 --audio-copy-mask aac,ac3,dtshd,dts,mp3 --audio-fallback ffac3 -f mp4 --decomb --loose-anamorphic --modulus 2 -m --x264-preset medium --h264-profile high --h264-level 4.1 )
As you can see, I'm not familiar with both programs. So what would be the best way to capture a real DMD video and convert it soPinballX can play it ?