[PLD 2.x (Ac): Bug 11] New: ffmpeg with swscale enabled incompatible with VLC

btsadmin at pld-linux.org btsadmin at pld-linux.org
Wed Apr 18 15:56:16 CEST 2007


http://bugs.pld-linux.org/show_bug.cgi?id=11

           Summary: ffmpeg with swscale enabled incompatible with VLC
           Product: PLD 2.x (Ac)
           Version: unspecified
          Platform: All
        OS/Version: PLD Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Packages
        AssignedTo: bugs at pld-linux.org
        ReportedBy: jajcus at jajcus.net
   Estimated Hours: 0.0


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3
Build Identifier: ffmpeg-0:0.4.9-3.20061204.3.i686 vlc-0:0.8.6-6.i686


When swscaler is enabled for ffmpeg then old resample API is not compiled and
some symbols using by VLC not available. VLC is not able to load ffmpeg plugin
because of missing "img_resample_init" and most transcoding paths doesn't work.
This makes e.g. streaming from V4L camera impossible.


Reproducible: Always

Steps to Reproduce:
1. Backup your ~/.vlc, remove ~/.vlc  to reset config and flush module cache
2. Run 'vlc -v' 
3. File/Open Capture Device
4. Make sure capture itself works (image from camera or other capture device is
visible)
5. File/Open Capture Device again, but now set stream/save. Enable 'play
locally' and 'HTTP' streaming, transcode to mp4v video codec and mpga audio
codec.
Actual Results:  
Warning during statrup:

[00000001] main private warning: cannot load module
(/usr/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: img_resample_init)


No display, errors on console when trying to enable streaming.

Expected Results:  
Image displayer in GUI and available via HTTP.

If nothing uses ffmpeg swcale library in Ac, then this functionality should be
disabled. Otherwise some hacks are needed to reenable old, deprecated symbols
when swscaler is enabled. Other solution would be to update vlc to use the new
API.


-- 
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


More information about the pld-bugs mailing list