Menu

#6 Port to other platform?

pending-accepted
None
5
2011-08-18
2010-05-05
Pascal Yu
No

I compiled the code on Debian Lenny running on a HP mv2120. The code compiled ok, but it ran into error.
I tried it on x86 box running same Debian Lenny, it worked fine.
Can you please try to update the code so that it would run on a 2.6.26-2-orion5x armv5tel GNU/Linux?
Not sure what is the issue, the little/big endian or CPU difference.
Same g++ installed on both platform.

g++ (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CCExtractor 0.55, Carlos Fernandez Sanz, Volker Quetschke.
--------------------------------------------------------------------------
Input: Throwing Fire.4.1.20100501-2100.ts
[Raw Mode: Broadcast] [Extract: 1] [Stream mode: Autodetect]
[Use MythTV code: Auto]
[Timing mode: default] [Debug: No] [Buffer input: No]
[Print CC decoder traces: No]
[Target format: .srt] [Encoding: Latin-1] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Convert case: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
Start credits text: [None]
Creating Throwing Fire.4.1.20100501-2100.srt

-----------------------------------------------------------------
Opening file: Throwing Fire.4.1.20100501-2100.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
Decode captions from MPEG-2 video stream [0x02] - PID: 81
0% | 00:00
Skip forward to the next Sequence or GOP start.

Skip forward to the next Sequence or GOP start.
Error: read_seq_info: Impossible!

Discussion

  • Pascal Yu

    Pascal Yu - 2010-05-09

    Never mind, found the problem caused by the way the how variable address is aligned within 4 bytes on this platform.
    Mofidied few lines inside bitstream handling function. It works fine now.

     
  • Volker Quetschke

    • assigned_to: nobody --> quetschke
    • status: open --> pending-accepted
     
  • Volker Quetschke

    Please can you tell us what you changed?

    Please attach a patch or post the lines that you changed. I'd like to add it to the next release.

     

Log in to post a comment.