yatt-ai / yattie

A tool to help testers test.
GNU General Public License v3.0
69 stars 10 forks source link

bug: Files exported from recorded video capture will not play with the correct file format or codec. #189

Open Justin-P34 opened 3 months ago

Justin-P34 commented 3 months ago

Bug Report

Platform:

Windows

YATTIE version:

Unknown

Current behavior:

WHen you start a quick test, and try to record your screen by hitting the record button, the files created and exported will not play with common media players such as Windows Media player or VLC. I suspect there is an issue with the codec selected as MPEG1 instead of MP4 but I am not sure.

Expected behavior:

When you select the video record option from the menu while testing, and export the file you should be able to save and share it to be played on windows media player or otherwise be shared on other platforms.

Steps to reproduce:

  1. Open the Yattie Application.

  2. Select Quick Test.

  3. Select the window or application to record.

  4. Click on the "Start video record" button.

  5. Click on the "Stop video record" button.

  6. On the summary page add any comments or changes and click "Save."

  7. In the workspace timeline, tick the checkbox for the video recording and select "Export" & then "Save as"

  8. Save the Zip file provided in your desired folder, and then extract it as a .mp4 file.

  9. Play the selected media on the video player of your choice. There will be an error describing that it cannot be played.

Related code:

image

image

image

Other information:

I think double-checking the exported Codecs is a good place to start. I think it's exporting the video codec as MPEG-1 and not as a mp4 file throughout.