Skip to content

Recording on Windows not able to play #375

@mobilevvdn

Description

@mobilevvdn

Describe the bug
I am using this player for streaming RTSP video its working good but now i want to record the video but not able to play in any player. I am able to create the recorded video file in mp4 formate but not able to play. Can you help me on this ?
If you want any missing code do let me know

Minimal reproducible code

void startRecording() async {
  try {
    final fileName = "recording_${DateTime.now().millisecondsSinceEpoch}.mp4";
    final directory = Directory("C:\\Users\\vvsa\\Pictures\\Screenshots");
    final file = File('${directory.path}\\$fileName');
    record = Record.create(id: 0, media: Media.network('Url of the video'), savingFile: file);
    record.start();
  } catch (e) {
    print('Error starting recording: $e');
  }
}

Operating system:

  • Windows1 1.

Note: Its encoding issue while i am searching on the internet but how to do proper encoding?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions