Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi ~/Source/omxtx $ ./omxtx out.h264 out2.h264
- [h264 @ 0x146c540] max_analyze_duration reached
- [h264 @ 0x146c540] Estimating duration from bitrate, this may be inaccurate
- Input #0, h264, from 'out.h264':
- Duration: N/A, bitrate: N/A
- Stream #0.0: Video: h264 (High), yuv420p, 854x480, 25 fps, 25 tbr, 1200k tbn, 2400k tbc
- Found a video at index 0
- Frame size: 854x480
- Found stream 0, context 0x146e420
- OMX_Init() completed OK.
- OMX_GetHandle(&m2, DECNAME, &ctx, &decevents) completed OK.
- OMX_GetHandle(&m4, ENCNAME, &ctx, &encevents) completed OK.
- OMX_GetHandle(&rs, RSZNAME, &ctx, &rszevents) completed OK.
- Obtained handles. 0x15e3610 decode, 0x146e878 encode
- OMX_GetParameter(m2, OMX_IndexParamVideoInit, porttype) completed OK.
- Found 2 ports, starting at 130 (82) on decoder
- OMX_GetParameter(m4, OMX_IndexParamVideoInit, porttype) completed OK.
- Found 2 ports, starting at 200 (c8) on encoder
- OMX_GetParameter(rs, OMX_IndexParamImageInit, porttype) completed OK.
- Found 2 ports, starting at 60(3c) on resizer
- OMX_SendCommand(m2, OMX_CommandPortDisable, decportidx, NULL) completed OK.
- OMX_SendCommand(m2, OMX_CommandPortDisable, decportidx+1, NULL) completed OK.
- OMX_SendCommand(m4, OMX_CommandPortDisable, encportidx, NULL) completed OK.
- OMX_SendCommand(m4, OMX_CommandPortDisable, encportidx+1, NULL) completed OK.
- OMX_GetParameter(m2, OMX_IndexParamPortDefinition, portdef) completed OK.
- Mapping codec ID 28 (1c)
- Mapping codec 28 to 7
- Mapping codec ID 28 (1c)
- OMX_SetParameter(m2, OMX_IndexParamPortDefinition, portdef) completed OK.
- 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 OK.
- 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: 854
- Height: 480
- Stride: 0
- SliceHeight: 0
- Bitrate: 0
- Framerate: 0 (0); (0.000000)
- Error hiding: 0
- Codec: 7
- Colour: 0
- OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed OK.
- Port 131 is output, disabled
- Wants 1 bufs, needs 1, size 622080, enabled: 0, pop: 0, aligned 16
- Video type is currently:
- MIME: (null)
- Native: (nil)
- Width: 854
- Height: 480
- Stride: 864
- SliceHeight: 480
- Bitrate: 0
- Framerate: 0 (0); (0.000000)
- Error hiding: 0
- Codec: 0
- Colour: 20
- OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed OK.
- 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 OK.
- 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: 1966080 (1e0000); (30.000000)
- Error hiding: 0
- Codec: 4
- Colour: 0
- OMX_SendCommand(m2, OMX_CommandStateSet, OMX_StateIdle, NULL) completed OK.
- OMX_GetParameter(h, OMX_IndexParamPortDefinition, portdef) completed OK.
- OMX_SendCommand(h, OMX_CommandPortEnable, port, NULL) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- Allocated a buffer of 81920 bytes
- OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed OK.
- OMX_SendCommand(m2, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed OK.
- Inbound PTS: -9223372036854775808 (1/1200000) omxtimebase=1
- Segmentation fault
- pi@raspberrypi ~/Source/omxtx $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement