Bug 115428 - multimedia/ffmpeg & multimedia/vlc: fix ffmpeg support in VLC.
Summary: multimedia/ffmpeg & multimedia/vlc: fix ffmpeg support in VLC.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-11 22:00 UTC by Thierry Thomas
Modified: 2007-08-13 17:20 UTC (History)
1 user (show)

See Also:


Attachments
ffmpeg.diff (2.96 KB, patch)
2007-08-11 22:00 UTC, Thierry Thomas
no flags Details | Diff
file.diff (994 bytes, patch)
2007-08-11 22:00 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2007-08-11 22:00:05 UTC
	VLC 0.8.6c does not support ffmeg when it has been built with
	swscaler; that means that you cannot watch TV streams with VLC
	(e.g. from http://tv.freebox.fr/).

	The following patches:

	- add a knob WITHOUT_SWSCALER to disable the software scaler;

	- add a warning message in VLC if ffmeg has been built with
	swscaler.

	Note: this won't fix the problem for packages, but anyway to use
	the concerned features you have to enable many knobs and build
	them from ports.

	Since I'm there:

	- re-activate Theora support in ffmpeg (seems OK now);

	- remove ancient bits from DTS;

	- define CONFIGURE_LOG to track possible failures.

Fix: Please apply the following patches:
How-To-Repeat: 	Before applying these patches, run

	vlc --list | grep ffmpeg

	it won't report anything.

	Run it again after these patches, and it should report something
	like:

	VLC media player 0.8.6c Janus
	  ffmpeg                FFmpeg audio/video decoder/encoder ((MS)MPEG4,SVQ1,H263,WMV,WMA)
	  ffmpeg                FFmpeg chroma conversion
	  ffmpeg                FFmpeg audio/video encoder
	  ffmpeg                FFmpeg demuxer
	  ffmpeg                FFmpeg muxer
	  ffmpeg                FFmpeg video filter
	  ffmpeg                FFmpeg crop padd filter
	  ffmpeg                FFmpeg deinterlace video filter

	And then you can enjoy TV broadcasts ;-)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-08-11 22:00:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer
Comment 2 Mars G. Miro 2007-08-12 11:30:42 UTC
Hi there,

 Does this fffmpeg fix fix the problem describe at
http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
? I'll see if I can test the patch w/in a couple of days, and report
back.
 Thanks.

cheers
mars
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2007-08-12 12:58:28 UTC
On Sun 12 aug 07 at 12:30:42 +0200, Mars G. Miro <marsgmiro@gmail.com>
 wrote:
> Hi there,

Hello,

>  Does this fffmpeg fix fix the problem describe at
> http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
> ? I'll see if I can test the patch w/in a couple of days, and report
> back.

Yes, this is exactly the same problem: if you try to watch a video
stream with VLC, and ffmpeg is not usable, you get a message like:

main decoder error: no suitable decoder module for fourcc `xxx'.
VLC probably does not support this sound or video format.

xxx being the requested module.

Regards,
-- 
Th. Thomas.
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2007-08-12 12:58:28 UTC
On Sun 12 aug 07 at 12:30:42 +0200, Mars G. Miro <marsgmiro@gmail.com>
 wrote:
> Hi there,

Hello,

>  Does this fffmpeg fix fix the problem describe at
> http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
> ? I'll see if I can test the patch w/in a couple of days, and report
> back.

Yes, this is exactly the same problem: if you try to watch a video
stream with VLC, and ffmpeg is not usable, you get a message like:

main decoder error: no suitable decoder module for fourcc `xxx'.
VLC probably does not support this sound or video format.

xxx being the requested module.

Regards,
-- 
Th. Thomas.
Comment 5 Mars G. Miro 2007-08-12 13:52:35 UTC
On 8/12/07, Thierry Thomas <thierry@freebsd.org> wrote:
> On Sun 12 aug 07 at 12:30:42 +0200, Mars G. Miro <marsgmiro@gmail.com>
>  wrote:
> > Hi there,
>
> Hello,
>
> >  Does this fffmpeg fix fix the problem describe at
> > http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
> > ? I'll see if I can test the patch w/in a couple of days, and report
> > back.
>
> Yes, this is exactly the same problem: if you try to watch a video
> stream with VLC, and ffmpeg is not usable, you get a message like:
>
> main decoder error: no suitable decoder module for fourcc `xxx'.
> VLC probably does not support this sound or video format.
>
> xxx being the requested module.
>

Great!

/me scrambles to get pkg buildbox up ...

Thanks ;-)

> Regards,
> --
> Th. Thomas.
>


cheers
mars
Comment 6 Mars G. Miro 2007-08-12 13:52:35 UTC
On 8/12/07, Thierry Thomas <thierry@freebsd.org> wrote:
> On Sun 12 aug 07 at 12:30:42 +0200, Mars G. Miro <marsgmiro@gmail.com>
>  wrote:
> > Hi there,
>
> Hello,
>
> >  Does this fffmpeg fix fix the problem describe at
> > http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
> > ? I'll see if I can test the patch w/in a couple of days, and report
> > back.
>
> Yes, this is exactly the same problem: if you try to watch a video
> stream with VLC, and ffmpeg is not usable, you get a message like:
>
> main decoder error: no suitable decoder module for fourcc `xxx'.
> VLC probably does not support this sound or video format.
>
> xxx being the requested module.
>

