[FFmpeg-user] Unable to get udp multicast stream
Lucas da Vila
lucas8666 at gmail.com
Tue Aug 25 15:42:26 CEST 2015
I've tried with VLC but I was not able to get the multicast on my machine.
On the server I receive the multicast, I saw it with tcpdump, but its like
ffmpeg doesn't see it
On Wed, Aug 19, 2015 at 5:41 PM, Lucas da Vila <lucas8666 at gmail.com> wrote:
> I've waited like 15 minutes and stills in the same state
>
> ffmpeg -v 9 -loglevel 99 -re -i "udp://@239.255.0.1:56000"
> ffmpeg version N-74369-g55a07cf Copyright (c) 2000-2015 the FFmpeg
> developers
> built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
> configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg
> --enable-avresample --disable-debug --enable-nonfree --enable-gpl
> --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
> --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse
> --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265
> --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus
> --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth
> --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
> libavutil 54. 30.100 / 54. 30.100
> libavcodec 56. 57.100 / 56. 57.100
> libavformat 56. 40.101 / 56. 40.101
> libavdevice 56. 4.100 / 56. 4.100
> libavfilter 5. 32.100 / 5. 32.100
> libavresample 2. 1. 0 / 2. 1. 0
> libswscale 3. 1.101 / 3. 1.101
> libswresample 1. 2.101 / 1. 2.101
> libpostproc 53. 3.100 / 53. 3.100
> Splitting the commandline.
> Reading option '-v' ... matched as option 'v' (set logging level) with
> argument '9'.
> Reading option '-loglevel' ... matched as option 'loglevel' (set logging
> level) with argument '99'.
> Reading option '-re' ... matched as option 're' (read input at native
> frame rate) with argument '1'.
> Reading option '-i' ... matched as input file with argument 'udp://@
> 239.255.0.1:56000'.
> Finished splitting the commandline.
> Parsing a group of options: global .
> Applying option v (set logging level) with argument 9.
> Successfully parsed a group of options.
> Parsing a group of options: input file udp://@239.255.0.1:56000.
> Applying option re (read input at native frame rate) with argument 1.
> Successfully parsed a group of options.
> Opening an input file: udp://@239.255.0.1:56000.
> [udp @ 0x2b6bc00] end receive buffer size reported is 131072
>
> When I hit ctrl-c appear this line
> [AVIOContext @ 0x2134100] Statistics: 0 bytes read, 0 seeks
> udp://239.255.0.1:56000: Immediate exit requested
> Exiting normally, received signal 2.
>
>
> Maybe tomorrow I will be able to test on my own computer with vlc.
> Over ssh the only thing I can do is this, really don't know if it helps
> cvlc udp://239.255.0.7:1002
> VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
> [0x1118238] main interface error: no suitable interface module
> [0x1052118] main libvlc error: interface "globalhotkeys,none"
> initialization failed
> [0x1118238] dbus interface error: Failed to connect to the D-Bus session
> daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
> [0x1118238] main interface error: no suitable interface module
> [0x1052118] main libvlc error: interface "dbus,none" initialization failed
> [0x1117b38] dummy interface: using the dummy interface module...
> ^C[0x7f22b0001998] main stream error: cannot pre fill buffer
>
>
> mplayer udp://239.255.0.7:1002
> MPlayer SVN-r37401 (C) 2000-2012 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing udp://239.255.0.7:1002.
> STREAM_UDP, URL: udp://239.255.0.7:1002
> Failed to connect to server
> udp_streaming_start failed
> No stream found to handle url udp://239.255.0.7:1002
>
>
> Exiting... (End of file)
>
> Thanks for the advice with aac :)
> Lucas
>
>
> On Wed, Aug 19, 2015 at 3:07 PM, Carl Eugen Hoyos <cehoyos at ag.or.at>
> wrote:
>
>> Lucas da Vila <lucas8666 <at> gmail.com> writes:
>>
>> > ffmpeg -v 9 -loglevel 99 -re -i "udp:// <at> 239.255.0.1:56000"
>>
>> What happens if you just specify the above (and wait)?
>> Which application does work? (vlc, MPlayer?)
>>
>> > -c:v copy -c:a:0 libvo_aacenc
>>
>> This is the worst of several existing aac encoders,
>> please don't use it.
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
More information about the ffmpeg-user
mailing list