mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 12:15:52 +03:00
[GH-ISSUE #43] video file naming #33
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mehrdad-abdoli on GitHub (Nov 4, 2017).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/43
Hi
thanks for your great job and new video recording feautures .
How can i made build and test name so can change the test video file to be appended to test results.
I am using robot framework and python.
I use zalenium for web
@budtmo commented on GitHub (Nov 6, 2017):
Hi @mehrdad-abdoli ,
Thank you, happy to hear that this project helps you. no, I don’t have this feature right now.
@mehrdad-abdoli commented on GitHub (Dec 2, 2017):
I do it myself by :
send PR and name as capabilities in test run
editing src/record.sh:
function start() {
PR="$(curl -s localhost:4723/wd/hub/sessions | jq -r '.value[0].capabilities.PR')"
name="$(curl -s localhost:4723/wd/hub/sessions | jq -r '.value[0].capabilities.name').mp4"
mkdir -p $VIDEO_PATH/$PR
echo "Start video recording"
ffmpeg -video_size 1599x899 -framerate 15 -f x11grab -i $DISPLAY $VIDEO_PATH/$PR/$name -y
}
for record.sh in compose file I added this volume:
@budtmo commented on GitHub (Dec 4, 2017):
Hi @mehrdad-abdoli ,
Could you maybe raise the PR for it? It would be great.
@mehrdad-abdoli commented on GitHub (Dec 11, 2017):
@butomo1989
PR is created : https://github.com/butomo1989/docker-android/pull/51
@eyal919 commented on GitHub (Dec 2, 2018):
Is this ready yet?
It will be nice to do something like:
function start() {
mkdir -p $VIDEO_PATH
name="$(curl -s localhost:4723/wd/hub/sessions | jq -r '.value[0].capabilities.videoName').mp4"
or even the session id:
name="$(curl -s localhost:4723/wd/hub/sessions | jq -r '.value[0].id').mp4"
echo "Start video recording"
ffmpeg -video_size 1599x899 -framerate 15 -f x11grab -i $DISPLAY $VIDEO_PATH/$name -y
}