Re: [FFmpeg-user] kmsgrab and audio problem

2023-12-11 Thread Carl Zwanzig

On 12/10/2023 12:47 AM, KoreanFanOfficial wrote:

How i can[...]?


You're asking for help yet don't want to play by the simple rules of the 
list). Some of them are-


* Always show your actual, unscripted ffmpeg command and the complete, uncut 
console output from your command.
* Use the most simple and minimal command that still shows the issue you are 
encountering.
* Provide all necessary information so others can attempt to duplicate your 
issue. This includes the actual command, complete uncut console output, and 
any inputs that are required to duplicate the issue.

*  Avoid top-posting. Also see What is top-posting?
(https://ffmpeg.org/mailing-list-faq.html#toc-What-are-the-rules-and-the-proper-etiquette_003f)


Oh, and the referenced Code of Conduct says-
* Be friendly and respectful towards others and third parties. Treat others 
the way you yourself want to be treated.

(https://ffmpeg.org/community.html#Code-of-conduct)


If you really do want some help, please stop insulting people and provide 
the information. If you don't want assistance, keep it up and you probably 
won't get any.


z!
___
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] kmsgrab and audio problem

2023-12-11 Thread Ferdi Scholten



With this code:
sudo ffmpeg -y -device /dev/dri/card0 -r 30 -framerate 30 -f kmsgrab -i -
-f alsa -i default -vf
'hwmap=derive_device=vaapi,scale_vaapi=w=1280:h=720:format=nv12' -c:v
h264_vaapi -g 60 -b:v 5500k -c:a aac -ac 2 -b:a 320k -f flv output.flv
record working, no errors in ffmpeg, but no audio.
With this code:
sudo ffmpeg -y -device /dev/dri/card0 -r 30 -framerate 30 -f kmsgrab -i -
-f pulse -i default -vf
'hwmap=derive_device=vaapi,scale_vaapi=w=1280:h=720:format=nv12' -c:v
h264_vaapi -g 60 -b:v 5500k -c:a aac -ac 2 -b:a 320k -f flv output2.flv
i got:
[kmsgrab @ 0x55576139cc00] Using plane 48 to locate framebuffers.
[kmsgrab @ 0x55576139cc00] Template framebuffer is 85: 1920x1080 format
34325258 modifier 0 flags 0.
Input #0, kmsgrab, from 'pipe:':
   Duration: N/A, start: 1702202199.445880, bitrate: N/A
   Stream #0:0: Video: wrapped_avframe, drm_prime, 1920x1080, 29.92 tbr,
1000k tbn
default: No such process

вс, 10 дек. 2023 г. в 04:20, Ferdi Scholten:


Cant record desktop video and audio with kmsgrab and pulseaudio/alsa on

debian/arch system with xorg. I got video without audio or ffmpeg fail to
record. If record only video with kmsgrab all works. How i can record

video

and audio with kmsgrab and alsa/pulseaudio?
___


kmsgrab only records video, you need to specify an audio source if you
also want to record that.

But we do not have a clue about what you are doing because you forgot
the most important part of your question!

In order to be able to start helping you we need to see what you have
already tried so please specify your full commandline and the full
output of the terminal for that command.
___


Maybe you need to add
-flvflags aac_seq_header_detect

Or even better, use another container like MP4 or MKV instead of the 
obsolete FLV

___
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] kmsgrab and audio problem

2023-12-11 Thread KoreanFanOfficial
Why i must be the owner of ffmpeg or whatever to post message on ffmpeg
user mailing list, are you ok Am i asking about warranty of ffmpeg
Are you blind
Even if you're the owner of something, it doesn't give you any privileges,
you're just a human being living on this planet, you're not the center of
the universe. if you dont want to help then dont post useless text, ok

пн, 11 дек. 2023 г. в 03:34, Nicolas George :

> KoreanFanOfficial (12023-12-10):
> > Show me your code where kmsrab working with alsa/pulse without any issue
> on
> > debian/arch system Cuz you cant, cuz this problem exist many years
> and
> > dont fixed. Do you even try to install debian/arch???
>
> Hi. Did you forget that you got FFmepg gratis and without any warranty?
>
> You are owed nothing here, you are asking for help, so please keep it
> civil.
>
> And do not top post.
>
> --
>   Nicolas George
> ___
> 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] kmsgrab and audio problem

2023-12-11 Thread Nicolas George
KoreanFanOfficial (12023-12-10):
> Show me your code where kmsrab working with alsa/pulse without any issue on
> debian/arch system Cuz you cant, cuz this problem exist many years and
> dont fixed. Do you even try to install debian/arch???

Hi. Did you forget that you got FFmepg gratis and without any warranty?

You are owed nothing here, you are asking for help, so please keep it
civil.

And do not top post.

-- 
  Nicolas George
___
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".