• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yihui / knitr / 1221
53%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2018 08:05PM UTC
Jobs 1
Files 37
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1221

push

travis-ci

yihui
Add flags to ffmpeg mp4 hook for Safari support (#1586)

With the current ffmpeg mp4 converter setup in knitr in-line
animation, I was not able to have my animations show up in
Safari. After adding the flags in this commit, it worked.

https://apple.stackexchange.com/questions/166553/why-wont-video-from-ffmpeg-show-in-quicktime-imovie-or-quick-preview

I found the Safari viewability to be sensitive to exactly where
the flags were placed. For instance, running

ffmpeg -y -r 1 -pix_fmt yuv420p -i foo-%d.png foo.mp4

did not work, otherwise I would consider aliasing my ffmpeg
command. It turned out to be necessary to include the -i flag
first, as so:

ffmpeg -y -r 1 -i foo-%d.png -pix_fmt yuv420p foo.mp4

1987 of 3801 relevant lines covered (52.28%)

78.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1221.1 (TARGET=travis) 07 Aug 2018 08:05PM UTC 0
52.28
Travis Job 1221.1
Source Files on build 1221
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1221
  • f0f9f074 on github
  • Prev Build on master (#1217)
  • Next Build on master (#1222)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc