SheevaPlug/Debian installation problem

Help
Ran Giladi
2011-08-14
2013-05-29
  • Ran Giladi

    Ran Giladi - 2011-08-14

    Hi,
    I installed minidlna (1.0.21 and from the SVC) on the SheevaPlug (armtel), running Debian 6. It works fine, except when it hits a m2ts video file - it stucks. A similar installation I made on Ubuntu 10 (x86) runs smoothly.

    Here is the debug output of the x86 on the file:

    scanner.c:719: info: Scanning /home/x/videolink/Documentaries/HDScape.xx.1080p.H.264.TrueHD.5.1
    metadata.c:820: debug: Container: 'mpegts'
    metadata.c:1020: debug: Unknown AVC profile -99; assuming MP.
    metadata.c:1253: debug: Stream 0 of 4449.m2ts is h.264

    In the case of the arm, it starts to consume CPU right after the scanning, and never get to the metadata.c:820 line.

    Any ideas?

    Thanks

     
  • Justin Maggard

    Justin Maggard - 2011-08-16

    Sounds to me like a bug in libavformat.  Can you try getting the file details with ffprobe?

     
  • Ran Giladi

    Ran Giladi - 2011-08-18

    You're probabl right.
    On the Debian (armel) it again consums all CPU when it runs ffprobe, while doing nothing (probably internal loop):

    FFprobe version SVN-r92, Copyright (C) 2007-2009 Stefano Sabatini
      libavutil     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 1
      libavformat   52.31. 0 / 52.31. 0
      built on Jan 31 2010 12:11:08, gcc: 4.4.3

    On the x86 Ubuntu, the ffprobe is another version:
    ran@ran-TP-X41T:/$ ffprobe /home/ran/x.m2ts
    FFprobe version 0.6.2-4:0.6.2-1ubuntu1, Copyright (C) 2007-2010 the Libav developers
      built on Mar 22 2011 15:40:52 with gcc 4.5.2
      configuration: -extra-version=4:0.6.2-1ubuntu1 -prefix=/usr -enable-avfilter -enable-avfilter-lavf -enable-vdpau -enable-bzlib -enable-libgsm -enable-libschroedinger -enable-libspeex -enable-libtheora -enable-libvorbis -enable-pthreads -enable-zlib -enable-libvpx -disable-stripping -enable-runtime-cpudetect -enable-vaapi -enable-gpl -enable-postproc -enable-swscale -enable-x11grab -enable-libdc1394 -shlibdir=/usr/lib/i686/cmov -cpu=i686 -enable-shared -disable-static -disable-ffmpeg -disable-ffplay
      libavutil     50.15. 1 / 50.15. 1
      libavcodec    52.72. 2 / 52.72. 2
      libavformat   52.64. 2 / 52.64. 2
      libavdevice   52. 2. 0 / 52. 2. 0
      libavfilter    1.19. 0 /  1.19. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    Input #0, mpegts, from '/home/ran/x.m2ts':
      Duration: 00:04:51.29, start: 599.958300, bitrate: 19219 kb/s
      Program 1
        Stream #0.0: Video: h264, yuv420p, 1920x1080 , 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
        Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
        Stream #0.2: Audio: truehd, 96000 Hz, 6 channels, s32
        Stream #0.3: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s

    This explains. Now, how do I progress? compile the entire ffmpeg?

     
  • Justin Maggard

    Justin Maggard - 2011-08-19

    I'm afraid so.  I've used ffmpeg 0.6.x on ARM with good success, so you may be able to just pull in the wheezy packages and use them.

     
  • Ran Giladi

    Ran Giladi - 2011-08-27

    Thanks, will try.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks