Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-04 Thread Micael Silva
On Tue, Jun 4, 2019 at 6:40 PM Nam Giang  wrote:

> Hi there,
>
> Is there anyone success with streaming to rtmps destination using ffmpeg on
> a Mac? (Facebook recently enforces this to be the only protocol they
> support)
>
> My try:
>
> > ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset
> ultrafast -vcodec libx264 -tune zerolatency -f flv "rtmps://
> live-api-s.facebook.com:443/rtmp/"
>
> It always stale after a sec. On FB it said it hasn't received the data for
> some time.
>
> Using the nightly build at ffmpeg.org. Error looks like:
>
> [tls @ 0x7f8c8cf1b720] IO Error: -9806
>
> I tried to build it myself with gnutls and still no luck:
>
> [tcp @ 0x7f7f89c5d3c0] Starting connection attempt to 157.240.3.1 port 443
> [tcp @ 0x7f7f89c5d3c0] Successfully connected to 157.240.3.1 port 443
> [rtmps @ 0x7f7f89c4] Cannot open connection tls://
> live-api-s.facebook.com:443
>
> Resource temporarily unavailable
>
> Thanks
>

Complete uncut output missing
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-04 Thread Nam Giang
Hi there,

Is there anyone success with streaming to rtmps destination using ffmpeg on
a Mac? (Facebook recently enforces this to be the only protocol they
support)

My try:

> ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset
ultrafast -vcodec libx264 -tune zerolatency -f flv "rtmps://
live-api-s.facebook.com:443/rtmp/"

It always stale after a sec. On FB it said it hasn't received the data for
some time.

Using the nightly build at ffmpeg.org. Error looks like:

[tls @ 0x7f8c8cf1b720] IO Error: -9806

I tried to build it myself with gnutls and still no luck:

[tcp @ 0x7f7f89c5d3c0] Starting connection attempt to 157.240.3.1 port 443
[tcp @ 0x7f7f89c5d3c0] Successfully connected to 157.240.3.1 port 443
[rtmps @ 0x7f7f89c4] Cannot open connection tls://
live-api-s.facebook.com:443

Resource temporarily unavailable

Thanks
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] HD Webcam Stream

2019-06-04 Thread Moritz Barsnick
On Tue, Jun 04, 2019 at 13:32:46 +0200, Markus Raps wrote:
> iam trying to send a USB Webcam (Audio and Video) steam via UDP to
> Another machine for further rendering.
> my problem: the other side cant see the video data in the mpegts stream
> without encoding.
[...]
> Output #0, mpegts, to 'udp://192.168.4.4:?pkt_size=1316':
>Metadata:
>  encoder : Lavf57.56.101
>  Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 
> 1920x1080, q=2-31, -5 kb/s, 30 fps, 30 tbr, 90k tbn, 1000k tbc
>  Stream #0:1: Audio: aac (LC), 32000 Hz, stereo, fltp, 128 kb/s
>  Metadata:
>encoder : Lavc57.64.101 aac

While ffmpeg is happily doing this, I understand that MJPEG in MPEG-TS
is not supported. That it why the demuxing ffmpeg doesn't cope with it.

I haven't yet found a more suitable container for UDP though... No
solution, sorry.

Cheers,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Configure script not finding libsmbclient in Ubuntu 19.04

2019-06-04 Thread Sean Whalen
 Hello. I'm getting an error when running the configure script  from Git
"libsmbclient not found" But the libsmbclient-dev package is installed, and
the header file exists at /usr/include/samba-4.0/libsmbclient.h
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] HD Webcam Stream

2019-06-04 Thread Markus Raps

Hi there,

iam trying to send a USB Webcam (Audio and Video) steam via UDP to 
Another machine for further rendering.
my problem: the other side cant see the video data in the mpegts stream 
without encoding.


but i dont have the performance to encode on the first machine.

so is there a flag or option i can set ?



