Skip to content

Instantly share code, notes, and snippets.

Created April 10, 2013 19:55
Show Gist options
  • Save anonymous/5357895 to your computer and use it in GitHub Desktop.
Save anonymous/5357895 to your computer and use it in GitHub Desktop.
omxtx failing on mpeg2 1080i
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpeg2video @ 0x16e98c0] mpeg_decode_postinit() failure
[mpegts @ 0x16e4540] PES packet size mismatch
Input #0, mpegts, from 'sample.mpg':
Duration: 00:00:11.48, start: 6896.871789, bitrate: 14613 kb/s
Program 1
Stream #0.0[0x13b7]: Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 16000 kb/s, 32.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x13b8](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
OMX_Init() completed at 1255.
OMX_GetHandle(&dec, DECNAME, &ctx, &decevents) completed at 1256.
OMX_GetHandle(&enc, ENCNAME, &ctx, &encevents) completed at 1257.
OMX_GetHandle(&rsz, RSZNAME, &ctx, &rszevents) completed at 1258.
OMX_GetHandle(&dei, DEINAME, &ctx, &genevents) completed at 1259.
OMX_GetParameter(dec, OMX_IndexParamVideoInit, porttype) completed at 1268.
OMX_GetParameter(enc, OMX_IndexParamVideoInit, porttype) completed at 1273.
OMX_GetParameter(rsz, OMX_IndexParamImageInit, porttype) completed at 1278.
OMX_SendCommand(dec, OMX_CommandPortDisable, PORT_DEC, NULL) completed at 1283.
OMX_SendCommand(dec, OMX_CommandPortDisable, PORT_DEC+1, NULL) completed at 1284.
OMX_SendCommand(enc, OMX_CommandPortDisable, PORT_ENC, NULL) completed at 1285.
OMX_SendCommand(enc, OMX_CommandPortDisable, PORT_ENC+1, NULL) completed at 1286.
OMX_GetParameter(dec, OMX_IndexParamPortDefinition, portdef) completed at 1295.
OMX_SetParameter(dec, OMX_IndexParamPortDefinition, portdef) completed at 1306.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_SendCommand(dec, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 1370.
OMX_GetParameter(h, OMX_IndexParamPortDefinition, portdef) completed at 624.
OMX_SendCommand(h, OMX_CommandPortEnable, port, NULL) completed at 627.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_SendCommand(dec, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1381.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(dec, OMX_IndexParamPortDefinition, portdef) completed at 795.
OMX_SetParameter(enc, OMX_IndexParamPortDefinition, portdef) completed at 905.
OMX_SendCommand(enc, OMX_CommandStateSet, OMX_StateIdle, NULL) completed at 935.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_SetupTunnel(prev, pp, enc, PORT_ENC) completed at 938.
OMX_SetParameter(enc, OMX_IndexParamPortDefinition, portdef) completed at 954.
OMX_SetParameter(enc, OMX_IndexParamVideoBitrate, bitrate) completed at 960.
OMX_SetParameter(enc, OMX_IndexParamVideoPortFormat, pfmt) completed at 982.
OMX_SetParameter(enc, OMX_IndexConfigVideoFramerate, framerate) completed at 987.
OMX_GetParameter(enc, OMX_IndexParamVideoProfileLevelCurrent, level) completed at 1003.
OMX_SetParameter(enc, OMX_IndexParamVideoProfileLevelCurrent, level) completed at 1007.
OMX_GetParameter(h, OMX_IndexParamPortDefinition, portdef) completed at 624.
OMX_SendCommand(h, OMX_CommandPortEnable, port, NULL) completed at 627.
OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) completed at 637.
OMX_SendCommand(dec, OMX_CommandPortEnable, PORT_DEC+1, NULL) completed at 1010.
OMX_SendCommand(enc, OMX_CommandPortEnable, PORT_ENC, NULL) completed at 1018.
OMX_SendCommand(enc, OMX_CommandStateSet, OMX_StateExecuting, NULL) completed at 1056.
OMX_FillThisBuffer(enc, encbufs) completed at 1058.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
OMX_GetParameter(handle, OMX_IndexParamPortDefinition, portdef) completed at 185.
Input #0, mpegts, from 'sample.mpg':
Duration: 00:00:11.48, start: 6896.871789, bitrate: 14613 kb/s
Program 1
Stream #0.0[0x13b7]: Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 16000 kb/s, 32.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x13b8](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Output #0, mp4, to 'sample.mp4':
Stream #0.0: Video: libx264, yuv420p, 1920x1080, q=-1--1, 2097 kb/s, 32.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
[mp4 @ 0x1909140] Tag [129][0][0][0]/0x00000081 incompatible with output codec id '86019'
Found a video at index 0
Frame size: 1920x1080
Found stream 0, context 0x16e98c0
Found stream 1, context 0x16eb800
Obtained handles. 0x16e7f40 decode, 0x16e91a0 encode
Found 2 ports, starting at 130 (82) on decoder
Found 2 ports, starting at 200 (c8) on encoder
Found 2 ports, starting at 60(3c) on resizer
Mapping codec ID 2 (2)
Mapping codec 2 to 2
Mapping codec ID 2 (2)
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
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: 1920
Height: 1080
Stride: 0
SliceHeight: 0
Bitrate: 0
Framerate: 0 (0); (0.000000)
Error hiding: 0
Codec: 2
Colour: 0
Port 131 is output, disabled
Wants 1 bufs, needs 1, size 3133440, enabled: 0, pop: 0, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 1920
SliceHeight: 1088
Bitrate: 0
Framerate: 0 (0); (0.000000)
Error hiding: 0
Codec: 0
Colour: 20
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
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
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Allocated a buffer of 81920 bytes
Decoder 0x16e7f40 port 131 settings changed.
Port 131 is output, disabled
Wants 1 bufs, needs 1, size 3133440, enabled: 0, pop: 0, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 1920
SliceHeight: 1088
Bitrate: 0
Framerate: 1964115 (1df853); (29.970016)
Error hiding: 0
Codec: 0
Colour: 20
Decoder has changed settings. Setting up encoder.
Port 131 is output, disabled
Wants 1 bufs, needs 1, size 3133440, enabled: 0, pop: 0, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 1920
SliceHeight: 1088
Bitrate: 0
Framerate: 1964115 (1df853); (29.970016)
Error hiding: 0
Codec: 0
Colour: 20
Port 200 is input, disabled
Wants 1 bufs, needs 1, size 3133440, enabled: 0, pop: 0, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 1920
SliceHeight: 1088
Bitrate: 0
Framerate: 1964115 (1df853); (29.970016)
Error hiding: 0
Codec: 0
Colour: 20
Current level: 2048
Current profile: 8
Allocated a buffer of 3133440 bytes
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: 1920
Height: 1080
Stride: 0
SliceHeight: 0
Bitrate: 0
Framerate: 0 (0); (0.000000)
Error hiding: 0
Codec: 2
Colour: 0
Port 131 is output, enabled
Wants 1 bufs, needs 1, size 3133440, enabled: 1, pop: 0, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 1920
SliceHeight: 1088
Bitrate: 0
Framerate: 1964115 (1df853); (29.970016)
Error hiding: 0
Codec: 0
Colour: 20
Port 200 is input, disabled
Wants 1 bufs, needs 1, size 3133440, enabled: 0, pop: 0, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 1920
SliceHeight: 1088
Bitrate: 0
Framerate: 1964115 (1df853); (29.970016)
Error hiding: 0
Codec: 0
Colour: 20
Port 201 is output, enabled
Wants 1 bufs, needs 1, size 3133440, enabled: 1, pop: 1, aligned 16
Video type is currently:
MIME: (null)
Native: (nil)
Width: 1920
Height: 1080
Stride: 0
SliceHeight: 0
Bitrate: 2097152
Framerate: 1964115 (1df853); (29.970016)
Error hiding: 0
Codec: 7
Colour: 0
Found a codec at 0xb695dc24
Defaults: output stream: 1/90000, input stream: 1/90000, input codec: 1001/60000, output codec: 0/1, output framerate: 0/0, input framerate: 30000/1001, ticks: 1; 2 0/0
Defaults: output stream: 1/90000, input stream: 1/90000, input codec: 1001/60000, output codec: 1001/60000, output framerate: 30000/1001, input framerate: 30000/1001
Time base: 1/90000, fps 30000/1001
Input:
Output:
Failed to write header: Invalid data found when processing input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment