Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the thumbnails bigger #37

Open
hlechner opened this issue Feb 22, 2016 · 1 comment
Open

Make the thumbnails bigger #37

hlechner opened this issue Feb 22, 2016 · 1 comment

Comments

@hlechner
Copy link
Owner

Actual size: SQCIF(128 × 96 [4:3])

example of how to generate a 320x180 thumbnail with ffmpeg command line in linux:

ffmpeg -i file.wmv -f image2 -vframes 1 -aspect 16:9 -filter:vf scale="'if(gt(a,16/9),320,-1)':'if(gt(a,16/9),-1,180)', pad=w=320:h=180:x=(ow-iw)/2:y=(oh-ih)/2:color=black" -ss 15 output10.jpg

Wwidd file:

  • server/src/tools/ffmpeg.js

16:9:

  • 320x180
  • 300x169
  • 252x142
  • 200x113

Thumbnail size references:

  • Youtube: 196x110
  • Vimeo: 301x169
  • Dailymotion: 300x169
  • Yahoo Videos: 300X168

Adult:

  • PornHub: 258x145
  • RedTube: 224x126
  • Xvideos: 253x190
@hlechner
Copy link
Owner Author

However it needs to be adjusted on wwidd/NDVM client side (CSS) too.

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

No branches or pull requests

1 participant