root@rpi2_lois:~/omxtx# ./omxtx -r 576x544 -m -x http://192.168.1.3:9981/stream/channel/1286b2abfa4e0564cb47afa4c885a36e ./test.mkv [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpeg2video @ 0x8dbf40] Invalid frame dimensions 0x0. [mpegts @ 0x8d68c0] max_analyze_duration 5000000 reached [mpegts @ 0x8d68c0] 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: 41583.421967, bitrate: 3352 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], 3160 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 0x8dbf40 Found stream 1, context 0x8dc780 Found stream 2, context 0x8dcfc0 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. 0xb7cfa0 decode, 0x93a960 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. Failed to set the parameters after 120 video frames. Giving up. 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, 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 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 root@rpi2_lois:~/omxtx#