[FFmpeg-user] Questions regarding mutli-DRM with ffmpeg

Aameer Rafiq Wani aameer.rafiq at gmail.com
Wed May 24 14:57:22 EEST 2017


Hey guys,

Hope you are doing great. I was facing some issues in one of the projects I
am working on; which involves ffmpeg and bento4. So I wanted your guidance
on few things. Let me walk you through what I have achieved and what my
plan is:

I have a cloud transcoding system which transcodes videos and burns
subtitles on them using ffmpeg.

I have explained this in some details on my post here (
http://aameer.github.io/cloud-computing-101/). In crux what happens is on
this system is explained by the following line of code

ffmpeg  -i $INPUT_VIDEO_FILE -profile:v baseline -level 4.0 -vf
"scale=-2:360,subtitles='dynamic_subtitle_'$VIDEO_ID'.
ass':force_style='FontName=Aaargh/Aaargh.ttf,PrimaryColour=&H664c4c4c"
-start_number 0 -hls_time 10 -hls_list_size 0 -hls_key_info_file
/mnt/s3_temp/$SERVER_NAME/$PROJECT_ID/videos/$VIDEO_ID/file360.keyinfo -f
hls /mnt/s3_temp/$SERVER_NAME/$PROJECT_ID/videos/$VIDEO_ID/$VIDEO_ID"_360_.m3u8"


where I transform an input file (mp4) into hls encrypted adaptive streams.

Now to add to this system I want to add multi-DRM and for this my drm
provider mentioned that this could be accomplished with bento4.

Do you guys have any other open source alternatives which I should keep in
mind?
Moreover if bento4 would do the actual transcoding what purpose will ffmpeg
serve?
Could you guys share any code snippets (if any) related to multi-DRM with
ffmpeg and bento4.

Any relevant material which could help me in this regard would be
appreciated

Thanks,
AAMEER RAFIQ WANI
aameer.github.io <aameer at github.io>


More information about the ffmpeg-user mailing list