Столкнулся с проблемой при транскодировании H264 потока (IPTV Corbina) в mpeg. Профили "Интернет-телевидение", как я понял, не меняют сжатие видео, остается ffmpeg, точнее hmsmpeg. Параметры взял из темы про IPTV: -i "<INPUT FILE>" -vcodec mpeg2video -acodec copy -b 8000000 -copyts -pix_fmt yuv420p -f dvd.
При этом вывод консольного окна транскодера изобилует ошибками:
Code: Select all
C:\Program Files\Home Media Server>"C:\Program Files\Home Media Server\hmsmpeg.e
xe" -i "rtp://@233.33.210.86:5050" -vcodec mpeg2video -b 8000000 -pix_fmt yuv420
p -f dvd "D:\HmsTemp\Test_faa42436cd3e7489af765ae9fd915a
0c.mpg" -v -1
FFmpeg version SVN-19638, Copyright (c) 2000-2009 Fabrice Bellard, et al.
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.32. 0 / 52.32. 0
libavformat 52.37. 0 / 52.37. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 5 2009 09:28:34, gcc: 4.2.4 [Sherpya]
[h264 @ 0x1a10330]number of reference frames exceeds max (probably corrupt input
), discarding one
Last message repeated 249 times
[h264 @ 0x1a10330]mmco: unref short failure
Input #0, mpegts, from 'rtp://@233.33.210.86:5050':
Duration: N/A, start: 94975.118522, bitrate: 192 kb/s
Program 25
Stream #0.0[0x30](rus): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
Stream #0.1[0x31]: Video: h264, yuv420p, 720x576 [PAR 12:11 DAR 15:11], 50 t
br, 90k tbn, 50 tbc
Output #0, dvd, to 'C:\Users\Amarthwen\HMSTEmp\HmsTemp\Test_faa42436cd3e7489af76
5ae9fd915a0c.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 12:11 DAR 15:11], q=2-
31, 8000 kb/s, 90k tbn, 50 tbc
Stream #0.1(rus): Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
[h264 @ 0x1a10330]number of reference frames exceeds max (probably corrupt input
), discarding one
Last message repeated 249 times
[h264 @ 0x1a10330]mmco: unref short failure
Last message repeated 2 times
[h264 @ 0x1a10330]Reference 2 >= 2
[h264 @ 0x1a10330]error while decoding MB 32 16, bytestream (7200)
[h264 @ 0x1a10330]error while decoding MB 34 27, bytestream (-3)
[mp2 @ 0x1a04380]Header missing
[h264 @ 0x1a10330]number of reference frames exceeds max (probably corrupt input
), discarding one
Last message repeated 226 times
[h264 @ 0x1a10330]reference picture missing during reorder
[h264 @ 0x1a10330]Missing reference picture
[h264 @ 0x1a10330]Reference 2 >= 2
[h264 @ 0x1a10330]error while decoding MB 16 7, bytestream (10727)
[mp2 @ 0x1a04380]Header missing
[h264 @ 0x1a10330]reference picture missing during reorder
[h264 @ 0x1a10330]Missing reference picture
[h264 @ 0x1a10330]Reference 2 >= 2 1494kB time=3.08 bitrate=3973.7kbits/s
[h264 @ 0x1a10330]error while decoding MB 5 10, bytestream (6425)
[h264 @ 0x1a10330]Reference 2 >= 2 2002kB time=4.46 bitrate=3677.2kbits/s
[h264 @ 0x1a10330]error while decoding MB 29 13, bytestream (5668)
[h264 @ 0x1a10330]Reference 2 >= 2 2456kB time=5.58 bitrate=3605.7kbits/s
[h264 @ 0x1a10330]error while decoding MB 34 14, bytestream (3342)
[h264 @ 0x1a10330]Reference 2 >= 2 2920kB time=6.66 bitrate=3591.7kbits/s
[h264 @ 0x1a10330]error while decoding MB 19 7, bytestream (2348)
[h264 @ 0x1a10330]Reference 2 >= 2 3634kB time=8.74 bitrate=3406.1kbits/s
[h264 @ 0x1a10330]error while decoding MB 17 16, bytestream (6032)
[h264 @ 0x1a10330]Reference 2 >= 2 3994kB time=9.74 bitrate=3359.2kbits/s
[h264 @ 0x1a10330]error while decoding MB 33 27, bytestream (1429)
[h264 @ 0x1a10330]Reference 3 >= 2 4168kB time=10.22 bitrate=3340.9kbits/s
[h264 @ 0x1a10330]error while decoding MB 44 9, bytestream (3048)
[mp2 @ 0x1a04380]Header missing 4738kB time=11.78 bitrate=3294.9kbits/s
[h264 @ 0x1a10330]Reference 4 >= 2 5822kB time=12.82 bitrate=3720.3kbits/s
[h264 @ 0x1a10330]error while decoding MB 41 6, bytestream (11373)
[mp2 @ 0x1a04380]Header missing 7072kB time=13.86 bitrate=4179.9kbits/s
[h264 @ 0x1a10330]reference picture missing during reorderte=4337.1kbits/s
[h264 @ 0x1a10330]Missing reference picture
[h264 @ 0x1a10330]reference picture missing during reorder
[h264 @ 0x1a10330]Missing reference picture
[h264 @ 0x1a10330]mmco: unref short failure
[h264 @ 0x1a10330]Reference 2 >= 2 8394kB time=14.86 bitrate=4628.7kbits/s
[h264 @ 0x1a10330]error while decoding MB 6 25, bytestream (3305)
[h264 @ 0x1a10330]Reference 2 >= 210078kB time=15.86 bitrate=5205.5kbits/s
[h264 @ 0x1a10330]error while decoding MB 10 33, bytestream (153)
[h264 @ 0x1a10330]Reference 3 >= 212468kB time=17.86 bitrate=5718.8kbits/s
[h264 @ 0x1a10330]error while decoding MB 7 7, bytestream (1901)
[h264 @ 0x1a10330]left block unavailable for requested intra4x4 mode -1 at 0 18
[h264 @ 0x1a10330]error while decoding MB 0 18, bytestream (15486)
[h264 @ 0x1a10330]left block unavailable for requested intra mode at 0 30s
[h264 @ 0x1a10330]error while decoding MB 0 30, bytestream (2158)
[h264 @ 0x1a10330]left block unavailable for requested intra mode at 0 27s
[h264 @ 0x1a10330]error while decoding MB 0 27, bytestream (750)