hi all, I'm using ffmpeg for transrate (down rate) UDP stream CLI is below: ffmpeg -f mpegts -i 'udp://238.1.1.111:8001?fifo_size=1000000&overrun_nonfatal=1' -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 48k -vcodec h264 -pix_fmt yuv420p -profile:v main -s 640x480 -b:v 500k -f mpegts 'udp://238.1.1.202:8001' ============ Last message repeated 1 times [h264 @ 0x2346060] decode_slice_header error [h264 @ 0x2346060] no frame! [h264 @ 0x2346060] Missing reference picture, default is 6 [h264 @ 0x2346060] decode_slice_header error [h264 @ 0x2346060] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one Input #0, mpegts, from 'udp://238.1.1.111:8001?fifo_size=1000000&overrun_nonfatal=1': Duration: N/A, start: 28093.147811, bitrate: 48 kb/s Program 1 Stream #0:0[0x121]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuvj420p(pc, bt470bg), 528x576 [SAR 16:11 DAR 4:3], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x122]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, mono, s16p, 48 kb/s [swscaler @ 0x231b0c0] deprecated pixel format used, make sure you did set range correctly [libx264 @ 0x23509a0] using SAR=1/1 [libx264 @ 0x23509a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 [libx264 @ 0x23509a0] profile Main, level 3.0 Output #0, mpegts, to 'udp://238.1.1.202:8001': Metadata: encoder : Lavf55.34.101 Stream #0:0: Video: h264 (libx264), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 500 kb/s, 90k tbn, 25 tbc Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 48 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (mp2 -> aac) Press [q] to stop, [?] for help [mp2 @ 0x2346b20] Header missing Error while decoding stream #0:1: Invalid data found when processing input [adts @ 0x2b9b3e0] Encoder did not produce proper pts, making some up. frame= 375 fps= 28 q=32.0 size= 1156kB time=00:00:14.32 bitrate= 661.1kbits/s dup=46 drop=0 ================================================== I occurs above errors and it's streaming but seems can't join my multicast group properly. please give your kind suggestion thank very much Celon -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/udp-streaming-transrate-tp4664414.h... Sent from the FFmpeg-users mailing list archive at Nabble.com.
participants (1)
-
celon