Wowza Community

ffmpeg rtmp h264 errors

Hello,

I am getting following errors when I am streaming a ts file to wowza.

At my encoder side I am using ffmpeg with command

ffmpeg -i testfile.ts -vcodec copy -an -f flv rtmp://192.168.1.2/rtplive/mpegts.stream

the testfile.ts is encoded with h264 & aac,a nd want to stream without reencoding video.

Wowza version: Wowza Media Server 2 Subscription 2.2.3.04 build26774

Log at wowza server.

NFO server comment - LiveStreamPacketizerCupertino.init[rtplive/definst/mpegts.stream]: audioGroupCount: 3

INFO server comment - LiveStreamPacketizerCupertino.init[rtplive/definst/mpegts.stream]: playlistChunkCount:3

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:mpegts.stream

INFO server comment - SanJosePacketHandler.startStream[rtplive/definst/mpegts.stream]

INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Video codec: H264

INFO server comment - CupertinoPacketHandler.startStream[rtplive/definst/mpegts.stream]

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/mpegts.stream]: Video codec:H264 isCompatible:true

WARN server comment - LiveStreamPacketizerCupertino.handlePacket[rtplive/definst/mpegts.stream][avc1.100.40]: H.264 Video encoding settings are beyond iPhone/iPod touch recommendations (Baseline/3.0): {H264CodecConfigInfo: profile: “High”, level: 4.0, frameSize: 1280x720, displaySize: 1280x720, PAR: 1:1, frameRate: 59.94}

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

ERROR server comment - Zero sized function (client:1444387844:FMLE/3.0 (compatible; Lavf53.4.0)): type:20 size:0:

Thanks

Kapil

Hi Kapil,

It’s always good to get things working first with the included sample.mp4 file, in the Wowza content directory. Here’s an example of using ffmpeg to stream a file without transcoding:

ffmpeg -re -i sample.mp4 -acodec copy -vcodec copy -f flv rtmp://127.0.0.1/live/myStream

Take a look at the FFmpeg with Wowza Server (MPEG-TS) tutorial for more examples.