Page 15 of 25 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 246

Thread: HOWTO: Proper Screencasting on Linux

  1. #141
    Join Date
    Aug 2009
    Beans
    3,235
    Distro
    Ubuntu Development Release

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by FakeOutdoorsman View Post
    Thanks for the comments. This bug has been fixed: eval: Fix 32bit unsigned parsing.
    Thanks! So, would it be necessary to remove and re-install according to page 1?
    I hope that is not a dumb question but, I somehow feel that it is!
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | 14.10 Mate | Mint 13 | Mint 17 | Windows 7 | All 64 bit

  2. #142
    Join Date
    Sep 2006
    Beans
    3,484

    Re: HOWTO: Proper Screencasting on Linux

    Correct. You will need to update your source files and re-compile FFmpeg to take advantage of this bug fix (assuming your FFmpeg is older than the bug fix).

    See the Updating FFmpeg and x264 section of HOWTO: Install and use the latest FFmpeg and x264.

  3. #143
    Join Date
    Jul 2011
    Beans
    3

    Re: HOWTO: Proper Screencasting on Linux

    Hi,

    I followed the instruction on HOWTO: Install and use the latest FFmpeg and x264
    and always get the same error when screncasting with the following command:
    ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
    I uninstall and install again ffmpeg and this is the error I get each time:
    ................
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream mapping:
    Stream #1.0 -> #0.0
    Stream #0.0 -> #0.1
    Press [q] to stop, [?] for help
    [matroska @ 0x981a040] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1 >= 1
    av_interleaved_write_frame(): Invalid argument
    I Remember that all this worked before in kernel 2.6.35-27-generic-pae.
    Anyone can help me please, I'm runningkernel 2.6.35-30-generic-pae.

    I am grateful for any advice.

    PS: I'm gonna uninstall and re-install again ffmpeg...
    Last edited by cadens; July 27th, 2011 at 09:30 PM.

  4. #144
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by cadens View Post
    I am grateful for any advice.
    Hi
    I have exactly the same problem - "non monotonically increasing dts"
    It used to work OK, but not anymore.

    I can work around it by using "-acodec flac" instead of "-acodec pcm_s16le".

  5. #145
    Join Date
    Jul 2011
    Beans
    3

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by ron999 View Post
    Hi
    I have exactly the same problem - "non monotonically increasing dts"
    It used to work OK, but not anymore.

    I can work around it by using "-acodec flac" instead of "-acodec pcm_s16le".
    Hi Ron999!
    It's working here with "-acodec flac" instead of "-acodec pcm_s16le".
    Thanks!

    So the problem is the pcm audio codec?

  6. #146
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by cadens View Post
    So the problem is the pcm audio codec?
    Hi
    The problem seems to be when using pcm in mkv or mka files.

    pcm works OK for me when used like this:-
    Code:
    ffmpeg -y -f alsa -ac 2 -i pulse -acodec pcm_s16le audio1.wav
    But gives me monotonic errors when used like this:-
    Code:
    ffmpeg -y -f alsa -ac 2 -i pulse -acodec pcm_s16le audio1.mka

  7. #147
    Join Date
    Sep 2006
    Beans
    548

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by ron999 View Post
    Hi
    The problem seems to be when using pcm in mkv or mka files.

    pcm works OK for me when used like this:-
    Code:
    ffmpeg -y -f alsa -ac 2 -i pulse -acodec pcm_s16le audio1.wav
    But gives me monotonic errors when used like this:-
    Code:
    ffmpeg -y -f alsa -ac 2 -i pulse -acodec pcm_s16le audio1.mka
    This is probably either a new bug in ffmpeg or some intentional change they made. We need to search the git logs. I use an ffmpeg compiled from git about 3 weeks ago that does not exhibit this issue.

  8. #148
    Join Date
    Sep 2006
    Beans
    3,484

    Re: HOWTO: Proper Screencasting on Linux

    Looks like alsa: limit buffer_size to 32768 frames is the problem. Anyone want to confirm?
    Code:
    sudo apt-get remove ffmpeg
    cd ~/ffmpeg
    make distclean
    git checkout e35c674d13a7f180412cfe058530a2e7f1d49a90
    ./configure
    make
    ./ffmpeg -f alsa -ac 2 -i pulse -acodec pcm_s16le -y ~/output.mkv
    make distclean
    git checkout master

  9. #149
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by FakeOutdoorsman View Post
    Anyone want to confirm?
    Watch this space.

    Edit
    Wait a minute, there's no need for me to do this. I've already got the fault.
    Last edited by ron999; July 28th, 2011 at 09:38 PM. Reason: Had second thoughts. ;-)

  10. #150
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Proper Screencasting on Linux

    For me, the problem's still there with parent of git checkout e35c674d13a7f180412cfe058530a2e7f1d49a90

    git checkout 8bfd7f6a475225a0595bf657f8b99a8fffb461e4

    ron@ubuntu:~/GITS/ffmpeg$ ./ffmpeg -f alsa -ac 2 -i pulse -acodec pcm_s16le -y ~/output.mkv
    ffmpeg version 8bfd7f6, Copyright (c) 2000-2011 the Libav developers
    built on Jul 28 2011 22:46:07 with gcc 4.4.3
    configuration:
    libavutil 51. 8. 0 / 51. 8. 0
    libavcodec 53. 5. 0 / 53. 5. 0
    libavformat 53. 2. 0 / 53. 2. 0
    libavdevice 53. 0. 0 / 53. 0. 0
    libavfilter 2. 4. 0 / 2. 4. 0
    libswscale 2. 0. 0 / 2. 0. 0
    [alsa @ 0x93a22c0] capture with some ALSA plugins, especially dsnoop, may hang.
    [alsa @ 0x93a22c0] Estimating duration from bitrate, this may be inaccurate
    Input #0, alsa, from 'pulse':
    Duration: N/A, start: 1311889656.860130, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Output #0, matroska, to '/home/ron/output.mkv':
    Metadata:
    encoder : Lavf53.2.0
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    [matroska @ 0x93bb040] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 387 >= 387
    av_interleaved_write_frame(): Invalid argument

Page 15 of 25 FirstFirst ... 51314151617 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •