Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Unable to reproduce videos #12

Open
tediroca opened this issue Dec 19, 2016 · 0 comments
Open

Unable to reproduce videos #12

tediroca opened this issue Dec 19, 2016 · 0 comments

Comments

@tediroca
Copy link

tediroca commented Dec 19, 2016

I'm on Windows 10. I've tried to reproduce them with several video players but all of them failed:

  • QuickTime: Error -2048: Couldn't open the file protractor-specs.mov because it is not a file that QuickTime understands.
  • VLC: The video never starts being played.
  • Windows Media Player: The video starts with black background on it (nothing else displayed) and a weird noise.

I've tried to generate a MPEG4 file instead, by using the argument below but the output file is still a MOV:

jasmine.getEnv().addReporter(new VideoReporter({
            baseDirectory: Path.join(__dirname, 'reports/videos/'),
            ffmpegArgs: ['-vcodec', 'mpeg4']
        }));

If I set the the videos to be saved in different files, then I can reproduce them without any problem:

jasmine.getEnv().addReporter(new VideoReporter({
            baseDirectory: Path.join(__dirname, 'reports/videos/'),
            singleVideo: false
        }));

I'm using XVFB and the DISPLAY variable is exported before running protractor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant