Your Digital Media Has Never Looked So Good

 
lylyahiko
Topic Author
Posts: 10
Joined: Tue Oct 30, 2018 9:57 am

Trickplay and BIF Files

Wed Feb 27, 2019 6:55 am

https://blog.roku.com/developer/channel ... s-oct-2018
if I'm unable to generate BIF files can I just disable my trickplay progress bar and still pass certification?
 
lylyahiko
Topic Author
Posts: 10
Joined: Tue Oct 30, 2018 9:57 am

Re: Trickplay and BIF Files

Tue Mar 05, 2019 2:29 pm

For anyone searching in the future. I got word back from Partner Success it is mandatory to have a trickplay bar for your VOD content.
 
norcaljohnny
Posts: 99
Joined: Thu Apr 13, 2017 11:00 pm

Re: Trickplay and BIF Files

Thu Mar 07, 2019 7:14 pm

Thats weird because most channels do not have it. I had non hls channels that passed without it. Just watched Death Wish on PopcornFLix and none of theirs had it.
 
lylyahiko
Topic Author
Posts: 10
Joined: Tue Oct 30, 2018 9:57 am

Re: Trickplay and BIF Files

Fri Mar 08, 2019 7:23 am

I imagine it all depends on when the app was posted. I know sometime at the end of march Bif files will be mandatory. Any apps published before that date won't require it obviously.
 
norcaljohnny
Posts: 99
Joined: Thu Apr 13, 2017 11:00 pm

Re: Trickplay and BIF Files

Fri Mar 08, 2019 4:48 pm

lylyahiko wrote:
I imagine it all depends on when the app was posted. I know sometime at the end of march Bif files will be mandatory. Any apps published before that date won't require it obviously.

Interesting, that is going to create a lot of work for developers as the creating of bif files is a slow process. I can not imagine the amount of time if one has over 100 files let alone thousands of files.
Thanks for the heads up.
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: Trickplay and BIF Files

Fri Mar 08, 2019 10:18 pm

It only takes about 5 seconds to make a bif file with a modern pc. - it can be entirely automated.  Most of the time above 5 seconds required would be downloading the source video to extract the frame images if you don't have a local copy.
 
norcaljohnny
Posts: 99
Joined: Thu Apr 13, 2017 11:00 pm

Re: Trickplay and BIF Files

Fri Mar 08, 2019 10:23 pm

destruk wrote:
It only takes about 5 seconds to make a bif file with a modern pc. - it can be entirely automated.  Most of the time above 5 seconds required would be downloading the source video to extract the frame images if you don't have a local copy.

WOW then Im doing something wrong. maybe amount of frames. Are you on a pc? Its weird because when i create thumbs using a third party app , youre right it is super fast but with the bif tool on a mac it was taking minutes per each video :/
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: Trickplay and BIF Files

Fri Mar 08, 2019 10:51 pm

I had submitted an entire package for windows to Roku about a year and a half ago to make available for users.  I just don't have the hosting space for it. The short solution is to download VirtualDub, use the resize filter to get your SD images at 240x180, change the framerate to 'decimate by 240' for 23.97 fps video, or 10 * the framerate, select File/Export Image Sequence - for a 2-hour movie on a current powerful pc that shouldn't take more than 5-10 seconds, and then the biftool.exe file can combine all the images in a folder in less than a second into a valid bif file. Or you can custom-compile ffmpeg to do it as well, but it's more complicated to get the codecs you want for inclusion. If you are going the virtualdub method there is a plugin available to add mp4 support, which you will need, just be sure to grab the older version as it is 2-3 times faster than the current one. FFInputDriver_64 - dated 5/26/2014 seems to work fastest for me. Virtualdub also has scripting support to automate from command line.
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: Trickplay and BIF Files

Fri Mar 08, 2019 10:56 pm

You're only making maybe 500 or 600 images with 10-second intervals, so it shouldn't be taking minutes unless you are trying to encode the source file again at the same time?  I don't know why it's so slow there for you.
 
renojim
** Valued Community Member **
Posts: 3491
Joined: Mon Feb 15, 2010 1:35 pm

Re: Trickplay and BIF Files

Sat Mar 09, 2019 1:45 pm

Hmm... I'm with norcaljohnny. I've only used ffmpeg to extract the images and it will take several minutes for a 2 hr. movie on a quad-core i7. VirtualDub must be an order of magnitude faster and then some.

-JT
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: Trickplay and BIF Files

Sat Mar 09, 2019 4:29 pm

It's been a long time since I ran benchmarking on this old computer, anyway, on my outdated i7-4770K at 3.5 Ghz from 2013, it took me 32 seconds here.  Generally we use cloud services to do this stuff now and it's faster, but if your existing process is taking you minutes to do it then this will really help save you time in the future.
I don't know how long these files will be available so you will want to grab them now rather than later - for windows 64bit only..

https://www.ultraflix.com/Bif_File_Tool_BDS_v2.zip

READ THE README.TXT FILE

https://www.ultraflix.com/Bif_Creation.mp4
-- 32 seconds for a 20,000 leagues under the sea, 2:06:55, 320 x 240 HD Bif file, making 760 jpgs, combining into a bif file of 3.7 MB in size
 
renojim
** Valued Community Member **
Posts: 3491
Joined: Mon Feb 15, 2010 1:35 pm

Re: Trickplay and BIF Files

Sat Mar 09, 2019 10:49 pm

Thanks! Downloaded. I'll give it a try when I get a chance. I really only create BIFs for my own use and decided long ago that I really don't see the value, but that may be because they took so much effort/time to create. If they're easy enough and fast enough to create I may start using them for my WTV recordings (repackaged into MKVs) to more easily get past the commercials.

-JT
 
islanddreamer
Posts: 37
Joined: Fri Aug 13, 2010 6:05 am

Re: Trickplay and BIF Files

Sun Mar 17, 2019 8:48 pm

@destruk, I tried following your readme file, but I'm doing something wrong. The script runs completely and seems to work, but the BIF files end up 1KB and are empty. I didn't have a problem generating the BIF manually following the notes in one of the comments above. Any idea what I may need to change in the makebif.bat?
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: Trickplay and BIF Files

Mon Mar 18, 2019 7:07 am

Remove spaces from your filename or add quotes around the filename.  a 1KB bif file means the header is there but no images.
 
Pongalo
Posts: 5
Joined: Sun Mar 17, 2019 4:32 pm

Re: Trickplay and BIF Files

Mon Mar 18, 2019 1:55 pm

@destruk, that didn't work.

I think the error is in this script line: VirtualDub.Open(VirtualDub.params[0],"",0);

Here's the error the CLI reports: Error during script execution at line 1, column 37: string is not an integer number

    fre=Sylia.Atoi(VirtualDub.params[2])<!>*10;

Who is online

Users browsing this forum: No registered users and 5 guests