Loading video, this may take a bit, please wait...

Loading playlist sidebar, this may take a bit, please wait...

Big Buck Bunny HLS test

Big Buck Bunny in HLS

I used this command to create the files from the 1080p .mov file after trimming it down in LosslessCut:

ffmpeg -i "./big_buck_bunny_1080p_h264-11seconds.mov" -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -c:v libx264 -crf 22 -c:a aac -ar 44100  -filter:v:0 scale=w=640:h=360  -maxrate:v:0 300k -b:a:0 100k  -filter:v:1 scale=w=854:h=480  -maxrate:v:1 600k -b:a:1 200k  -filter:v:2 scale=w=1280:h=720 -maxrate:v:2 1500k -b:a:2 500k  -filter:v:3 scale=w=1920:h=1080 -maxrate:v:3 3500k -b:a:3 1000k  -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:480p v:2,a:2,name:720p v:3,a:3,name:1080p"  -preset fast -hls_list_size 10 -threads 0 -f hls  -hls_time 3 -hls_flags single_file -hls_playlist_type vod -hls_segment_type fmp4  -master_pl_name "livestream.m3u8" "livestream-%v.m3u8"

This command is a combination of these SO answers:

Note that I had to add a fourth copy of -map 0:v:0 -map 0:a:0 for the 1080p version. Using this command to transcode videos will require modification for each video according to resolution, aspect ratio, and frame rate.

For some reason, seeking the video a lot gives this in the Jekyll logs but I think it's fine:

[2026-09-05 02:50:38] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:6 
        /home/pneuma/.local/share/gem/ruby/3.4.0/gems/webrick-1.9.2/lib/webrick/httpserver.rb:82:in 'IO#eof?'
        /home/pneuma/.local/share/gem/ruby/3.4.0/gems/webrick-1.9.2/lib/webrick/httpserver.rb:82:in 'WEBrick::HTTPServer#run'
        /home/pneuma/.local/share/gem/ruby/3.4.0/gems/webrick-1.9.2/lib/webrick/server.rb:309:in 'block in WEBrick::GenericServer#start_thread'
Video details
  • Original publish date: Jun 8, 2016
  • License: CC-BY 3.0
  • Category: films
  • Tags: bunny, animals
  • Privacy: public
  • Thumbnail alt text: A large, rotund, white rabbit standing in a field on a hill with green grass smiling happily at a pink butterfly on the left side of the screen with a tree in the background on the right and more hills way behind everything. It appears to be during the evening.
  • Length: 0:11
Downloads

Video files:

Captions:

Expand for comments

Comments disabled on this website.