Re: [LAU] [LAD] Screencasting with JACK [SOLVED!]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peder Hedlund <peder@...>
Cc: linux-audio-user <linux-audio-user@...>
Date: Monday, August 12, 2013 - 12:18 pm

2013/8/12 Peder Hedlund :

Ok, changing to 1360 and now no speedloss message is observerd.

> * You've set ffmpeg to record at 30 fps but it seems your computer can only

I've tried both and still the audio is not in sync with the video:

with -r:v 20

ffmpeg -fflags +genpts+igndts -f x11grab -vsync 0 -r 30 -s 1360x768 -i
:0.0+0,0 -vcodec h264 -f jack -ac 2 -r:a 48000 -i screencast -acodec
pcm_s16le -r:v 20 -vsync 2 -async 1 -map 0:0,1,0 -map 1:0 -preset
ultrafast -qp 0 toto.mkv

I get this message every second:

[libx264 @ 0x2832a00] non-strictly-monotonic PTS
Last message repeated 2 times
frame= 11 fps=0.0 q=0.0 size= 587kB time=00:00:00.25
bitrate=19235.5kbits/[libx264 @ 0x2832a00] non-strictly-monotonic PTS
Last message repeated 3 times
frame= 23 fps= 21 q=0.0 size= 804kB time=00:00:00.65
bitrate=10137.9kbits/[libx264 @ 0x2832a00] non-strictly-monotonic PTS
Last message repeated 3 times
frame= 33 fps= 21 q=0.0 size= 1125kB time=00:00:01.00
bitrate=9220.1kbits/s[libx264 @ 0x2832a00] non-strictly-monotonic PTS
Last message repeated 2 times
frame= 44 fps= 21 q=0.0 size= 1461kB time=00:00:01.35 bitrate=8866.4kbits/s

without -r:v 20 and with -vcodec huffyuv

I get as you said an enormeous file and this message, but this option
seems to be better; e.g: audio is not in sync but better than h264

Too many video packets in the buffer: (27 in 33747576 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 8.2 V: 7.8 A-V: 0.461 ct: 0.074 0/ 0 97% 3% 69.7% 71 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************

It's a Core 2 Duo 2.27 GHz CPUs, don't know if its slow or not, seems it is...

I still have to try what happens with J.Liles suggestion to use Xephyr
but it seems that it will be the same.

Thanks for your help, really appreciated!

> - Peder

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Screencasting with JACK [SOLVED!], J. Liles, (Fri Aug 9, 1:54 am)
Re: [LAU] [LAD] Screencasting with JACK [SOLVED!], Diego Simak, (Sun Aug 11, 1:19 pm)
Re: [LAU] [LAD] Screencasting with JACK [SOLVED!], Peder Hedlund, (Mon Aug 12, 8:38 am)
Re: [LAU] [LAD] Screencasting with JACK [SOLVED!], Diego Simak, (Mon Aug 12, 12:18 pm)
Re: [LAU] [LAD] Screencasting with JACK [SOLVED!], J. Liles, (Mon Aug 12, 4:21 pm)
Re: [LAU] [LAD] Screencasting with JACK [SOLVED!], J. Liles, (Mon Aug 12, 2:19 am)
Re: [LAU] [LAD] Screencasting with JACK [SOLVED!], Harry van Haaren, (Fri Aug 9, 8:03 pm)
Re: [LAU] Screencasting with JACK [SOLVED!], J. Liles, (Fri Aug 9, 2:59 am)