ffmpeg -f v4l2 -list_formats all -i /dev/video0
ffmpeg version 3.2.14-1~deb9u1+rpt1 Copyright (c) 2000-2019 the FFmpeg 
developers

  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1+rpt1' 
--toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf 
--incdir=/usr/include/arm-linux-gnueabihf --enable-gpl 
--disable-stripping --enable-avresample --enable-avisynth 
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 
--enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame 
--enable-libopenjpeg --enable-libopenmpt --enable-libopus 
--enable-libpulse --enable-librubberband --enable-libshine 
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx 
--enable-omx-rpi --enable-mmal --enable-openal --enable-opengl 
--enable-sdl2 --enable-libdc1394 --enable-libiec61883 --arch=armhf 
--enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 
--enable-shared

  libavutil  55. 34.101 / 55. 34.101
  libavcodec 57. 64.101 / 57. 64.101
  libavformat57. 56.101 / 57. 56.101
  libavdevice57.  1.100 / 57.  1.100
  libavfilter 6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale  4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc54.  1.100 / 54.  1.100
[video4linux2,v4l2 @ 0xa245c0] Raw   : yuyv422 :   YUYV 
4:2:2 : 640x480 160x90 160x120 176x144 320x180 320x240 352x288 432x240 
640x360 800x448 800x600 864x480 960x720 1024x576 1280x720 1600x896 
1920x1080 2304x1296 2304x1536
[video4linux2,v4l2 @ 0xa245c0] Compressed:   mjpeg :  
Motion-JPEG : 640x480 160x90 160x120 176x144 320x180 320x240 352x288 
432x240 640x360 800x448 800x600 864x480 960x720 1024x576 1280x720 
1600x896 1920x1080





ffmpeg -f alsa -i hw:1 -f v4l2 -input_format mjpeg -framerate 30 
-video_size 1920x1080 -i /dev/video0 -c:v copy -c:a aac -f mpegts 
udp://192.168.4.4:?pkt_size=1316
ffmpeg version 3.2.14-1~deb9u1+rpt1 Copyright (c) 2000-2019 the FFmpeg 
developers

  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1+rpt1' 
--toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf 
--incdir=/usr/include/arm-linux-gnueabihf --enable-gpl 
--disable-stripping --enable-avresample --enable-avisynth 
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 
--enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame 
--enable-libopenjpeg --enable-libopenmpt --enable-libopus 
--enable-libpulse --enable-librubberband --enable-libshine 
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx 
--enable-omx-rpi --enable-mmal --enable-openal --enable-opengl 
--enable-sdl2 --enable-libdc1394 --enable-libiec61883 --arch=armhf 
--enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 
--enable-shared

  libavutil  55. 34.101 / 55. 34.101
  libavcodec 57. 64.101 / 57. 64.101
  libavformat57. 56.101 / 57. 56.101
  libavdevice57.  1.100 / 57.  1.100
  libavfilter 6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale  4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc54.  1.100 / 54.  1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:1':
  Duration: N/A, start: 1559647194.626243, bitrate: 1024 kb/s
Stream #0:0: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
Input #1, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 751.380230, bitrate: N/A
Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 
1920x1080, -5 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

Output #0, mpegts, to 'udp://192.168.4.4:?pkt_size=1316':
  Metadata:
encoder : Lavf57.56.101
Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 
1920x1080, q=2-31, -5 kb/s, 30 fps, 30 tbr, 90k tbn, 1000k tbc

Stream #0:1: Audio: aa

Re: [FFmpeg-user] Samsung HanWha QNV-7010RN Security Camera Stream - No Sound with ffplay

2019-06-04 Thread Carl Eugen Hoyos
Am Mo., 3. Juni 2019 um 03:45 Uhr schrieb Patrick Kirchner via
ffmpeg-user :

> SDL_OpenAudio (1 channels, 8000 Hz): ALSA: Couldn't set audio channels

-af aresample=ocl=stereo

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".