[
https://jira.nuxeo.org/browse/DAM-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=71072#action_71072
]
Benjamin Jalon commented on DAM-467:
------------------------------------
This page helps :
http://streaming411.com/wiki/index.php?title=Encoding_prerecorded_video#Hinting
We will use mp4 format for stream video for DAM, so we need first transform
each video to this format. ffmpeg can do that with this command line :
(if aac code is installed inside ffmpeg - to be tested, bitrates are arbitrary
low, we must do some test to adjust that)
ffmpeg -i input.someformat -f mp4 -vcodec mpeg4 -b 64 -r 12 -s qcif -acodec aac
-ac 1 -ar 16000 -ab 16000 output.mp4
To look inside tracks:
mp4creator -list output.mp4
We have in the first track the video and in the second the audio
So we must add hint track for audio and video:
mp4creator -hint=1 output.mp4 => for video
mp4creator -hint=3 output.mp4 => for audio
If you want to see the result:
mp4creator -list output.mp4
FOR UBUNTU
ffmpeg on ubuntu is not installed with the aac code so we must install faac and
add a step to extract audio track an remultiplex it to the output file :
ffmpeg -i input.someformat -vcodec mpeg4 -f rawvideo output.mp4v (contains only
video without container)
ffmpeg -i input.someformat -f wav output.wav
faac output.wav output.aac
mp4creator -create=output.mp4v -rate=12 -optimize -variable-frame-rate
final.mp4 (create a new mp4 container "final.mp4" with only video)
mp4creator -hint=1 final.mp4 (add to this container the video hint track)
mp4creator -create= output.aac -interleave -optimize final.mp4 (add audio
track to the mp4 container)
mp4creator -hint=3 final.mp4 (add to this container the audio hint track)
mp4creator -make-isma-10-compliant final.mp4 (add descriptors)
> Add Darwin Server integration to stream videos in DAM
> -----------------------------------------------------
>
> Key: DAM-467
> URL: https://jira.nuxeo.org/browse/DAM-467
> Project: Nuxeo DAM
> Issue Type: Improvement
> Reporter: Benjamin Jalon
> Assignee: Benjamin Jalon
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets