Video format for repositories ... Need your help

15 views
Skip to first unread message

Haddad, April

unread,
Mar 9, 2017, 2:59:18 PM3/9/17
to eln-arc...@sfu.ca, island...@googlegroups.com

We are starting to prepare some of our videos so we can put them into Arca.

 

We are wondering what format is the best for the repository?  MP4??

 

Also, what software is best to transfer the videos/DVDs to this format?

 

Any other helpful hints?

 

Thanks,

April

 

April Haddad

Institute Librarian

 

Library

Tel: 604.528.5594 | Fax: 604.528.5593 | aha...@jibc.ca

715 McBride Boulevard, New Westminster, BC   V3L 5T4

 

JIBC | Canada's Leading Public Safety Educator | www.jibc.ca/library

 

Mark Jordan

unread,
Mar 9, 2017, 3:09:36 PM3/9/17
to Haddad, April, eln-arc...@sfu.ca, island...@googlegroups.com
Hi April,

We use Handbrake (https://handbrake.fr/) to prepare videos - it's free and runs on any operating system.  An important trick that Handbrakes lets you perform is to "web optimize" the video as it is being ripped. This option moves the video's internal metadata (playing time, etc.) to the beginning of the file so that embedded players can start playing it immediately, instead of after downloading the entire file.

You can't go wrong with MP4 since it plays reliably in popular embedded video players.

Mark

Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Voice: 778.782.5753 / Fax: 778.782.3023 / Skype: mark.jordan50
mjo...@sfu.ca
--
To join the BC Islandora Users Group, send a message to <arcao...@bceln.ca>.
---
You received this message because you are subscribed to the Google Groups "BC Islandora User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora-bc...@googlegroups.com.
To post to this group, send email to island...@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora-bc.
To view this discussion on the web, visit https://groups.google.com/d/msgid/islandora-bc/dcc2db91314b407d8a4d77cf0d1b2c09%40VP-EXCH1301.JIBCNET.CA.
For more options, visit https://groups.google.com/d/optout.

Brandon Weigel

unread,
Mar 9, 2017, 4:11:31 PM3/9/17
to Mark Jordan, island...@googlegroups.com
Thanks for replying to that, Mark. I will note that we’ve been having some trouble with MP4 in Firefox — JW Player fails to play the mp4 datastream in Firefox, but works fine in other browsers. I know there are some issues with Firefox and mp4 in general, but is there a known solution to this?

Brandon Weigel
Coordinator
BC Electronic Library Network
Phone: 778.782.5419
Email: bran...@bceln.ca
Web: https://bceln.ca

Mark Jordan

unread,
Mar 9, 2017, 4:13:58 PM3/9/17
to Brandon Weigel, island...@googlegroups.com
If you can share some links to problematic objects, I'd be happy to give them a try. Offlist if you prefer.

Mark

Alex

unread,
Mar 9, 2017, 4:15:31 PM3/9/17
to Mark Jordan, Brandon Weigel, island...@googlegroups.com
Afaik, JWplayer is being deprecated in favour of videoJS... might be worth making the switch and seeing if you still have the issue if there's nothing keeping you on JWplayer.

Are all of the MP4 files you're having with encoded the same way, and all using h264 for the video stream? I don't think h264 is enforced across all MP4 containers, and the video codec is technically more important than the container...

-alex

Brandon Weigel

unread,
Mar 9, 2017, 4:27:51 PM3/9/17
to Alex, Mark Jordan, island...@googlegroups.com
Thanks, Alex.. We might look at videoJS. What we have here (and I can’t link to it; it’s on kora.kpu.ca and behind XACML) is an AVI file, which Islandora processes and creates an mp4 datastream to play in browser. I’ve tried downloading the original AVI and ingest into Vagrant, and got the same result: no play in Firefox. So maybe there’s a problem with the codec for the video Cmodel?

Brandon Weigel
Coordinator
BC Electronic Library Network
Phone: 778.782.5419
Email: bran...@bceln.ca
Web: https://bceln.ca

Alex

unread,
Mar 9, 2017, 4:33:57 PM3/9/17
to Brandon Weigel, Mark Jordan, island...@googlegroups.com
Hmmmm. The ffmpeg command used by the video solution pack upstream looks fine to me:

$command = "$ffmpeg_executable -i $archival_path -f mp4 -vcodec libx264 -preset medium -acodec $audio_codec -strict -2 -ab 128k -ac 2 -async 1 -movflags faststart $out_file";

Unless you somehow have a version of ffmpeg on that server that was compiled without libx264, but in that case it wouldn't be playing anywhere, not just Firefox, right? Unless ffmpeg is configured to fall back to a different encoder in non-libx264 builds when that option is passed to it, and Firefox's implementation of OpenH264 is picky about the fallback codec, whereas Chrome's full ffmpeg implementation can still render whatever you throw at it.

If you run $ ffmpeg on that server, do you see --enable-libx264 on list of supported codecs? If so, I'd recommend just switching to videoJS...

-alex

Brandon Weigel

unread,
Mar 15, 2017, 5:28:18 PM3/15/17
to BC Islandora User Group
I haven't had a chance to try Alex's suggestions, but I did notice that if you ingest an mp4, the smaller mp4 derivative that it generates plays just fine on Firefox. So there is something about the conversion from AVI to mp4 that's causing the problem.

Perhaps it is a codec thing. I'll try Alex's commands when I get a chance.
Reply all
Reply to author
Forward
0 new messages