[FFmpeg-user] combining audio and video

2022-11-06 Thread owen s
Is it possible to have two urls, one streaming audio and one for video; using ffmpeg to combine these streams and just playing them as one without saving a file? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] ffplay/ ffmpeg audio channels

2021-09-07 Thread owen s
I have an issue, I have basic asoundrc that looks like the one below. When I play a 5.1 audio file in ffplay I see an error; SDL_OpenAudio (6 Channels, 48000 Hz): ALSA: Couldn't open audio device: No such file or directory SDL_OpenAudio (4 Channels, 48000 Hz): ALSA: Couldn't open audio device: No

Re: [FFmpeg-user] (no subject)

2021-01-27 Thread owen s
there's a speed or limit options; adding realtime=speed=1.04 keeps the speed at 1.04 and the problem is resolved. Thanks for the help! On Tue, Jan 26, 2021 at 4:47 PM Dennis Mungai wrote: > On Tue, 26 Jan 2021, 03:14 owen s, wrote: > > > I am running this command > >

Re: [FFmpeg-user] (no subject)

2021-01-26 Thread owen s
the stream. This is why I would like to limit the speed to something closer to 1x. On Tue, Jan 26, 2021 at 9:48 AM Mark Filipak (ffmpeg) wrote: > On 01/25/2021 07:09 PM, owen s wrote: > > I am running this command > > > > ffmpeg-git -y \ > > -vaapi_device /dev/dri/render

[FFmpeg-user] (no subject)

2021-01-25 Thread owen s
I am running this command ffmpeg-git -y \ -vaapi_device /dev/dri/renderD128 \ -framerate 60 -i ./image.jpg \ -stream_loop -1 -i ./audio.mp3 \ -map 0:v \ -c:v h264_vaapi \ -vf 'crop=2560:1440:0:0,format=nv12|vaapi,hwupload,loop=loop=-1:size=1:start=0,hwdownload,format=yuv420p' \ -rc_mode 2 -b:v

Re: [FFmpeg-user] vaapi_h264 encoding very low bitrate

2021-01-21 Thread owen s
/ an input image is there? On Wed, Jan 20, 2021 at 9:08 PM Mark Thompson wrote: > On 19/01/2021 16:07, owen s wrote: > > I am running this command with > > ffmpeg -y -loglevel debug \ > > -vaapi_device /dev/dri/renderD128 \ > > -loop 1 -r 1 -i ./image.jpg -pix_fmt vaapi_vld

Re: [FFmpeg-user] vaapi crop and video size filters

2021-01-21 Thread owen s
Mak thanks again, you are correct; what I needed to do was to crop the image before uploading it. I didn't realize that I could change the order of the commands in the video filter strings. Thanks again! On Wed, Jan 20, 2021 at 9:42 PM Mark Thompson wrote: > On 20/01/2021 03:06, owen s wr

[FFmpeg-user] vaapi crop and video size filters

2021-01-19 Thread owen s
with software libx264 using crop filter crop=width:heigh:x:y, i could crop around a specific point. using h264_vaapi and -vf crop=width:height doesn't control the crop location. also with libx264 -video_size=widthxheight worked, but with h264_vaapi, the video resolution comes out to be the max

[FFmpeg-user] vaapi_h264 encoding very low bitrate

2021-01-19 Thread owen s
I am running this command with ffmpeg -y -loglevel debug \ -vaapi_device /dev/dri/renderD128 \ -loop 1 -r 1 -i ./image.jpg -pix_fmt vaapi_vld \ -b:v 18000k -minrate 18000k \ -vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720' \ -rc_mode 3 \ -r 30 -g 60 \ -c:v h264_vaapi -f flv /dev/null I

Re: [FFmpeg-user] ffmpeg with vulkan and or opencl

2021-01-19 Thread owen s
Hoyos wrote: > Am Sa., 16. Jan. 2021 um 19:13 Uhr schrieb owen s : > > > > I have installed opencl and vulkan drivers on linux: Linux > > 5.8.0-7630-generic #32~1609193707~20.10~781bb80-Ubuntu SMP Tue Jan 5 > > 21:29:56 UTC 2 x86_64 x86_64 x86_64 GNU/Linux > &

[FFmpeg-user] ffmpeg with vulkan and or opencl

2021-01-16 Thread owen s
I have installed opencl and vulkan drivers on linux: Linux 5.8.0-7630-generic #32~1609193707~20.10~781bb80-Ubuntu SMP Tue Jan 5 21:29:56 UTC 2 x86_64 x86_64 x86_64 GNU/Linux I am using ffmpeg version: ffmpeg version 4.3.1-4ubuntu1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10

[FFmpeg-user] ffmpeg rtmp stream breaks after Delay between the first packet and last packet

2021-01-15 Thread owen s
I'll update this question ffmpeg -version ```shell ffmpeg -version ffmpeg version 4.3.1-4ubuntu1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10 (Ubuntu 10.2.0-9ubuntu2) ``` I run this command to use ffmpeg to stream to youtube ; ```shell ffmpeg -y -threads 12 \ -loop 1

[FFmpeg-user] ffmpeg streaming to youtube "Delay between the first packet and last packet in the muxing queue is 10500000 > 10000000: forcing output"

2021-01-13 Thread owen s
This is a large log file: https://0x0.st/-zyL.txt starting up a youtube livestream with this ffmpeg command: ffmpeg -hwaccel auto -threads 8 -re -loop 1 -framerate 2 -i ./image.jpg \ -i ./audio.mp3 \ -video_size 1920x1080 \ -threads 4 -vcodec libx264 -pix_fmt yuv420p \ -tune zerolatency \