[질문] 안녕하세요. 리눅스 프로그래밍 초짜가 여러분께 질문을 드립니다.

stiner01의 이미지

일단 다름이 아니라 제가 지금 MPlayer 소스를 보면서 자막 파싱을 하는 곳을 분석중에 있습니다.

처음에는 소스 코드 참고해서 직접 만들려고 했었지만 여러종류의 자막을 지원할려고 하다보니

상당히 복잡 하더군요. 그래서 MPlayer의 자막 파싱 모듈만 있는 그대로 가져다가 쓰고 싶은데,

일단 무식하게 MPlayer의 메인 함수만 변경해서 모든 오브젝트 파일을 끌어다가 만들어서

자막 불러들이는데는 성공은 했는데 문제는 용량이 8메가바이트나 되더군요. 자막 파싱 기능만으로

쓰기에는 너무 커서 쓸데 없는 모듈은 다 빼고는 싶은데 도저히 무엇을 어떻게 빼야 할지 모르겠습니다.

일단 제가 지금까지 분석한 것으로는 자막을 읽어 들이고 처리하는 부분은 subreader.c라는 부분이

있고 여기 소스에서 사용하는 모든 헤더 파일들과 소스 파일들을 찾아내긴 했는데 문제는 이러한 것들만

컴파일 할 수 없더군요.. MPlayer를 make할때 나오는 컴파일 옵션들을 전부 갈무리 해서 해당 파일만

적용을 시켜 봤었습니다..

아무래도 초짜인 저한테는 무리이다 싶어 고수분들께 팁을 좀 얻고자 이렇게 글을 남깁니다.

pisces의 이미지

같은 작업중입니다^^*
저는 더 초보일꺼같지만요 ㅋㅋ

저도 제가 만들려했었으나;; ㅋㅋㅋ그냥 가져다 쓰려는 방향이예요 ㅠㅠ

메일교환하면서 서로 필요한정보 공유하고 싶네요~

pisces의 이미지

같은 작업중입니다^^*
저는 더 초보일꺼같지만요 ㅋㅋ

저도 제가 만들려했었으나;; ㅋㅋㅋ그냥 가져다 쓰려는 방향이예요 ㅠㅠ

메일교환하면서 서로 필요한정보 공유하고 싶네요~

my-my@nate.com입니다~

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.