Hello,
I have an .sdp file in which I have this :
c=IN IP4 10.1.1.1
m=video 5600 RTP/AVP 96
a=rtpmap:96 H264/90000
t=0 0
I can it run it using vlc and record also
My issue is: from my rpi, I would like to restream directly to an rtmp server.
When I use this cmd :
vlc -vvv /home/pi/s.sdp --sout '#std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://46.101.213.85:1935/live/superapp}'
I have this :
<<
8752537)
[7292a7a8] avformat mux error: could not write frame (pts: 8752587144, dts: 8752587144) (pkt pts: 8752587, dts: 8752587)
[7292a7a8] avformat mux error: could not write frame (pts: 8752620566, dts: 8752620566) (pkt pts: 8752620, dts: 8752620)
[7292a7a8] avformat mux error: could not write frame (pts: 8752670566, dts: 8752670566) (pkt pts: 8752670, dts: 8752670)
[7292a7a8] avformat mux error: could not write frame (pts: 8752705299, dts: 8752705299) (pkt pts: 8752705, dts: 8752705)
[7292a7a8] avformat mux error: could not write frame (pts: 8752754165, dts: 8752754165) (pkt pts: 8752754, dts: 8752754)
[7292a7a8] avformat mux error: could not write frame (pts: 8752787398, dts: 8752787398) (pkt pts: 8752787, dts: 8752787)
[7292a7a8] avformat mux error: could not write frame (pts: 8752837486, dts: 8752837486) (pkt pts: 8752837, dts: 8752837)
[7292a7a8] avformat mux error: could not write frame (pts: 8752870786, dts: 8752870786) (pkt pts: 8752870, dts: 8752870)
[7292a7a8] avformat mux error: could not write frame (pts: 8752921497, dts: 8752921497) (pkt pts: 8752921, dts: 8752921)
[7292a7a8] avformat mux error: could not write frame (pts: 8752954197, dts: 8752954197) (pkt pts: 8752954, dts: 8752954)
[7292a7a8] avformat mux error: could not write frame (pts: 8753004241, dts: 8753004241) (pkt pts: 8753004, dts: 8753004)
[7292a7a8] avformat mux error: could not write frame (pts: 8753037607, dts: 8753037607) (pkt pts: 8753037, dts: 8753037)
>>
but when I change to a .mp4 file it's work perfectly.
I tried to record and use this file to stream to the server using the same command but it doesn't work, I got no error and no picture. But when I convert it, I did the same and I got picture.
So, I am sure that I should transcode before streaming but I could find what I should add.
Here some information about the Codec:
H264-MPEG-4 AVC (part 10) (h264)
resolution 1248x738.
Could someone help me please ???