[FFmpeg-user] screen capture - small files
Hello all. I want to use ffmpeg to capture screen and sound on a macintosh. I want the file size as small as possible, with a fps of about 3-5 and audio quality of maybe 128 kbps at most, though 64 kbps is acceptable. This is the closest I have come: ffmpeg -f avfoundation -i "1:0" -c:v mpeg4 -c:a aac -strict -2 -r 3 -b:v 1024 out.mp4 It gives me a large file size and very good audio (too good/better than needed). Also a few messages appear that I don’t understand: [avfoundation @ 0x7fc53500] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7fc53500] Supported pixel formats: [avfoundation @ 0x7fc53500] uyvy422 [avfoundation @ 0x7fc53500] yuyv422 [avfoundation @ 0x7fc53500] nv12 [avfoundation @ 0x7fc53500] 0rgb [avfoundation @ 0x7fc53500] bgr0 [avfoundation @ 0x7fc53500] Overriding selected pixel format to use uyvy422 instead. [avfoundation @ 0x7fc53500] Stream #0: not enough frames to estimate rate; consider increasing probesize The pixel format used is uyvy422. If I explicitly choose it,the output becomes Incompatible pixel format 'uyvy422' for codec 'mpeg4', auto-selecting format ’yuv420p' and [avfoundation @ 0x7f9c2480] Overriding selected pixel format to use uyvy422 instead. So does anybody have a tip for me on how to use ffmpeg to achieve my goal? Thanks! …Jesper ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Getting x265 parameter help
On Sun, Nov 22, 2015, at 06:59 PM, Mike Brown wrote: > The website says to do "x265 --help" but that doesn't work. What web site? > I tried the following: > > ffmpeg -h type=x265 > ffmpeg -h type=libx265 ffmpeg -h encoder=libx265 > But both give the error "Unknown help option 'type'." Why did you use "type"? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Getting x265 parameter help
I've downloaded the 2015-11-22 git static binary, but can't seem to get the program to list the x265 parameters. The website says to do "x265 --help" but that doesn't work. I tried the following: ffmpeg -h type=x265 ffmpeg -h type=libx265 But both give the error "Unknown help option 'type'." So, I'm at a loss as to how to get ffmpeg to spit out the x265 param options. Thanks. MB -- e-mail: vid...@vidiot.com | vid...@vidiot.net/~\ The ASCII 6082066...@email.uscc.net (140 char limit) \ / Ribbon Campaign Visit - URL: http://vidiot.com/ X Against http://vidiot.net/ / \ HTML Email "What do you say Beckett. Wanna have a baby?" - Castle to Det. Beckett "How long have I been gone?" Alexis after seeing Castle and Beckett w/ baby - Castle - 11/25/13 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Exactly one WebVTT stream is needed
On 15-11-22 at 18:08, Thomas Berberich wrote: > Is there any way in ffmpeg to convert dvb_teletext into webvtt, so > Teletext is accessiable on HLS-Stream also? Looks like if you build ffmpeg with libzvbi you get a teletext decoder, that should work. > I'll try to record a Stream in the next days. > Where i have to send the Video sample, if i have it recorded? Preferably create a ticket on trac and if the sample is small enough, attach it to the ticket otherwise upload it to the ftp. [1] Also, please don't top-post on this mailing list. [1]: https://ffmpeg.org/bugreports.html#SubmittingSampleMedia -- Simon Thelen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Exactly one WebVTT stream is needed
Is there any way in ffmpeg to convert dvb_teletext into webvtt, so Teletext is accessiable on HLS-Stream also? I'll try to record a Stream in the next days. Where i have to send the Video sample, if i have it recorded? Am 21.11.2015 um 19:09 schrieb Simon Thelen: > On 15-11-20 at 22:50, Cloudclimber wrote: >> Hi there, >> >> this command works without Problems in ffmpeg 2.7.2: >> >> |./ffmpeg -i udp://@239.100.1.1:1234 -map 0 -probesize 100 >> -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap >> 10 -hls_list_size 10 /var/www/test1_.m3u8 >> >> but since |ffmpeg 2.8.0 i got the Output below, even with ffmpeg 2.8.2 . >> Sure i could exclude subtitle Streams, but i want to have dvb_teletext >> in the stream also, so this is no solution. >> >> Anyone has an idea how to map all streams, inclusive subtitle streams >> with ffmpeg 2.8.2? > FFmpeg does not support muxing of any subtitle stream other than WebVTT > in HLS, and muxing dvb_teletext into WebVTT doesn't work. > >> OUTPUT: >> >> root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static# ./ffmpeg -i >> udp://@239.100.1.1:1234 -map 0 -probesize 100 >> -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap >> 10 -hls_list_size 10 /var/www/test1_.m3u8 -loglevel debug >> ffmpeg version 2.8.2-static http://johnvansickle.com/ffmpeg/ Copyright >> (c) 2000-2015 the FFmpeg developers >> built with gcc 5.2.1 (Debian 5.2.1-23) 20151028 >> configuration: --enable-gpl --enable-version3 --disable-shared >> --disable-debug --enable-runtime-cpudetect --enable-libmp3lame >> --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex >> --enable-libvorbis --enable-libvpx --enable-libfreetype >> --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb >> --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc >> --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg >> --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab >> --enable-libsoxr --enable-frei0r --enable-libfribidi >> --disable-indev=sndio --disable-outdev=sndio --cc=gcc >> libavutil 54. 31.100 / 54. 31.100 >> libavcodec 56. 60.100 / 56. 60.100 >> libavformat 56. 40.101 / 56. 40.101 >> libavdevice 56. 4.100 / 56. 4.100 >> libavfilter 5. 40.101 / 5. 40.101 >> libswscale 3. 1.101 / 3. 1.101 >> libswresample 1. 2.101 / 1. 2.101 >> libpostproc 53. 3.100 / 53. 3.100 > [..] >> Successfully opened the file. >> Parsing a group of options: output file /var/www/test1_.m3u8. >> Applying option map (set input stream mapping) with argument 0. >> Applying option c (codec name) with argument copy. >> Applying option f (force format) with argument hls. >> Successfully parsed a group of options. >> Opening an output file: /var/www/test1_.m3u8. >> Successfully opened the file. >> [webvtt @ 0x3fb80c0] Exactly one WebVTT stream is needed. >> [mpegts @ 0x3fb7ae0] muxrate VBR, pcr every 2 pkts, sdt every 200, >> pat/pmt every 40 pkts >> Segmentation fault (core dumped) > What interests me more is why ffmpeg is segfaulting. Can you provide a > sample with which this can be reproduced or a gdb backtrace of the debug > build? > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Exactly one WebVTT stream is needed
what is wrong on the Command Line ? In ffmpeg 2.7.2 it runs without any Problems, the Problems first started with ffmpeg 2.8.x. I want to convert completly a Multicast Stream into HLS Format, with all Streams, including subtitle Streams. Subtitle Stream is also needed as is. So it's a simple Conversion, and no reencoding of any Stream. Am 21.11.2015 um 18:47 schrieb adrian: > I was going to tell you that your formats were all wrong, > and that you needed h264 and aac > but I checked and hls has no limit on formats. > > However, just because you can, doesn't mean you should, > hls implies h264 video, aac audio and 608 or webvtt captions. > > May I ask why you would do it your way? > I am just curious. > > > - Reply message - > From: "Cloudclimber" > To: > Subject: [FFmpeg-user] Exactly one WebVTT stream is needed > Date: Fri, Nov 20, 2015 4:50 PM > > Hi there, > > this command works without Problems in ffmpeg 2.7.2: > > |./ffmpeg -i udp://@239.100.1.1:1234 -map 0 -probesize 100 > -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap > 10 -hls_list_size 10 /var/www/test1_.m3u8 > > but since |ffmpeg 2.8.0 i got the Output below, even with ffmpeg 2.8.2 . > Sure i could exclude subtitle Streams, but i want to have dvb_teletext > in the stream also, so this is no solution. > > Anyone has an idea how to map all streams, inclusive subtitle streams > with ffmpeg 2.8.2? > > > > OUTPUT: > > root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static# ./ffmpeg -i > udp://@239.100.1.1:1234 -map 0 -probesize 100 > -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap > 10 -hls_list_size 10 /var/www/test1_.m3u8 -loglevel debug > ffmpeg version 2.8.2-statichttp://johnvansickle.com/ffmpeg/ Copyright > (c) 2000-2015 the FFmpeg developers > built with gcc 5.2.1 (Debian 5.2.1-23) 20151028 > configuration: --enable-gpl --enable-version3 --disable-shared > --disable-debug --enable-runtime-cpudetect --enable-libmp3lame > --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex > --enable-libvorbis --enable-libvpx --enable-libfreetype > --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc > --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg > --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab > --enable-libsoxr --enable-frei0r --enable-libfribidi > --disable-indev=sndio --disable-outdev=sndio --cc=gcc > libavutil 54. 31.100 / 54. 31.100 > libavcodec 56. 60.100 / 56. 60.100 > libavformat 56. 40.101 / 56. 40.101 > libavdevice 56. 4.100 / 56. 4.100 > libavfilter 5. 40.101 / 5. 40.101 > 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 '-i' ... matched as input file with argument > 'udp://@239.100.1.1:1234'. > Reading option '-map' ... matched as option 'map' (set input stream > mapping) with argument '0'. > Reading option '-probesize' ... matched as AVOption 'probesize' with > argument '100'. > Reading option '-analyzeduration' ... matched as AVOption > 'analyzeduration' with argument '100'. > Reading option '-c' ... matched as option 'c' (codec name) with argument > 'copy'. > Reading option '-copy_unknown' ... matched as option 'copy_unknown' > (Copy unknown stream types) with argument '1'. > Reading option '-f' ... matched as option 'f' (force format) with > argument 'hls'. > Reading option '-hls_time' ... matched as AVOption 'hls_time' with > argument '10'. > Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with > argument '10'. > Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' > with argument '10'. > Reading option '/var/www/test1_.m3u8' ... matched as output file. > Reading option '-loglevel' ... matched as option 'loglevel' (set logging > level) with argument 'debug'. > Finished splitting the commandline. > Parsing a group of options: global . > Applying option copy_unknown (Copy unknown stream types) with argument 1. > Applying option loglevel (set logging level) with argument debug. > Successfully parsed a group of options. > Parsing a group of options: input file udp://@239.100.1.1:1234 > . > Successfully parsed a group of options. > Opening an input file: udp://@239.100.1.1:1234 > . > [udp @ 0x3c048c0] end receive buffer size reported is 131072 > [mpegts @ 0x3c04080] Format mpegts probed with size=2048 and score=100 > [mpegts @ 0x3c04080] stream=0 stream_type=3 pid=90 prog_reg_desc= > [mpegts @ 0x3c04080] stream=1 stream_type=6 pid=92 prog_reg_desc= > [mpegts @ 0x3c04080] stream=2 stream_type=2 pid=a8 prog_reg_desc= > [mpegts @ 0x3c04080] stream=3 stream_type=5 pid=585 prog_reg_desc= > [mpegts @ 0x3c04080] Before avformat_find_stream_info() pos: 0 bytes > read:215824 seeks:0 > [mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or > times may be invalid. > [mpegts @ 0x3c04080] parser not found for
[FFmpeg-user] Audio/Video out of sync: -itsoffset value limit
Hi, I try to capture with the simplified command ./ffmpeg -debug 1 -f pulse -thread_queue_size 1024 -i alsa_input.pci-_00_14.2.analog-stereo -f v4l2 -channel 1 -thread_queue_size 1024 -i /dev/video0 -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -top 0 -c:a pcm_s16le -channel_layout stereo /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv I get audio out of sync late by 1.7 second. If I add -itsoffset 0.70 to video input, I get audio just 1 second late. But when I rise the value above 1.2, I get a lot of drops. I noticed as well that above 1.0 the debug lines are output in burst with short pauses between them. Pauses time increases with value. What is/does the limit of -itsoffset value? BTW, I tried with: -af aresample=async=1 => Nothing better -ts mono2abs/abs => Do nothing only start audio/video value closer -Audio output before video output => Nothing -vsync passthrough => Nothing -ss 1.70: in video input => /dev/video0: could not seek to position 34725.055 and a lot of drops -ss 1.70 in audio input => alsa_input.pci-_00_14.2.analog-stereo: could not seek to position 1448217795.270 -ss 1.70: in output => Nothing -threads 1 => Nothing Is there another way to sync audio/video? Any suggestion welcome. Many thanks ./ffmpeg -debug 1 -f pulse -thread_queue_size 512 -i alsa_input.pci-_00_14.2.analog-stereo -f v4l2 -channel 1 -thread_queue_size 2048 -itsoffset 1.70 -i /dev/video0 -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -top 0 -c:a pcm_s16le -channel_layout stereo /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv ffmpeg version N-76674-g7ad698e Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 55. 6.100 / 55. 6.100 libavcodec 57. 15.100 / 57. 15.100 libavformat57. 14.100 / 57. 14.100 libavdevice57. 0.100 / 57. 0.100 libavfilter 6. 15.100 / 6. 15.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 matched as AVOption 'debug' with argument '1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'pulse'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-i' ... matched as input file with argument 'alsa_input.pci-_00_14.2.analog-stereo'. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'. Reading option '-channel' ... matched as AVOption 'channel' with argument '1'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '2048'. Reading option '-itsoffset' ... matched as option 'itsoffset' (set the input ts offset) with argument '1.70'. Reading option '-i' ... matched as input file with argument '/dev/video0'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'. Reading option '-level' ... matched as AVOption 'level' with argument '3'. Reading option '-g' ... matched as AVOption 'g' with argument '1'. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1., 1.)) with argument '4:3'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'. Reading option '-top' ... matched as option 'top' (top=1/bottom=0/auto=-1 field first) with argument '0'. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'. Reading option '-channel_layout' ... matched as option 'channel_layout' (set channel layout) with argument 'stereo'. Reading option '/Store3/Test/t_20151122_2006.mkv' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Successfully parsed a group of options. Parsing a group of options: input file alsa_input.pci-_00_14.2.analog-stereo. Applying option f (force format) with argument pulse. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Successfully parsed a group of options. Opening an input file: alsa_input.pci-_00_14.2.analog-stereo. [pulse @ 0x20c68e0] All info found Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo': Duration: N/A, start: 1448222773.462464, bitrate: 1536 kb/s Stream #0:0, 1, 1/100: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Successfully opened the file. Parsing a group of options: input file /dev/video0. Applying option f (force format) with argument v4l2. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 2048. Applying option itsoffset (set the input ts offset) with argument 1.70. Successfully parsed a group of options. Opening an input file: /dev/video0. [video4
Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen
Le decadi 30 brumaire, an CCXXIV, Zenny a écrit : > It worked, but compared to xpra, > 1. the output is interaction lagged and, > 2. piped output only covers only 1/4th of the screen until in Slideshow mode. For the second issue, you need to scale the video before displaying it, otherwise you will hit the limits of the real X11 server. For the first issue, this is not entirely surprising. Your task seem highly unusual, and I think you are already lucky that existing tools can come near realizing it with "just" performances issues. I am sorry I can not help you more. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] (no subject)
On Sat, Nov 21, 2015 at 14:57:42 -0500, Ming Luo wrote: > And if I trim the original 18 min video to 15 minutes, it works. To me this indicates that there is some error in the video stream which ffmpeg can't handle. Sorry, I don't know more than that (such as whether ffmpeg should handle that, or how to check what kind of issue that may be). Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] (no subject)
On Sat, Nov 21, 2015 at 16:03:02 -0700, Jim Worrall wrote: > Can you apply a bitstream filter when you are just copying the > stream? Yes, you can. A bitstream filter operates on a different level than encoding. > Wouldn’t that require transcoding? No. And it worked for the first 15 minutes... Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can ffmpeg feed shoutcast?
On 15-11-22 at 12:37, En Figureo Canal wrote: > On Sun, Nov 22, 2015 at 12:18 PM, Simon Thelen wrote: > > On 15-11-22 at 12:07, En Figureo Canal wrote: > > > I've already tried that and it doesn't work. I get "End of File" > > Have you tried setting -legacy_icecast? > Sorry. > > I've tried another command: > > ffmpeg -rtbufsize 500M -f dshow -i audio="recorder (Realtek High Definiti" > -vn > -acodec libmp3lame -ab 128k -legacy_icecast 1 -content_type audio/mpeg > -ice_name > "DemoStream" -f mp3 icecast://user:pass@ip:8082/2 > > > And starts doing something but it just dies. Remember I'm trying to send > the feed to SHOUTCAST. afaik shoutcast and icecast use the same protocol I don't have a shoutcast server though, so I can't test. [..] > libavutil 54. 27.100 / 54. 27.100 > libavcodec 56. 46.100 / 56. 46.100 > libavformat56. 40.100 / 56. 40.100 > libavdevice56. 4.100 / 56. 4.100 > libavfilter 5. 19.100 / 5. 19.100 > libswscale 3. 1.101 / 3. 1.101 > libswresample 1. 2.100 / 1. 2.100 > libpostproc53. 3.100 / 53. 3.100 > Guessed Channel Layout for Input Stream #0.0 : stereo > Input #0, dshow, from 'audio=recorder (Realtek High Definiti': > Duration: N/A, start: 104958.814000, bitrate: 1411 kb/s > Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s > Output #0, mp3, to 'icecast://user:pass@ip:8082/2': > Metadata: > TSSE: Lavf56.40.100 > Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 128 kb/s > Metadata: > encoder : Lavc56.46.100 libmp3lame > Stream mapping: > Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame)) > Press [q] to stop, [?] for help > av_interleaved_write_frame(): Unknown error > size= 7kB time=00:00:00.41 bitrate= 136.5kbits/s > video:0kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB > muxing ove > rhead: 0.633357% > Conversion failed! Hmm, Unknown error. That doesn't sound good. -- Simon Thelen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can ffmpeg feed shoutcast?
On Sun, Nov 22, 2015 at 12:18 PM, Simon Thelen wrote: > On 15-11-22 at 12:07, En Figureo Canal wrote: > > I've already tried that and it doesn't work. I get "End of File" > Have you tried setting -legacy_icecast? > > Also, please don't top-post on this mailing list. > > -- > Simon Thelen > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Sorry. I've tried another command: ffmpeg -rtbufsize 500M -f dshow -i audio="recorder (Realtek High Definiti" -vn -acodec libmp3lame -ab 128k -legacy_icecast 1 -content_type audio/mpeg -ice_name "DemoStream" -f mp3 icecast://user:pass@ip:8082/2 And starts doing something but it just dies. Remember I'm trying to send the feed to SHOUTCAST. Thanks. >ffmpeg -version ffmpeg version N-73361-g03b2b40 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avis ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable -iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --en able-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-lib ilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable -libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enab le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enabl e-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc - -enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable- libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enabl e-decklink --enable-zlib libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 46.100 / 56. 46.100 libavformat56. 40.100 / 56. 40.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 19.100 / 5. 19.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc53. 3.100 / 53. 3.100 >SET PATH=F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-static\ffmpeg-20150702-git -03b2b40-win32-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files ( x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\S ystem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ QuickTime\QTSystem\;C:\Program Files (x86)\Brackets\command >ECHO. >ECHO For help run: ffmpeg -h For help run: ffmpeg -h >ECHO For formats run: ffmpeg -formats | more For formats run: ffmpeg -formats | more >ECHO For codecs run: ffmpeg -codecs | more For codecs run: ffmpeg -codecs | more >ECHO. >ECHO Current directory is now: "F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-sta tic\ffmpeg-20150702-git-03b2b40-win32-static\bin" Current directory is now: "F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-static\ff mpeg-20150702-git-03b2b40-win32-static\bin" >ffmpeg -rtbufsize 500M -f dshow -i audio="recorder (Realtek High Definiti" -vn -acodec libmp3lame -ab 128k -legacy_icecast 1 -content_type audio/mpeg -ice_name "DemoStream" -f mp3 icecast://user:pass@ip:8082/2 ffmpeg version N-73361-g03b2b40 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena ble-decklink --enable-zlib libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 46.100 / 56. 46.100 libavformat56. 40.100 / 56. 40.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 19.100 / 5. 19.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc53. 3.100 / 53. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, dshow, from 'audio=recorder (Realtek High Definiti': Duration: N/A, start: 104958.814000, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s Output #0, mp3, to 'icecast://user:pass@ip:8082/2': Metadata: TSSE: Lavf56.40.100 Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 128 kb/s Metadata: encoder : Lavc56.46.100 libmp3lame Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libm
Re: [FFmpeg-user] Can ffmpeg feed shoutcast?
On 15-11-22 at 12:07, En Figureo Canal wrote: > I've already tried that and it doesn't work. I get "End of File" Have you tried setting -legacy_icecast? Also, please don't top-post on this mailing list. -- Simon Thelen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can ffmpeg feed shoutcast?
I've already tried that and it doesn't work. I get "End of File" >ffmpeg -version ffmpeg version N-73361-g03b2b40 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avis ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable -iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --en able-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-lib ilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable -libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enab le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enabl e-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc - -enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable- libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enabl e-decklink --enable-zlib libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 46.100 / 56. 46.100 libavformat56. 40.100 / 56. 40.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 19.100 / 5. 19.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc53. 3.100 / 53. 3.100 >SET PATH=F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-static\ffmpeg-20150702-git -03b2b40-win32-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files ( x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\S ystem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ QuickTime\QTSystem\;C:\Program Files (x86)\Brackets\command >ECHO Current directory is now: "F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-sta tic\ffmpeg-20150702-git-03b2b40-win32-static\bin" Current directory is now: "F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-static\ff mpeg-20150702-git-03b2b40-win32-static\bin" >ECHO The bin directory has been added to PATH The bin directory has been added to PATH >ffmpeg -rtbufsize 500M -f dshow -i audio="recorder (Realtek High Definiti" -vn -acodec libmp3lame -ab 128k -f mp3 icecast://user:pass@ip: 8082/2 ffmpeg version N-73361-g03b2b40 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena ble-decklink --enable-zlib libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 46.100 / 56. 46.100 libavformat56. 40.100 / 56. 40.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 19.100 / 5. 19.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc53. 3.100 / 53. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, dshow, from 'audio=recorder (Realtek High Definiti': Duration: N/A, start: 103223.618000, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s icecast://user:pass@ip:8082/2: End of file >CMD /F:ON /Q /K > On Sun, Nov 22, 2015 at 11:32 AM, Simon Thelen wrote: > On 15-11-22 at 11:18, En Figureo Canal wrote: > > Hello. > > > > I'm wondering if it is possible to feed an mp3 stream to shoutcast since > a > > password is needed for feeding shoutcast. If it is, how is the password > > sent to for http://ip:port/stream > https://ffmpeg.org/ffmpeg-protocols.html#Icecast > > -- > Simon Thelen > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can ffmpeg feed shoutcast?
On 15-11-22 at 11:18, En Figureo Canal wrote: > Hello. > > I'm wondering if it is possible to feed an mp3 stream to shoutcast since a > password is needed for feeding shoutcast. If it is, how is the password > sent to for http://ip:port/stream https://ffmpeg.org/ffmpeg-protocols.html#Icecast -- Simon Thelen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Can ffmpeg feed shoutcast?
Hello. I'm wondering if it is possible to feed an mp3 stream to shoutcast since a password is needed for feeding shoutcast. If it is, how is the password sent to for http://ip:port/stream Thanks for your time. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user