R
R
ravend72014-12-09 17:34:55
fmpeg
ravend7, 2014-12-09 17:34:55

How to set codec for video output via MPEG-DASH?

Hey All!
I'm trying to set up a webcast via MPEG-DASH according to this article:
habrahabr.ru/post/204666
I take the video from the camera like this:

avconv -f video4linux2 -i /dev/video0 -c:v libx264 -profile:v baseline -c:a libfaac -ar 44100 -ac 2 -f flv rtmp://localhost:1935/myapp/mystream

the manifest file and stream slice files are created,
but when trying to display them, Chrome (Chronimum 38) gives an error:
Codec (video/mp4;codecs="avc1.42c01e") is not supported

and the video is not displayed
the question is how to correctly set the codec to display the video?
Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question