Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Can't transcode on 640 or 660

Help
2010-06-16
2013-04-25
  • Tim Rightnour
    Tim Rightnour
    2010-06-16

    I am attempting to transcode avi->mpeg2 on fuppes.  I've tried both 640 and 660, and I get different problems on both.

    On 640, when I attempt to transcode, I get:
    Input #0, avi, from '/video/SciFi/DrWho/DrWho-105/drwho.105-005.avi':
      Duration: 00:25:26.81, start: 0.000000, bitrate: 2429 kb/s
        Stream #0.0: Video: mpeg4, yuv420p, 624x464 , 23.98 tbr,
    23.98 tbn, 23.98 tbc
        Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
    Output #0, mpeg, to '/tmp/fuppes/0.mpg':
        Stream #0.0: Video: mpeg2video, yuv420p, 624x464 , q=2-31
    , 1800 kb/s, 90k tbn, 23.98 tbc
        Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    Compiler did not align stack variables. Libavcodec has been miscompiled
    and may be very slow or crash. This is not a bug in libavcodec,
    but in the compiler. You may try recompiling using gcc >= 4.2.
    Do not report crashes to FFmpeg developers.
    Aspect ratio mismatch between encoder and muxer layer
    Could not write header for output file #0 (incorrect codec parameters ?)
    == lib/Transcoding/TranscodingCache.cpp (571) :: Tue Jun 15 13:38:46

    (Attempting to transcode by hand with the same parameters with the ffmpeg binary works fine)

    I tried upgrading to 660, and get a different set of issues:

    1) Attempting to go to the http server causes fuppes to segfault immediately.
    2) Even with loglevel turned up to debug, I don't really see anywhere near the number of debug messages.
    3) Transcoding still seems to fail, but now I have no idea why:

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Jun 16 05:46:08 2010 ==
    device settings "DIRECTV2PC Media Server"
            ip: 192.168.10.106
            user agent: DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1

    == lib/HTTP/HTTPRequestHandler.cpp (285) :: Wed Jun 16 05:46:08 2010 ==
    transcode /video/SciFi/DrWho/DrWho-105/drwho.105-004.avi

    == lib/HTTP/HTTPMessage.cpp (724) :: Wed Jun 16 05:46:08 2010 ==
    TranscodeContentFromFile :: /video/SciFi/DrWho/DrWho-105/drwho.105-004.avi

    == lib/Transcoding/TranscodingCache.cpp (578) :: Wed Jun 16 05:46:08 2010 ==
    release object "/video/SciFi/DrWho/DrWho-105/drwho.105-004.avi"
    ref count: 1
    delay: 4

    == lib/Transcoding/TranscodingCache.cpp (614) :: Wed Jun 16 05:46:14 2010 ==
    delete object "/video/SciFi/DrWho/DrWho-105/drwho.105-004.avi"
    delay: 4

    Any idea how to turn up the logging to get more info?

    I'm running:
    FFmpeg version SVN-r19146-snapshot
      libavutil     50. 3. 0 / 50. 3. 0
      libavcodec    52.30. 2 / 52.30. 2
      libavformat   52.34. 0 / 52.34. 0
      libavdevice   52. 2. 0 / 52. 2. 0
      libavfilter    0. 5. 0 /  0. 5. 0
      libswscale     0. 7. 1 /  0. 7. 1
      libpostproc   51. 2. 0 / 51. 2. 0

    On
    NetBSD alcyone 5.1_RC2 NetBSD 5.1_RC2 (GENERIC_IT) #0: Thu Jun 10 07:38:13 MST 2010