[FFmpeg-devel] Splitting libavformat (Was: [PATCH] IPv6 support v.2)

Nicolas George nicolas.george
Fri Nov 16 21:33:45 CET 2007


Le sextidi 26 brumaire, an CCXVI, Michel Bardiaux a ?crit?:
> There is no need to add that *in* libavformat. There is the vloopback 
> device for such effects.

While vloopback does the work, I do not believe it fills all the needs for
such a pseudo-format:

- It is system-dependant (unless I am mistaken, vloopback is a part of V4L,
  which is Linux-only; or are you talking of something else with the same
  name?).

  Well, piping raw video to ffmpeg does not have the same problem.

- It does not provide audio-video sync.

- It relies on more complex code path, which is not a good thing when the
  purpose is debugging.

- It require a separate tool, which will either never be near at hand, or
  will clutter the command namespace.

- It will never be as simple as "-f test_pattern -i x".

On the other hand, a format in libavdevice would be very easy to use,
available by default with a specific namespace, with a negligible overhead,
which can be altogether avoided if binary size is an issue.

All things considered, I believe it would be very practical to have it.

Regards,

-- 
  Nicolas George




More information about the ffmpeg-devel mailing list