Re: [FFmpeg-user] RTSP to HLS
Hello again, maybe someone could help a ffmpeg-newbie to get the correct hls-settings (hope there is something possible without re-encoding). The GOP is IPP 31 CLOSED (got it from this script https://gist.github.com/ragnraok/638023456771dc596e6f953b47061f0e). Thanks, Thomas Am 14.11.2020 um 01:35 schrieb Thomas Schmiedl: Hello, I try to local restream https://herberts.meinekameras.de:10169 (rtsp-over-websocket) with this workflow: Go-script (proxy websocket to rtsp) -> ffmpeg (rtsp to hls) -> xupnpd2 mediaserver -> vlc or TV. It works good in vlc, but on the TV it plays too fast and there are pauses. I tested all 4 hls-handlers (hls, hls2, hls3, hls4) in xupnpd2 with the same result. ffmpeg command: ffmpeg -re -rtsp_transport tcp -i "rtsp://localhost:8554/axis-media/media.amp?overview=0=1=1280x720=empty=true=15" -c copy -f hls /home/user/lighttpd-install/htdocs/stream.m3u8 Hope that someone could test the workflow and maybe optimize the ffmpeg-command. Thanks, Thomas PS: I never had this issue in xupnpd2 when receiving hls-streams directly from the internet. ___ 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". package main import ( "net" "fmt" "crypto/tls" "net/http" "github.com/gorilla/websocket" ) func handleConn(tcpConn net.Conn) { d := websocket.Dialer{TLSClientConfig: {InsecureSkipVerify: true}} wsConn, _, err := d.Dial("wss://herberts.meinekameras.de:10169/rtsp-over-websocket", http.Header{ "Sec-WebSocket-Protocol": []string{"binary"}, }) if err != nil { panic(err) } go func() { defer tcpConn.Close() buf := make([]byte, 10 * 1024) for { n, err := tcpConn.Read(buf) if err != nil { return } wsConn.WriteMessage(websocket.BinaryMessage, buf[:n]) } }() go func() { defer wsConn.Close() for { _, buf, err := wsConn.ReadMessage() if err != nil { return } tcpConn.Write(buf) } }() } func main() { l, err := net.Listen("tcp", ":8554") if err != nil { panic(err) } fmt.Println("ready") for { tcpConn, err := l.Accept() if err != nil { panic(err) } go handleConn(tcpConn) } } ___ 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] How i can use vulkan hw accel and vulkan filters for streaming my desktop. Is KMS grab working with audio recording?
Sry but i cant use your code Stephan, i have amd cpu and amd video card вт, 17 нояб. 2020 г. в 07:05, andrei ka : > oki, cool. i dont know how ffmpeg deals x11 capture, i thought probing is > used only on mpeg streams. > ak > ___ > 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 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] Compiling AAC decoder with only AAC-LC
Am Di., 17. Nov. 2020 um 14:43 Uhr schrieb Igor Bukanov : > is it possible to compile ffmpeg to include only support for > AAC-LC profile support from the whole AAC decoder? Please understand that there is no guarantee whatsoever that FFmpeg binaries compiled with --disable-all do not violate any software patents or will not violate any software patents in the future. (Note that the people who claim they do not for a very long time unintentionally distributed FFmpeg with all definitely patented codecs enabled - so I wouldn't trust them too much.) 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".
Re: [FFmpeg-user] Compiling AAC decoder with only AAC-LC
even if there's no config options, one can aways edit sbr routines in some way in (fdk)aac sources to castrate support of HE profile... ___ 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] Slide show with transition
Am 17.11.2020 um 16:05 schrieb RAPPAZ Francois via ffmpeg-user: I have 15 JPEG file to be used for a slide (duration: 135 sec): Each image is display 9 seconds and without transition the mkv file is ok. I tried this for a transition 1 second long ffmpeg -y -framerate 1/9 -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 ^ -vf zoompan=d=9:fps=1,framerate=fps=15:interp_start=0:interp_end=255:scene=100 ^ -r 15 -vsync vfr -pix_fmt yuv420p output.mkv The transition is ok for the first 3 image then the slide jump to image at position 10 and that picture remains blocked... What am I doing wrong ? this works for me: rem make 15 test images ffmpeg -f lavfi -i testsrc2=size=vga:duration=15:rate=1 -y test%%2d.jpg rem make slideshow, each image is shown 9 sec + 1 sec crossfade ffmpeg -i test%%02d.jpg -vf zoompan=d=10:fps=1,framerate=fps=25:interp_start=0:interp_end=255:scene=100 out.mp4 Michael ___ 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] Compiling AAC decoder with only AAC-LC
On 2020-11-17 17:34, Tom Worster wrote: but i'm curious why you want to do that. is there a negative consequence to having decoder capability that you don't need? AAC-LC is patent free at this point in US. AAC-Main in theory could be a patent free in December 2020 as the corresponding standard was published in December 1999, but there could be patent extensions or whatever. ___ 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] Compiling AAC decoder with only AAC-LC
On 11/17/2020 8:43:40 AM, "Igor Bukanov" wrote: is it possible to compile ffmpeg to include only support for AAC-LC profile support from the whole AAC decoder? i really don't know, although it doesn't seem likely. but i'm curious why you want to do that. is there a negative consequence to having decoder capability that you don't need? ___ 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] Slide show with transition
I have 15 JPEG file to be used for a slide (duration: 135 sec): Each image is display 9 seconds and without transition the mkv file is ok. I tried this for a transition 1 second long ffmpeg -y -framerate 1/9 -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 ^ -vf zoompan=d=9:fps=1,framerate=fps=15:interp_start=0:interp_end=255:scene=100 ^ -r 15 -vsync vfr -pix_fmt yuv420p output.mkv The transition is ok for the first 3 image then the slide jump to image at position 10 and that picture remains blocked... What am I doing wrong ? Cheers François Rappaz Bibliothek der Mathematisch-Naturwissenschaftlichen und Medizinischen Fakultät Bibliothèque de la Faculté des sciences et de médecine Rue du musée 4 Université de Fribourg CH-1700 Fribourg Switzerland http://www.unifr.ch/dokpe/ Tel.: 41 (0)26 300 92 60 [cid:image001.png@01D36DE8.58966D50] ___ 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] aresample filter position
Hi you lovely people, I have an error caused when I use the aresample filter that I think has something to do with the position of the filter in the chain. Failed to inject frame into filter network: I/O error The system takes a variety of different source configurations so I have some code that tries to manipulate the audio tracks and channels to fill the output. This can mean straight up pass through, or splitting channels, copying them and then merging. It all depends on the input config and output config. Anyhoo, some of the files that get encoded have audio that slowly drifts out of sync (possibly due to the supplied source). I wanted to add aresample=sync=1 to see if this resolves the issue. It was easiest for me to add this filter to the start of the audio filter chain. In most cases this does not cause any errors regardless of what manipulation is required afterwards, but in the instance below it is causing an IO error. In this instance, I see that the console output says Consider inserting the (a)format filter near their input or output If I move the aresample after the amerge it is processed successfully. As far as I can tell, the only time I get the Failed to inject frame into filter network: I/O error when the last filter is amerge. Do you know what the rules are for the position of this filter in the chain? Command: aws s3 cp s3://s3-bucket/filename.mxf - --quiet | ffmpeg -y -i - -filter_complex \"[0:0]fifo[vout];[0:1]aresample=async=1[01_async];[0:2]aresample=async=1[02_async];[01_async][02_async]amerge=inputs=2[01_merger]\" -map \"[vout]\" -map \"[01_merger]\" -pix_fmt yuv420p -c:v libx264 -s 640x360 -profile:v main -level:v 3.1 -refs:v 2 -keyint_min 50 -b:v 736k -r 25.0 -ac 2 -bsf:a aac_adtstoasc -c:a libfdk_aac -ar 44100 -b:a 64k -flags +global_header -f tee \"[f=mp4:movflags=+faststart]/temporary/filename.mp4\” Full console: /usr/src/app # aws s3 cp s3://s3-bucket/filename .mxf - --quiet | ffmpeg -y -i - -filter_complex "[0:0]fifo[vout];[0:1]aresample=async=1[01_async];[0:2]aresample=async=1[02_async];[01_async][02_async]amerge=inputs=2[01_merger]" -map "[vout]" -map "[01_merger]" -pix_fmt yuv420 p -c:v libx264 -s 640x360 -profile:v main -level:v 3.1 -refs:v 2 -keyint_min 50 -b:v 736k -r 25.0 -ac 2 -bsf:a aac_adtstoasc -c:a libfdk_aac -ar 44100 -b:a 64k -flags +global_header -f tee "[f=mp4:movflags=+faststart]/data/temporary/filename.mp4" ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.3.0 (Alpine 9.3.0) configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-fontconfig --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libbluray --enable-libzmq --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-libsrt --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat58. 45.100 / 58. 45.100 libavdevice58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc55. 7.100 / 55. 7.100 [mxf @ 0x7fcf6fc8b500] file is not seekable - not parsing FooterPartition [mxf @ 0x7fcf6fc8b500] broken or empty index Guessed Channel Layout for Input Stream #0.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Input #0, mxf, from 'pipe:': Metadata: operational_pattern_ul: 060e2b34.04010101.0d010201.01010900 uid : 182da8a5-28b1-11eb-912b-0c9d92be82bd generation_uid : 182da8a6-28b1-11eb-9820-0c9d92be82bd company_name: Adobe Inc. product_name: Adobe Media Encoder product_version : 14.5.0 application_platform: win32 product_uid : 0c3919fe-46e8-11e5-a151-feff819cdc9f modification_date: 2020-11-17T08:44:24.488000Z material_package_umid: 0x060A2B340101010501010D111300B628E001709105A41C130C9D92BE82BD timecode: 00:00:00:00 Duration: 00:00:30.84, start: 0.00, bitrate: N/A Stream #0:0: Video: mpeg2video, yuv422p(tv, unknown/bt709/bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: file_package_umid: 0x060A2B340101010501010D1213EBE625AD28E001709105A49D950C9D92BE82BD file_package_name: Source Package track_name : Track 1 Side data: cpb: bitrate max/min/avg: 5000/0/0 buffer size: 17825792 vbv_delay: N/A
Re: [FFmpeg-user] ffmpeg: slide show on Windows
Oh Thanks a lot ! François -Original Message- From: ffmpeg-user On Behalf Of Michael Koch Sent: 17 November 2020 14:23 To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] ffmpeg: slide show on Windows Am 17.11.2020 um 14:09 schrieb RAPPAZ Francois via ffmpeg-user: > Thanks that was it > > And if I Would like to have each image shown during 15 seconds (I have > 15 pictures and whants the total time being 225 sec), How should I > specified the -framerate and -r ? I tried ffmpeg -y -f image2 > -framerate 1/5 -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 -vsync vfr > -r 15 -pix_fmt yuv420p output.mkv > > But that it's too short a time for each picture "-framerate 1/5" specifies the framerate at which you read the pictures, 1/5 means 5 seconds. "-r" is the output framerate. If you omit this option, then the default 25fps is used. Some players have problems with small framerates. If you want crossfadings between the pictures, have a look at chapter 2.3 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Michael ___ 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 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] Compiling AAC decoder with only AAC-LC
Hello, is it possible to compile ffmpeg to include only support for AAC-LC profile support from the whole AAC decoder? Regards, Igor ___ 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] ffmpeg: slide show on Windows
Am 17.11.2020 um 14:09 schrieb RAPPAZ Francois via ffmpeg-user: Thanks that was it And if I Would like to have each image shown during 15 seconds (I have 15 pictures and whants the total time being 225 sec), How should I specified the -framerate and -r ? I tried ffmpeg -y -f image2 -framerate 1/5 -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 -vsync vfr -r 15 -pix_fmt yuv420p output.mkv But that it's too short a time for each picture "-framerate 1/5" specifies the framerate at which you read the pictures, 1/5 means 5 seconds. "-r" is the output framerate. If you omit this option, then the default 25fps is used. Some players have problems with small framerates. If you want crossfadings between the pictures, have a look at chapter 2.3 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Michael ___ 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] ffmpeg: slide show on Windows
Thanks that was it And if I Would like to have each image shown during 15 seconds (I have 15 pictures and whants the total time being 225 sec), How should I specified the -framerate and -r ? I tried ffmpeg -y -f image2 -framerate 1/5 -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 -vsync vfr -r 15 -pix_fmt yuv420p output.mkv But that it's too short a time for each picture Cheers François -Original Message- From: ffmpeg-user On Behalf Of Michael Koch Sent: 17 November 2020 12:04 To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] ffmpeg: slide show on Windows Am 17.11.2020 um 11:50 schrieb RAPPAZ Francois via ffmpeg-user: > I'm on Windows 10 with ffmpeg ... > Then I tried with > ffmpeg -y -f image2 -framerate 8 -i "%02d.JPG" -i > SligoAir_WhiteBlanket.mp3 -vsync vfr -pix_fmt yuv420p output.mkv If you are starting this command line from a batch file, you must escape the % character: -i %%02d.jpg The "" quotation marks can be omitted. "-f image2" can also be omitted. I think "-vsync vfr" can also be omittred (but here I'm not sure). Michael ___ 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 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] How i can use vulkan hw accel and vulkan filters for streaming my desktop. Is KMS grab working with audio recording?
oki, cool. i dont know how ffmpeg deals x11 capture, i thought probing is used only on mpeg streams. ak ___ 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] How i can use vulkan hw accel and vulkan filters for streaming my desktop. Is KMS grab working with audio recording?
> hi, out of curiosity, why one would need to probe (with crazy 100M probesize) x11 capture and why to use 5.1 on 1080p@24 when 4.2 would be enough ? Because this is a generic script not limited to 1080p. That way I can use it for 4k as well what is not possible with level 4.2. Furthermore, with x11grab you get raw-image input what is remarkably big at 4k. But actually I don't really care about the size as long it's sufficiently large. Cheers, Stephan Am Di., 17. Nov. 2020 um 12:02 Uhr schrieb andrei ka : > > ffmpeg -video_size "$resolution"\ > > > ¦ ¦ -loglevel warning \ > > ¦ ¦ -probesize 100M \ > > ¦ > > ¦ ¦ -f x11grab -i ":0.0+$xpos,$ypos" \ > > ¦ ¦ .. > > ¦ ¦ -level:v 5.1\ > > > > Where resolution is in the format e.g. 1920x1080; xpos, ypos are > > integers -- possibly zero, if you take the complete screen. > > > > > > Cheers, > > > > Stephan > > > > hi, out of curiosity, why one would need to probe (with crazy 100M > probesize) x11 capture and why to use 5.1 on 1080p@24 when 4.2 would be > enough ? > > ___ > 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 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] ffmpeg: slide show on Windows
Am 17.11.2020 um 11:50 schrieb RAPPAZ Francois via ffmpeg-user: I'm on Windows 10 with ffmpeg ... Then I tried with ffmpeg -y -f image2 -framerate 8 -i "%02d.JPG" -i SligoAir_WhiteBlanket.mp3 -vsync vfr -pix_fmt yuv420p output.mkv If you are starting this command line from a batch file, you must escape the % character: -i %%02d.jpg The "" quotation marks can be omitted. "-f image2" can also be omitted. I think "-vsync vfr" can also be omittred (but here I'm not sure). Michael ___ 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] How i can use vulkan hw accel and vulkan filters for streaming my desktop. Is KMS grab working with audio recording?
ffmpeg -video_size "$resolution"\ > ¦ ¦ -loglevel warning \ > ¦ ¦ -probesize 100M \ > ¦ > ¦ ¦ -f x11grab -i ":0.0+$xpos,$ypos" \ > ¦ ¦ .. > ¦ ¦ -level:v 5.1\ > > Where resolution is in the format e.g. 1920x1080; xpos, ypos are > integers -- possibly zero, if you take the complete screen. > > > Cheers, > > Stephan > hi, out of curiosity, why one would need to probe (with crazy 100M probesize) x11 capture and why to use 5.1 on 1080p@24 when 4.2 would be enough ? ___ 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: slide show on Windows
Hello there I'm on Windows 10 with ffmpeg and I would like to make a video (a slide) with a bunch of jpeg files and an mp3 music file. I tried first cat *.JPG | ffmpeg -y -f image2pipe -framerate 1 -i SligoAir_WhiteBlanket.mp3 -vsync vfr -pix_fmt yuv420p -movflags +faststart output.mkv with fails with cat: write error: No space left on device Then I tried with ffmpeg -y -f image2 -framerate 8 -i "%02d.JPG" -i SligoAir_WhiteBlanket.mp3 -vsync vfr -pix_fmt yuv420p output.mkv It fails also with Could find no file with path 'ffmpeg_run.bat2d.JPG' and index in the range 0-4 ffmpeg_run.bat2d.JPG: No such file or directory (ffmpeg_run.bat being my batch file to run ffmpeg). I did have some success with using ffmpeg -y -f concat -i liste.txt -i SligoAir_WhiteBlanket.mp3 -vsync vfr -movflags +faststart -pix_fmt yuv420p output.mkv liste.txt being the list of my jpeg files. Now I see that double-cliking on the output file sometime work and sometime not: the player "Films & TV" on my pc return almost immediately and sometime the video is played correctly. The VLC player does not show any image and the Windows media player shows the image but without sound... Can I change my command above to have a mkv file that is played correctly on all three type of players ? Can the cat command or the sequence pattern argument be used on windows ? Thanks for any help François ffmpeg -version says ffmpeg version 2020-11-14-git-46e362b765-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.0 (Rev3, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 56. 60.100 / 56. 60.100 libavcodec 58.112.103 / 58.112.103 libavformat58. 64.100 / 58. 64.100 libavdevice58. 11.102 / 58. 11.102 libavfilter 7. 89.100 / 7. 89.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc55. 8.100 / 55. 8.100 ___ 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] How i can use vulkan hw accel and vulkan filters for streaming my desktop. Is KMS grab working with audio recording?
I don't have vulkan here but that's what I use with QSV. Maybe it is an inspiration to you: ffmpeg -video_size "$resolution"\ ¦ ¦ -loglevel warning \ ¦ ¦ -probesize 100M \ ¦ ¦ -framerate 25 \ ¦ ¦ -thread_queue_size 1024 \ ¦ ¦ -init_hw_device qsv=hw -filter_hw_device hw \ ¦ ¦ -f x11grab -i ":0.0+$xpos,$ypos" \ ¦ ¦ -thread_queue_size 4096 \ ¦ ¦ -use_wallclock_as_timestamps 1 -fflags +genpts \ ¦ ¦ -f pulse -i "${audio_input}"\ ¦ ¦ -c:a aac\ ¦ ¦ -b:a 128k\ ¦ ¦ -vf "format=yuv420p,hwupload=extra_hw_frames=64,format=qsv,vpp_qsv=detail=50:framerate=25,scale_qsv=w=-1:h=720:mode=2:extra_hw_frames=64" \ ¦ ¦ -global_quality:v 30 \ ¦ ¦ -look_ahead 1 \ ¦ ¦ -look_ahead_depth 25\ ¦ ¦ -c:v h264_qsv \ ¦ ¦ -profile:v high \ ¦ ¦ -level:v 5.1\ ¦ ¦ -preset veryslow\ ¦ ¦ -bf 16 \ ¦ ¦ -trellis 2 \ ¦ ¦ -f flv \ ¦ ¦ rtmp://url Where resolution is in the format e.g. 1920x1080; xpos, ypos are integers -- possibly zero, if you take the complete screen. Cheers, Stephan Am Di., 17. Nov. 2020 um 08:27 Uhr schrieb KoreanFanOfficial : > > I have fx-8300 and rx560. I want to stream my desktop to any streaming rtmp > platform with vulkan hw accel and vulkan filters but i can't find any code > for amd video card. I want to stream video and audio with 30 fps frame > rate, scaled output video 720p. Can someone share code for this with > x11grab and kmsgrab? My ffmpeg shows that vulkan hw accel and vulkan > filters are available. > ___ > 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 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".