Great!

/me scrambles to get pkg buildbox up ...

Thanks ;-)

> Regards,
> --
> Th. Thomas.
>


cheers
mars
Comment 7 dfilter service freebsd_committer freebsd_triage 2007-08-12 21:12:07 UTC
thierry     2007-08-12 20:11:58 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/ffmpeg    Makefile pkg-plist 
  Log:
  - Don't build ffmpeg with swscaler by default: VLC 0.8.6c does not
    support it; if you still need it, please define WITH_SWSCALER;
  
  - re-activate Theora support;
  
  - remove ancient bits from DTS;
  
  - define CONFIGURE_LOG to track possible failures.
  
  PR:             ports/115428
  Approved by:    mezz
  
  Revision  Changes    Path
  1.68      +29 -13    ports/multimedia/ffmpeg/Makefile
  1.16      +4 -4      ports/multimedia/ffmpeg/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 dfilter service freebsd_committer freebsd_triage 2007-08-12 21:12:09 UTC
thierry     2007-08-12 20:12:02 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/vlc       Makefile Makefile.inc 
  Log:
  - This version of VLC does not support ffmeg when it has been built with
    swscaler: add a warning message in this case, and bump PORTREVISION to
    chase the ffmpeg update;
  
  - fix scrambled output with non-english locales.
  
  PR:             ports/115428 and ports/115446
  Approved by:    mezz
  
  Revision  Changes    Path
  1.153     +1 -1      ports/multimedia/vlc/Makefile
  1.13      +13 -1     ports/multimedia/vlc/Makefile.inc
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Thierry Thomas freebsd_committer freebsd_triage 2007-08-12 21:13:43 UTC
State Changed
From-To: open->closed


Just committed. 

As mezz requested, swscaler is no more built by default. 

To be reactivated if VLC get fixed...
Comment 10 Mars G. Miro 2007-08-13 17:17:08 UTC
On 8/12/07, Mars G. Miro <marsgmiro@gmail.com> wrote:
> On 8/12/07, Thierry Thomas <thierry@freebsd.org> wrote:
> > On Sun 12 aug 07 at 12:30:42 +0200, Mars G. Miro <marsgmiro@gmail.com>
> >  wrote:
> > > Hi there,
> >
> > Hello,
> >
> > >  Does this fffmpeg fix fix the problem describe at
> > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
> > > ? I'll see if I can test the patch w/in a couple of days, and report
> > > back.
> >
> > Yes, this is exactly the same problem: if you try to watch a video
> > stream with VLC, and ffmpeg is not usable, you get a message like:
> >
> > main decoder error: no suitable decoder module for fourcc `xxx'.
> > VLC probably does not support this sound or video format.
> >
> > xxx being the requested module.
> >
>
> Great!
>
> /me scrambles to get pkg buildbox up ...
>
> Thanks ;-)
>

Yes, this fix does indeed fix the problem above ;-)

Thanks!


> > Regards,
> > --
> > Th. Thomas.
> >
>
>


cheers
mars
Comment 11 Mars G. Miro 2007-08-13 17:17:08 UTC
On 8/12/07, Mars G. Miro <marsgmiro@gmail.com> wrote:
> On 8/12/07, Thierry Thomas <thierry@freebsd.org> wrote:
> > On Sun 12 aug 07 at 12:30:42 +0200, Mars G. Miro <marsgmiro@gmail.com>
> >  wrote:
> > > Hi there,
> >
> > Hello,
> >
> > >  Does this fffmpeg fix fix the problem describe at
> > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-August/007268.html
> > > ? I'll see if I can test the patch w/in a couple of days, and report
> > > back.
> >
> > Yes, this is exactly the same problem: if you try to watch a video
> > stream with VLC, and ffmpeg is not usable, you get a message like:
> >
> > main decoder error: no suitable decoder module for fourcc `xxx'.
> > VLC probably does not support this sound or video format.
> >
> > xxx being the requested module.
> >
>
> Great!
>
> /me scrambles to get pkg buildbox up ...
>
> Thanks ;-)
>

Yes, this fix does indeed fix the problem above ;-)

Thanks!


> > Regards,
> > --
> > Th. Thomas.
> >
>
>


cheers
mars