Ich versuche, ein Video zu rtmp Server via ffmpeg zu streamen. Das ist was ich benutze.Versuchen, Video über ffmpeg zu streamen
ffmpeg -re -i /home/mahesh/Desktop/output.mp4 -c copy -f mov udp://192.168.33.11:1935/live/mp4test/
Und ich erhalte die folgende Fehler
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/mahesh/Desktop/output.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.71.100 Duration: 00:00:30.04, start: 0.000000, bitrate: 1394 kb/s Stream #0:0(eng): Video: h264 (High) (avc1/0x31637661), yuv420p, 1024x960 [SAR 1:1 DAR 16:15], 1392 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler [mov @ 0x3ef9620] muxer does not support non seekable output Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Stream mapping: Stream #0:0 -> #0:0 (copy) Last message repeated 1 times
Bitte lassen Sie mich wissen, wo ich falsch werde. Und schlagen Sie eine Lösung vor.
Was haben Sie bereits versucht, den Fehler zu beheben? –
Das Format muss 'flv' sein und warum benutzen Sie eine' udp' Adresse anstelle von 'rtmp'? – aergistal
ja ich habe rtmp auch verwendet. – Mahi