Re: [FFmpeg-user] Stream UDP Multicast from Image
Hi Moritz, Tks, i have updated my version to the last, and it's work fine exept that now it is going to down each 1hour. i've tried to chase some thing related that on internet but i couldn't, so, do you if there is some option to let the stream always on? this is my command line now. /usr/local/ffmpeg/bin/ffmpeg -loop 1 -i /home/stream/aviso720.png -c:v libx264 -r 30 -pix_fmt yuv444p -vf scale=720:480 -vframes 10 -preset ultrafast -f mpegts -metadata service_provider="My Stream" -metadata service_name="Channel Out" -mpegts_original_network_id 0x1122 -mpegts_transport_stream_id 0x3344 -mpegts_service_id 0x5566 -mpegts_pmt_start_pid 0x1500 -mpegts_start_pid 0x150 "udp://224.1.1.2:5000?localaddr=10.10.2.3&pkt_size=188&ttl=64&buffer=700" -threads 1 Tks --- Welisson Tomé Em 05/01/2017 18:37, Moritz Barsnick escreveu: > On Tue, Jan 03, 2017 at 17:56:37 -0200, Welisson Tomé wrote: > >> Here you go the report from ffmpeg output. http://pastebin.com/u8dKf8MJ [1] > > I asked you to post it here, but ... oh well. > >> ffmpeg version N-44806-g3553b81- http://johnvansickle.com/ffmpeg/ [2] >> Copyright (c) 2000-2015 the FFmpeg developers > > This version is 20 months old. ffmpeg does go through a lot of > development, incl. bugfixing. Please take the time to test a newer > version first, especially when it's as easy as grabbing and unpacking > https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-32bit-static.tar.xz [3] > >> Trailing options were found on the commandline. > > [...] > >> Codec AVOption deadline (Time to spend encoding, in microseconds.) specified >> for output file #0 >> (udp://224.1.1.2:5000?localaddr=10.10.2.3&pkt_size=188&ttl=64&buffer=700) >> has not been used for any stream. The most likely reason is either wrong >> type (e.g. a video option with no video streams) or that it is a private >> option of some encoder which was not actually used for any stream. > > Please note that your command line may not be doing what you expect it > to. (This shouldn't have an effect on your issue.) > > Apart from that: I tested your command line (with an 1920x1080 PNG of > my own, and streaming to the same machine) and neither "ffmpeg -i" nor > VLC interrupted while playing the stream. So "works for me". > > Please try a newer ffmpeg. If that still has issues, you should try to > stream from/to the same machine, to see whether that solves the issue. > Perhaps some UDP packets are lost on your link. > > Moritz > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user [4] > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". Links: -- [1] http://pastebin.com/u8dKf8MJ [2] http://johnvansickle.com/ffmpeg/ [3] https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-32bit-static.tar.xz [4] http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Stream UDP Multicast from Image
On Tue, Jan 03, 2017 at 17:56:37 -0200, Welisson Tomé wrote: > Here you go the report from ffmpeg output. > http://pastebin.com/u8dKf8MJ I asked you to post it here, but ... oh well. > ffmpeg version N-44806-g3553b81- http://johnvansickle.com/ffmpeg/ Copyright > (c) 2000-2015 the FFmpeg developers This version is 20 months old. ffmpeg does go through a lot of development, incl. bugfixing. Please take the time to test a newer version first, especially when it's as easy as grabbing and unpacking https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-32bit-static.tar.xz > Trailing options were found on the commandline. [...] > Codec AVOption deadline (Time to spend encoding, in microseconds.) specified > for output file #0 > (udp://224.1.1.2:5000?localaddr=10.10.2.3&pkt_size=188&ttl=64&buffer=700) > has not been used for any stream. The most likely reason is either wrong type > (e.g. a video option with no video streams) or that it is a private option of > some encoder which was not actually used for any stream. Please note that your command line may not be doing what you expect it to. (This shouldn't have an effect on your issue.) Apart from that: I tested your command line (with an 1920x1080 PNG of my own, and streaming to the same machine) and neither "ffmpeg -i" nor VLC interrupted while playing the stream. So "works for me". Please try a newer ffmpeg. If that still has issues, you should try to stream from/to the same machine, to see whether that solves the issue. Perhaps some UDP packets are lost on your link. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Stream UDP Multicast from Image
Hello Moritz, Here you go the report from ffmpeg output. http://pastebin.com/u8dKf8MJ Tks --- Welisson Tomé Em 03/01/2017 12:38, Moritz Barsnick escreveu: > On Tue, Jan 03, 2017 at 12:30:37 -0200, Welisson Tomé wrote: > >> http://pastebin.com/YMzc0TVV [1] > > The console *output* of the command as well please. > > If it's not thousands of lines long, please include both command and > output in the email. > > If you don't know how to copy/paste the console output, you can add the > command line option "-report", and at the end of ffmpeg's run, attach > the log file ffmpeg created, which is something like > "ffmpeg-20170103-153649.log". > >> Yep, I don't know why I can watch this stream just for 2 or 3 sec via VLC >> and rarely time more than 1 minute, and after that the window gets >> gray/black and the stream stopped for a few sec or couple minutes, after >> this period it just come back by itself. > > I understand, thanks for clarifying. (But I don't know the issue yet.) > > Moritz > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user [2] > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". Links: -- [1] http://pastebin.com/YMzc0TVV [2] http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Stream UDP Multicast from Image
On Tue, Jan 03, 2017 at 12:30:37 -0200, Welisson Tomé wrote: > http://pastebin.com/YMzc0TVV The console *output* of the command as well please. If it's not thousands of lines long, please include both command and output in the email. If you don't know how to copy/paste the console output, you can add the command line option "-report", and at the end of ffmpeg's run, attach the log file ffmpeg created, which is something like "ffmpeg-20170103-153649.log". > Yep, I don't know why I can watch this stream just for 2 or 3 sec via > VLC and rarely time more than 1 minute, and after that the window gets > gray/black and the stream stopped for a few sec or couple minutes, after > this period it just come back by itself. I understand, thanks for clarifying. (But I don't know the issue yet.) Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Stream UDP Multicast from Image
Hello Moritz Happy 2017, Follow the pastebin link without cut, I think that my e-mail client had cut, but anyway http://pastebin.com/YMzc0TVV I don't really understand this sentence. Are you saying that, at the receiving end of the UDP stream, the client/player gets an interruption after 2..5 seconds Yep, I don't know why I can watch this stream just for 2 or 3 sec via VLC and rarely time more than 1 minute, and after that the window gets gray/black and the stream stopped for a few sec or couple minutes, after this period it just come back by itself. --- Welisson Tomé Em 03/01/2017 08:50, Moritz Barsnick escreveu: > On Mon, Jan 02, 2017 at 16:50:51 -0200, Welisson Tomé wrote: > >> down, need to run again the line command as below; > > Please show us, along with the command line, the complete, uncut > console output of your ffmpeg command. > >> but it's not gettng up where each 2 or 5 sec the stream goes down > > I don't really understand this sentence. Are you saying that, at the > receiving end of the UDP stream, the client/player gets an interruption > after 2..5 seconds? > > Moritz > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user [1] > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". Links: -- [1] http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Stream UDP Multicast from Image
On Mon, Jan 02, 2017 at 16:50:51 -0200, Welisson Tomé wrote: > down, need to run again the line command as below; Please show us, along with the command line, the complete, uncut console output of your ffmpeg command. > but it's not gettng up where each 2 or 5 sec the stream goes down I don't really understand this sentence. Are you saying that, at the receiving end of the UDP stream, the client/player gets an interruption after 2..5 seconds? Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Stream UDP Multicast from Image
Hello Everyone, I need some help from you, so, I'm generating a stream from an static image, but it's not gettng up where each 2 or 5 sec the stream goes down, need to run again the line command as below; ffmpeg -loop 1 -i /home/stream/aviso720.png -c:v libx264 -pix_fmt yuvj420p -vf scale=720:480 -vframes 10 -preset ultrafast -deadline realtime -f mpegts -metadata service_provider="MyName" -metadata service_name="Channel Out" -mpegts_original_network_id 0x1122 -mpegts_transport_stream_id 0x3344 -mpegts_service_id 0x5566 -mpegts_pmt_start_pid 0x1500 -mpegts_start_pid 0x150 "udp://224.1.1.2:5000?localaddr=10.10.2.3&pkt_size=188&ttl=64&buffer=700" -cpu-used 4 -threads 4 Someone has some ideia what can I do to fix it, please? -- Welisson Tomé ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".