ffmpeg과 mencoder.. 딜레마에 빠졌어요-ㅅ-;;;;;;

ikhyunji의 이미지

현재 mencoder를 이용해서 서비스를 이용중입니다. 웹에서 파일 올리면 flv로 변환해서 보여주도록 하고 있는데,

이 변환이 좀 문제가 생기네요. 처음에는 ffmpeg으로 해서 잘썼었는데, 오디오 코덱중에 wmav2(0x0162)가 안되서, 삽질 끝에 mencoder로 바꿧습니다
이놈은 변환은 잘 시켜 주더라고요 그래서 문제가 없나 봤더니, mencoder로 변환된 동영상은 신뢰성이 떨어지더라고요..

무슨말인고 하니, 화질이 떨어진다거나, 프레임들이 깨져서 본 동영상이 20초라 하면 5초가 사라진 경우도 있고, 왕창 19초쯤 사라진 경우도 있고..

하여튼, 인코딩을 하긴 하는데 상태가 영 안좋다 이겁니다. 그래서 그걸 다시 ffmpeg으로 인코딩을 하면 깔끔하게 잘되요...

그래서 다시 ffmpeg을 사용하려니, 코덱이 또 문제가 됩니다.

분명 mencoder도 ffmpeg의 libavcodec을 사용하는데.. 왜 ffmpeg에서는 안되는 코덱들이 있는걸까요??...wmav2(0x0162)같은 경우는 윈도우 코덱을

불러 들여서 인코딩을 하는데........ mencoder에서 되니 ffmpeg에서도 될꺼 같은데.... 어찌 하면 될까요?;

다즐링의 이미지

2번 인코딩해야하는경우가 있더군요;
-------------------------------------------------------------------------------------------------------
Life ... http://iz4u.net/blog/

------------------------------------------------------------------------------------------------
Life is in 다즐링

ikhyunji의 이미지

2번.... 은 2pass말씀인가요??..... mencoder에 그렇게 옵션을 줘볼까..;;
자동화 되어야 하니 각각의 경우를 만들어 처리하기가 참 곤란해요;;;

-------------
댓글 시그너쳐

-------------
댓글 시그너쳐

kslee80의 이미지

둘다 libavcodec 를 static link 하는 걸로 기억합니다 ;;;
즉, mencoder 빌드할때 사용한 libavcodec 이랑 ffmpeg 빌드할때 사용한 libavcodec 이 다를 수 있다는 거죠..

그리고 ffmpeg 는 ffmpeg 프로젝트에서,
mencoder 는 mplayer 프로젝트에서 하는 거다보니
바이너리 릴리즈 시에 사용한 libavcodec 의 버젼 차이가 생기지 않을까 싶네요.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.