[FFmpeg-user] H.264 with pcm_mulaw audio live RTSP streaming
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Jan 18 12:10:48 EET 2018
2018-01-18 11:00 GMT+01:00 George Andguladze <gandguladze at hotmail.com>:
> I have a RTSP stream coming Hikvision DS-7608NI-ST NVR connected to
> several Hikvision cameras with H.264 for video encoding and pcm_mulaw
> raw audio. My goal is to transcode this stream into Theora/Vorbis with
> OGG container for live viewing in browsers, however I am unable to
> correctly encode the raw audio using Vorbis codec due to the limited info I
> have about pcm_mulaw format.
Does playing the rtsp stream with ffplay work?
> FFprobe tells me the following about my stream: https://pastebin.com/15fkGeKG
> Transcoding with:
> "ffmpeg -i rtsp://admin:XXXXXX@213.131.XX.XXX:554/Streaming/channels/101
> -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 1.ogg"
Please test the following (or similar) and provide both command line
and complete, uncut console output:
$ ffmpeg -i rtsp... -qscale 2 out.avi
More information about the ffmpeg-user