root@rpi2_lois:~/omxtx# ./omxtx -r 544x576 -d -m -x http://192.168.1.3:9981/stream/channel/1286b2abfa4e0564cb47afa4c885a36e ./test.ts [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpeg2video @ 0x1eaef40] Invalid frame dimensions 0x0. [mpegts @ 0x1ea98c0] max_analyze_duration 5000000 reached [mpegts @ 0x1ea98c0] Estimating duration from bitrate, this may be inaccurate Input #0, mpegts, from 'http://192.168.1.3:9981/stream/channel/1286b2abfa4e0564cb47afa4c885a36e': Duration: N/A, start: 40358.845967, bitrate: 1524 kb/s Program 8325 Metadata: service_name : ITV2 service_provider: Stream #0.0[0x709]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 1332 kb/s, 25 fps, 90k tbn, 50 tbc Stream #0.1[0x70a](eng): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s Stream #0.2[0x727](eng): Subtitle: dvbsub Found a video at index 0 Frame size: 720x576 Found stream 0, context 0x1eaef40 Found stream 1, context 0x1eaf780 Found stream 2, context 0x1eaffc0 OMX_Init() completed at 1399. OMX_GetHandle(&dec, DECNAME, &ctx, &decevents) completed at 1400. OMX_GetHandle(&enc, ENCNAME, &ctx, &encevents) completed at 1401. OMX_GetHandle(&rsz, RSZNAME, &ctx, &rszevents) completed at 1402. OMX_GetHandle(&dei, DEINAME, &ctx, &genevents) completed at 1403. Obtained handles. 0x2060ee0 decode, 0x2061460 encode OMX_GetParameter(dec, OMX_IndexParamVideoInit, porttype) completed at 1412. Found 2 ports, starting at 130 (82) on decoder OMX_GetParameter(enc, OMX_IndexParamVideoInit, porttype) completed at 1417. Found 2 ports, starting at 200 (c8) on encoder OMX_GetParameter(rsz, OMX_IndexParamImageInit, porttype) completed at 1422. Found 2 ports, starting at 60(3c) on resizer OMX_SendCommand(dec, OMX_CommandPortDisable, PORT_DEC, NULL) completed at 1427. OMX_SendCommand(dec, OMX_CommandPortDisable, PORT_DEC+1, NULL) completed at 1428. OMX_SendCommand(enc, OMX_CommandPortDisable, PORT_ENC, NULL) completed at 1429. OMX_SendCommand(enc, OMX_CommandPortDisable, PORT_ENC+1, NULL) completed at 1430. OMX_SendCommand(rsz, OMX_CommandPortDisable, PORT_RSZ, NULL) completed at 1433. OMX_SendCommand(rsz, OMX_CommandPortDisable, PORT_RSZ+1, NULL) completed at 1435. OMX_GetParameter(dec, OMX_IndexParamPortDefinition, portdef) completed at 1439. Mapping codec ID 2 (2) Mapping codec 2 to 2 Mapping codec ID 2 (2) OMX_SetParameter(dec, OMX_IndexParamPortDefinition, portdef) completed at 1450. Codecs supported: Index: 0 Codec: 0 (0) Colour: 0 Framerate: 0 (0.000000) Levels supported: Index: 0 Profile: 1 Level: 256 Levels supported: Index: 1 Profile: 32768 Level: 256 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 130 is input, disabled Wants 20 bufs, needs 1, size 81920, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 0 SliceHeight: 0 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 2 Colour: 0 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 131 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 60 is input, disabled Wants 1 bufs, needs 1, size 10240, enabled: 0, pop: 0, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 160 Height: 16 Stride: 640 SliceHeight: 16 Error hiding: 0 Codec: 0 Colour: 2130706433 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 61 is output, disabled Wants 1 bufs, needs 1, size 10240, enabled: 0, pop: 0, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 160 Height: 16 Stride: 640 SliceHeight: 16 Error hiding: 0 Codec: 0 Colour: 2130706433 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 200 is input, disabled Wants 1 bufs, needs 1, size 15360, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 160 Height: 64 Stride: 160 SliceHeight: 64 Bitrate: 0 Framerate: 1966080 (1e0000); (30.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 201 is output, disabled Wants 1 bufs, needs 1, size 65536, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 160 Height: 64 Stride: 160 SliceHeight: 64 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 4 Colour: 0 OMX_SendCommand(dec, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 1514. OMX_SendCommand(rsz, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 1517. OMX_GetParameter(h, OMX_IndexParamPortDefinition, portdef) completed at 726. OMX_SendCommand(h, OMX_CommandPortEnable, port, NULL) completed at 729. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. OMX_SendCommand(dec, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1525. Decoder 0x2060ee0 port 131 settings changed. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 131 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 1638400 (190000); (25.000000) Error hiding: 0 Codec: 0 Colour: 20 Decoder has changed settings. Setting up encoder. OMX_GetHandle(&spl, SPLNAME, &ctx, &genevents) completed at 849. OMX_GetHandle(&vid, VIDNAME, &ctx, &genevents) completed at 850. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortDisable, PORT_SPL+i, NULL) completed at 853. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortDisable, PORT_SPL+i, NULL) completed at 853. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortDisable, PORT_SPL+i, NULL) completed at 853. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortDisable, PORT_SPL+i, NULL) completed at 853. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortDisable, PORT_SPL+i, NULL) completed at 853. Unknown! 0x1f3fa70 has completed the last command. OMX_SendCommand(vid, OMX_CommandPortDisable, PORT_VID, NULL) completed at 855. OMX_GetParameter(dec, OMX_IndexParamPortDefinition, portdef) completed at 860. OMX_SendCommand(dei, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 865. OMX_SendCommand(dei, OMX_CommandPortDisable, PORT_DEI, NULL) completed at 868. OMX_SendCommand(dei, OMX_CommandPortDisable, PORT_DEI+1, NULL) completed at 870. OMX_SetParameter(dei, OMX_IndexParamPortDefinition, portdef) completed at 872. OMX_SetParameter(dei, OMX_IndexParamPortDefinition, portdef) completed at 875. OMX_SetParameter(prev, OMX_IndexParamBrcmExtraBuffers, extra_buffers) completed at 881. OMX_SetConfig(dei, OMX_IndexConfigCommonImageFilterParameters, image_filter) completed at 888. OMX_GetParameter(dei, OMX_IndexParamPortDefinition, imgportdef) completed at 892. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 190 is input, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 191 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_SetupTunnel(prev, pp, dei, PORT_DEI) completed at 907. OMX_GetParameter(rsz, OMX_IndexParamPortDefinition, imgportdef) completed at 915. OMX_SetParameter(rsz, OMX_IndexParamPortDefinition, imgportdef) completed at 929. Frame size: 544x576, scale factor 544 OMX_SetParameter(rsz, OMX_IndexParamPortDefinition, imgportdef) completed at 953. OMX_GetParameter(rsz, OMX_IndexParamPortDefinition, imgportdef) completed at 956. OMX_SetParameter(enc, OMX_IndexParamPortDefinition, portdef) completed at 970. Unknown! 0x1f3fa70 has completed the last command. OMX_SendCommand(vid, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 975. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 977. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 250 is input, disabled Wants 1 bufs, needs 1, size 15360, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 0 Height: 0 Stride: 0 SliceHeight: 0 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 2 Colour: 0 Unknown! 0x1f71990 port 251 settings changed. Unknown! 0x1f71990 port 252 settings changed. Unknown! 0x1f71990 port 253 settings changed. Unknown! 0x1f71990 port 254 settings changed. OMX_SetParameter(spl, OMX_IndexParamPortDefinition, portdef) completed at 983. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 254 is output, disabled Wants 1 bufs, needs 1, size 470016, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 253 is output, disabled Wants 1 bufs, needs 1, size 470016, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 252 is output, disabled Wants 1 bufs, needs 1, size 470016, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 251 is output, disabled Wants 1 bufs, needs 1, size 470016, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_SetParameter(spl, OMX_IndexParamPortDefinition, portdef) completed at 986. OMX_SetParameter(spl, OMX_IndexParamPortDefinition, portdef) completed at 989. Unknown! 0x1f71990 port 251 settings changed. Unknown! 0x1f71990 port 252 settings changed. Unknown! 0x1f71990 port 253 settings changed. Unknown! 0x1f71990 port 254 settings changed. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 254 is output, disabled OMX_SetupTunnel(prev, pp, spl, PORT_SPL) completed at 990. Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 253 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 252 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 251 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_SetupTunnel(spl, PORT_SPL+2, vid, PORT_VID) completed at 991. OMX_SetupTunnel(prev, pp, rsz, PORT_RSZ) completed at 996. OMX_SendCommand(enc, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 1000. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 61 is output, disabled Wants 1 bufs, needs 1, size 470016, enabled: 0, pop: 0, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 200 is input, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Bitrate: 0 Framerate: 1638400 (190000); (25.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_SetupTunnel(prev, pp, enc, PORT_ENC) completed at 1003. OMX_SetParameter(enc, OMX_IndexParamPortDefinition, portdef) completed at 1019. OMX_SetParameter(enc, OMX_IndexParamVideoBitrate, bitrate) completed at 1025. OMX_SetParameter(enc, OMX_IndexParamVideoPortFormat, pfmt) completed at 1047. OMX_SetParameter(enc, OMX_IndexConfigVideoFramerate, framerate) completed at 1052. OMX_GetParameter(enc, OMX_IndexParamVideoProfileLevelCurrent, level) completed at 1068. Current level: 2048 Current profile: 8 OMX_SetParameter(enc, OMX_IndexParamVideoProfileLevelCurrent, level) completed at 1072. OMX_GetParameter(h, OMX_IndexParamPortDefinition, portdef) completed at 726. OMX_SendCommand(h, OMX_CommandPortEnable, port, NULL) completed at 729. Allocated a buffer of 635904 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 739. OMX_SendCommand(dec, OMX_CommandPortEnable, PORT_DEC+1, NULL) completed at 1075. Resizer 0x1eead80 port 61 settings changed. OMX_SendCommand(rsz, OMX_CommandPortEnable, PORT_RSZ, NULL) completed at 1078. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 61 is output, disabled Wants 1 bufs, needs 1, size 470016, enabled: 0, pop: 0, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_SendCommand(rsz, OMX_CommandPortEnable, PORT_RSZ+1, NULL) completed at 1080. OMX_SendCommand(enc, OMX_CommandPortEnable, PORT_ENC, NULL) completed at 1083. Unknown! 0x1f3fa70 has completed the last command. OMX_SendCommand(vid, OMX_CommandPortEnable, PORT_VID, NULL) completed at 1087. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortEnable, PORT_SPL, NULL) completed at 1089. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortEnable, PORT_SPL+1, NULL) completed at 1091. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandPortEnable, PORT_SPL+2, NULL) completed at 1093. Pre-sleep. Post-sleep. Unknown! 0x1f3fa70 has completed the last command. OMX_SendCommand(vid, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1099. Unknown! 0x1f71990 has completed the last command. OMX_SendCommand(spl, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1101. Unknown! 0x1f6ef60 port 191 settings changed. OMX_SendCommand(dei, OMX_CommandPortEnable, PORT_DEI, NULL) completed at 1106. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 191 is output, disabled Wants 0 bufs, needs 0, size 635904, enabled: 0, pop: 1, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_SendCommand(dei, OMX_CommandPortEnable, PORT_DEI+1, NULL) completed at 1108. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 190 is input, enabled Wants 0 bufs, needs 0, size 635904, enabled: 1, pop: 1, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 191 is output, enabled Wants 0 bufs, needs 0, size 635904, enabled: 1, pop: 1, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_SendCommand(dei, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1114. OMX_SendCommand(rsz, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1119. OMX_SendCommand(enc, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1121. Unknown! 0x1f71990 port 253 settings changed. Unknown! 0x1f71990 port 254 settings changed. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 254 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 253 is output, disabled Wants 1 bufs, needs 1, size 635904, enabled: 0, pop: 0, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 Encoder 0x2061460 port 201 settings changed. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 201 is output, enabled Wants 1 bufs, needs 1, size 635904, enabled: 1, pop: 1, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 0 SliceHeight: 0 Bitrate: 2097152 Framerate: 1638400 (190000); (25.000000) Error hiding: 0 Codec: 7 Colour: 0 OMX_FillThisBuffer(enc, encbufs) completed at 1123. OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 130 is input, enabled Wants 20 bufs, needs 1, size 81920, enabled: 1, pop: 1, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 0 SliceHeight: 0 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 2 Colour: 0 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 131 is output, enabled Wants 0 bufs, needs 0, size 635904, enabled: 1, pop: 1, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Bitrate: 0 Framerate: 1638400 (190000); (25.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 60 is input, enabled Wants 0 bufs, needs 0, size 635904, enabled: 1, pop: 1, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 720 Height: 576 Stride: 736 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 61 is output, enabled Wants 1 bufs, needs 1, size 470016, enabled: 1, pop: 1, aligned 16 Image type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 200 is input, enabled Wants 1 bufs, needs 1, size 470016, enabled: 1, pop: 1, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 544 SliceHeight: 576 Bitrate: 0 Framerate: 0 (0); (0.000000) Error hiding: 0 Codec: 0 Colour: 20 OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 217. Port 201 is output, enabled Wants 1 bufs, needs 1, size 635904, enabled: 1, pop: 1, aligned 16 Video type is currently: MIME: (null) Native: (nil) Width: 544 Height: 576 Stride: 0 SliceHeight: 0 Bitrate: 2097152 Framerate: 1638400 (190000); (25.000000) Error hiding: 0 Codec: 7 Colour: 0 Found a codec at 0x76800d24 Defaults: output stream: 0/0, input stream: 1/90000, input codec: 1/50, output codec: 0/1, output framerate: 0/0, input framerate: 25/1, ticks: 1; 2 40358845967/0 Defaults: output stream: 0/0, input stream: 1/90000, input codec: 1/50, output codec: 1/50, output framerate: 25/1, input framerate: 25/1 Time base: 0/0, fps 25/1 Input: Input #0, mpegts, from 'http://192.168.1.3:9981/stream/channel/1286b2abfa4e0564cb47afa4c885a36e': Duration: N/A, start: 40358.845967, bitrate: 1524 kb/s Program 8325 Metadata: service_name : ITV2 service_provider: Stream #0.0[0x709]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 1332 kb/s, 25 fps, 90k tbn, 50 tbc Stream #0.1[0x70a](eng): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s Stream #0.2[0x727](eng): Subtitle: dvbsub Output: Output #0, mpegts, to './test.ts': Stream #0.0: Video: libx264, 544x576, q=-1--1, 2097 kb/s, 25 fps, 50 tbc Stream #0.1(eng): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s New SPS, length 18 New PPS, length 9 [mpegts @ 0x20618e0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [mpegts @ 0x20618e0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Ignoring attempt to set invalid timebase for st:1 Writing initial frame buffer contents out... ...done. Wrote 67 frames. ^Came 2276 ( 91s). Frames last second: 70