Recent

Author Topic: FFMpeg decode Video / Audio from http stream  (Read 7117 times)

abrito

  • Jr. Member
  • **
  • Posts: 69
FFMpeg decode Video / Audio from http stream
« on: September 29, 2011, 07:08:55 pm »
I'm trying to decode audio and video stream from an HTTP, but I'm having some problems in audio.
I followed the palaces of the general tutorial here "http://wiki.glscene.info/index.php?title=FFMpeg."
the video is ok but the audio is distorted. Someone could help me fix the problem is that I can not in any way.

thanks

Ps: I try to load a mpeg file and the audio is distorced too.
« Last Edit: September 29, 2011, 07:11:55 pm by abrito »

Fred vS

  • Hero Member
  • *****
  • Posts: 1681
    • StrumPract is the musicians best friend
Re: FFMpeg decode Video / Audio from http stream
« Reply #1 on: September 29, 2011, 07:57:53 pm »
Try Bass audio-video library : http://www.un4seen.com/
It works perfectly for Lazarus  ;D

I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

abrito

  • Jr. Member
  • **
  • Posts: 69
Re: FFMpeg decode Video / Audio from http stream
« Reply #2 on: September 29, 2011, 09:21:25 pm »
but bass is not just for audio, or am I mistaken.

Fred vS

  • Hero Member
  • *****
  • Posts: 1681
    • StrumPract is the musicians best friend
Re: FFMpeg decode Video / Audio from http stream
« Reply #3 on: September 30, 2011, 02:11:05 am »
There is the BASS_DSHOW Video Library, a pluggin for Bass (you gonna find it in the Bass forum http://www.un4seen.com/)
« Last Edit: September 30, 2011, 02:13:41 am by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

abrito

  • Jr. Member
  • **
  • Posts: 69
Re: FFMpeg decode Video / Audio from http stream
« Reply #4 on: September 30, 2011, 04:43:07 pm »
BASS_DSHOW realy works for the mpeg file but not for the stream.
the stream is from a DVB set top box it's a Mpeg-ts stream. any ideas ao to
play this with lazarus