Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For some reason, Ubuntu no longer switches threads for me... #44

Open
JobLeonard opened this issue Jun 6, 2016 · 20 comments
Open

For some reason, Ubuntu no longer switches threads for me... #44

JobLeonard opened this issue Jun 6, 2016 · 20 comments

Comments

@JobLeonard
Copy link
Contributor

Basically, the addon used to work perfectly, then it suddenly stopped working (without me changing any code anywhere). Now, ffmpeg no longer starts to encode until after I try to close the program, so all my files end up being empty. This is the output of compiling and running the ofxVideoRecorderExample code:

<< imagine this frame skipping message keeps going for a while>>
[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

The recoded video file is now complete.
[verbose] ofxAudioDataWriterThread: closing pipe: /home/job/Dev/OpenFrameworks/of_v0.9.3_linux64_release/apps/myApps/videoRecorderExample/bin/data/ofxarpipe0
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, s16le, from '/home/job/Dev/OpenFrameworks/of_v0.9.3_linux64_release/apps/myApps/videoRecorderExample/bin/data/ofxarpipe0':
  Duration: N/A, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[warning] ofxVideoDataWriterThread: got file descriptor 16
[verbose] ofxVideoDataWriterThread: closing pipe: /home/job/Dev/OpenFrameworks/of_v0.9.3_linux64_release/apps/myApps/videoRecorderExample/bin/data/ofxvrpipe0
Input #1, rawvideo, from '/home/job/Dev/OpenFrameworks/of_v0.9.3_linux64_release/apps/myApps/videoRecorderExample/bin/data/ofxvrpipe0':
  Duration: N/A, bitrate: 221184 kb/s
    Stream #1:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, 221184 kb/s, 30 tbr, 30 tbn, 30 tbc
Please use -b:a or -b:v, -b is ambiguous
Output #0, mov, to '/home/job/Dev/OpenFrameworks/of_v0.9.3_linux64_release/apps/myApps/videoRecorderExample/bin/data/testMovie2016-06-06-21-58-50-363.mov':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x480, q=2-31, 800 kb/s, 30 fps, 15360 tbn, 30 tbc
    Metadata:
      encoder         : Lavc56.60.100 mpeg4
    Stream #0:1: Audio: mp3 (libmp3lame) (.mp3 / 0x33706D2E), 44100 Hz, stereo, s16p, 192 kb/s
    Metadata:
      encoder         : Lavc56.60.100 libmp3lame
Stream mapping:
  Stream #1:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
@timscaffidi
Copy link
Owner

Hey thanks for the bug report.

What version of OF and Ubuntu are you on? Are you using the latest master branch of ofxVideoRecorder or an older release?

@JobLeonard
Copy link
Contributor Author

JobLeonard commented Jun 9, 2016

Hey, thanks for the reply

Also, I apologise for being ambiguous before: when I said "without changing code", I meant not changing OF versions or getting new versions of ofxVideoRecorder! The bug was introduced somewhere between 14.10 and 15.04, when I decided to revisit some old code. Since I had just done a rewrite of my own code, and OF and ofxVidRec were the same, I figured that was the part that was broken (sadly, I can't share the code here for because reasons - it's fairly basic though: load in images, do stuff, write result to FFMpeg). But then I noticed my old version stopped working too, and your example also no longer worked, but I was too lazy to open an issue about it (sorry).

Right now I'm on the latest stable versions of both: OpenFrameworks 9.3 and Ubuntu 16.04; I hoped that this might have been fixed in the newer versions, but it's still mysteriously broken. I'm kind of wondering if this isn't an Ubuntu threading bug, but I wouldn't know how to check for that.

I could dual-boot into windows, see if the code works there, but that's quite a big hassle just to set this up.. edit: oh, windows isn't supported anyway :P

@timscaffidi
Copy link
Owner

I have not yet upgraded to 16.04 but I plan to do so soon. I will run some tests once I upgrade and see what I can find.

@JobLeonard
Copy link
Contributor Author

What version are you on? I could try running it off a USB stick and see if my program miraculously starts working again.

@timscaffidi
Copy link
Owner

I'm on ubuntu 15.04 LTS.

I have noticed that sometimes ffmpeg will wait a few seconds before it starts doing anything, so if your videos are very short then it may not have had time to start encoding.

@JobLeonard
Copy link
Contributor Author

Ok, I'll see if I can find a spare USB stick and run the program from that.

And I doubt that's the issue: the movies are very long. Or at least, the process to encode them takes very long, because I'm loading in 4GB worth of full HD frames into an array and then encode images extracted from the generated volume. It's the kind of thing where it easily takes a few hours to render a movie of only a few minutes (this is actually why I need a direct export to video; exporting to PNG or even JPG and converting those to a movie afterworks would require more hard drive space than I have available, not to mention that it would take so much more time it wouldn't be possible to do this).

@fransschreuder
Copy link

I am getting exactly the same output on Ubuntu 16.04, the video files end up being something like 200 bytes.
I think I will try an older version of Ubuntu and see whether it runs there.
(of 0.9.4, ofxVideoRecorder HEAD)

@timscaffidi
Copy link
Owner

I have since upgraded to 16.04 and I have tested the current HEAD with 0.9.4, and I have not seen this issue yet. It could have something to do with the version of ffmpeg as well.

@fransschreuder
Copy link

fransschreuder commented Dec 22, 2016 via email

@fransschreuder
Copy link

I tried on Ubuntu 14.04 (same computer, clean install) but I had to install ffmpeg from the PPA as 14.04 has no native ffmpeg in the repo. I got the same problem there though, I guess it's an ffmpeg version issue.

@fransschreuder
Copy link

Here is the complete output of the application using Ubuntu 16.04, ffmpeg 3.2.2

[verbose] ofGstUtils: gstreamer inited
[notice ] ofGstVideoGrabber: Probing devices with udev...
[notice ] ofGstVideoGrabber: Found device 046d:0843, getting capabilities...
[notice ] ofGstVideoGrabber: detected v4l2 device: Logitech Webcam C930e
[notice ] ofGstVideoGrabber: driver: uvcvideo, version: 263203
[notice ] ofGstVideoGrabber: Capabilities: 0x84200001
[verbose] Device: Logitech Webcam C930e (/dev/video0)

[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY22304x1536 videoformat: 4 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY22304x1296 videoformat: 4 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY21920x1080 videoformat: 4 framerates: 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY21600x896 videoformat: 4 framerates: 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY21280x720 videoformat: 4 framerates: 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY21024x576 videoformat: 4 framerates: 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2960x540 videoformat: 4 framerates: 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2800x600 videoformat: 4 framerates: 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2848x480 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2800x448 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2640x480 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2640x360 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2480x270 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2424x240 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2352x288 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2320x240 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2320x180 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2176x144 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YUY2160x120 videoformat: 4 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 1920x1080 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): more similar framerate replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 1600x896 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): more similar framerate replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 1280x720 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): more similar framerate replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 1024x576 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): more similar framerate replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 960x540 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): more similar framerate replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 800x600 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): more similar framerate replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 848x480 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 800x448 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 640x480 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 640x360 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 480x270 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 424x240 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 352x288 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 320x240 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 320x180 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 176x144 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): image/jpeg 160x120 videoformat: 0 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I4202304x1536 videoformat: 2 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I4202304x1296 videoformat: 2 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I4201920x1080 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): non compressed format with same framerate, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I4201600x896 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): non compressed format with same framerate, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I4201280x720 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): non compressed format with same framerate, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I4201024x576 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): non compressed format with same framerate, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420960x540 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): non compressed format with same framerate, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420800x600 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): non compressed format with same framerate, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420848x480 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420800x448 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420640x480 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420640x360 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420480x270 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420424x240 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420352x288 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420320x240 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420320x180 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420176x144 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw I420160x120 videoformat: 2 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV122304x1536 videoformat: 3 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV122304x1296 videoformat: 3 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV121920x1080 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV121600x896 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV121280x720 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV121024x576 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12960x540 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12800x600 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12848x480 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12800x448 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12640x480 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12640x360 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12480x270 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12424x240 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12352x288 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12320x240 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12320x180 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12176x144 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw YV12160x120 videoformat: 3 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR2304x1536 videoformat: 16 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR2304x1296 videoformat: 16 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR1920x1080 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR1600x896 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR1280x720 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR1024x576 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR960x540 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR800x600 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR848x480 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR800x448 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR640x480 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR640x360 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR480x270 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR424x240 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR352x288 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR320x240 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR320x180 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR176x144 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw BGR160x120 videoformat: 16 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB2304x1536 videoformat: 15 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB2304x1296 videoformat: 15 framerates: 
[verbose] 2/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB1920x1080 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): I420 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB1600x896 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): I420 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB1280x720 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): I420 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB1024x576 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): I420 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB960x540 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): I420 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB800x600 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): I420 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB848x480 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB800x448 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB640x480 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB640x360 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB480x270 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB424x240 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB352x288 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB320x240 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB320x180 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB176x144 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[verbose] ofGstVideoGrabber: add_video_format(): video/x-raw RGB160x120 videoformat: 15 framerates: 
[verbose] 30/1 
[verbose] 24/1 
[verbose] 20/1 
[verbose] 15/1 
[verbose] 10/1 
[verbose] 15/2 
[verbose] 5/1 
[verbose] ofGstVideoGrabber: add_video_format(): already added, skipping
[verbose] ofGstVideoGrabber: add_video_format(): YUY2 format with same framerate as other format, replacing existing format
[notice ] ofGstVideoGrabber: initGrabber(): selected device: Logitech Webcam C930e
[notice ] ofGstVideoGrabber: initGrabber(): selected format: 640x480 video/x-raw RGB framerate: 30/1
[notice ] ofGstUtils: setPipelineWithSink(): gstreamer pipeline: v4l2src name=video_source device=/dev/video0 ! video/x-raw,format=RGB,width=640,height=480,framerate=30/1    ! appsink name=ofappsink enable-last-sample=0 caps="video/x-raw, format=RGB, width=640, height=480"
[verbose] ofGstUtils: startPipeline(): attaching callbacks
[verbose] Pipeline is live and does not need PREROLL waiting PLAY
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from pipeline1
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from pipeline1
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
[ error ] RtApiAlsa::probeDeviceOpen: pcm device (hw:0,3) won't open for input.
[verbose] ofGstUtils: gstHandleMessage(): async done
[verbose] execThread: starting command: bash --login -c 'ffmpeg -y -acodec pcm_s16le -f s16le -ar 44100 -ac 2 -i "/home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxarpipe0" -r 30 -s 640x480 -f rawvideo -pix_fmt rgb24 -i "/home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxvrpipe0" -r 30  -vcodec mpeg4 -b 800k -acodec mp3 -ab 192k "/home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/testMovie2016-12-24-22-27-02-345.mov"' &
[verbose] execThread: command completed successfully.
ffmpeg version 3.2.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-4) 20161202
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[verbose] ofxAudioDataWriterThread: opening pipe: /home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxarpipe0
[verbose] Recording.

[warning] ofxVideoDataWriterThread: got file descriptor 16
[verbose] ofxVideoDataWriterThread: opening pipe: /home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxvrpipe0
[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] ofxVideoRecorder: recDelta = -0.0333333. Too many video frames, skipping.

[verbose] Paused.

[verbose] ofxAudioDataWriterThread: closing pipe: /home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxarpipe0
[warning] ofxVideoDataWriterThread: got file descriptor 17
[verbose] ofxVideoDataWriterThread: closing pipe: /home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxvrpipe0
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, s16le, from '/home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxarpipe0':
  Duration: N/A, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Input #1, rawvideo, from '/home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/ofxvrpipe0':
  Duration: N/A, bitrate: 221184 kb/s
    Stream #1:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, 221184 kb/s, 30 tbr, 30 tbn, 30 tbc
Please use -b:a or -b:v, -b is ambiguous
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src
Output #0, mov, to '/home/videofelicitaties/VideoZuil2/ofxVideoRecorder/bin/data/testMovie2016-12-24-22-27-02-345.mov':
  Metadata:
    encoder         : Lavf57.56.100
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x480, q=2-31, 800 kb/s, 30 fps, 15360 tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.64.101 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/800000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: mp3 (libmp3lame) (.mp3 / 0x33706D2E), 44100 Hz, stereo, s16p, 192 kb/s
    Metadata:
      encoder         : Lavc57.64.101 libmp3lame
Stream mapping:
  Stream #1:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

@JobLeonard
Copy link
Contributor Author

JobLeonard commented Feb 23, 2017

Ok, a new year, a new attempt. Still not working. I used SimpleScreenRecorder to capture the screencast, maybe it shows you more useful information that I would miss:

https://www.youtube.com/watch?v=Ho4TISFpo14

Could this be a bug in Poco on certain versions of Ubuntu specifically?

@JobLeonard
Copy link
Contributor Author

JobLeonard commented Feb 26, 2017

So to test the hypothesis if the cause if ffmpeg, I downloaded ffmpeg-2.8.11 and ffmpeg-1.2.12, built them, and checked if using those instead of the version I had installed (ffmpeg-3.0.7-0ubuntu0.16.10.1) would make a difference. It doesn't.

This has to be a threading bug, somehow; ffmpeg consistently starts the moment the pipes are closed!

The question is if the cause of this bug is inside ofxVideoRecorder, openFrameworks or Ubuntu

@timscaffidi, if it's alright with you, I'd like to open a topic about this on the OF forums. Maybe others who are more familiar with ofThread have an idea what's going on?

@timscaffidi
Copy link
Owner

@JobLeonard just tested again on ubuntu 16.04, OF 0.9.8, and ffmpeg 2.8.11. Again it works as expected for me, so I am at a loss. Feel free to post on the forums about this because I am not sure how else to troubleshoot at this point.

ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

@emmanuelgeoffray
Copy link

I get the same issue with ubuntu 16.04, oF 0.9.8, ffmpeg 3.2
Did you find a solution @JobLeonard ?

@JobLeonard
Copy link
Contributor Author

Oh, I never mentioned this here, I'm sorry, but I got it to "work" if I turned the audio off. That is, requested a videostream only

Now that I think about it, didn't Ubuntu switch from ALSA to PulseAudio? Could that be related?

@emmanuelgeoffray
Copy link

thanks for the reply @JobLeonard !

@JobLeonard
Copy link
Contributor Author

Did it also fix your problem? Because then we can safely point to the audio as the culprit somehow

@timscaffidi
Copy link
Owner

If I had to guess, the reason that turning off audio works is because there is then only a single pipe into the ffmpeg process. If you open both audio and video pipes, ffmpeg will only read from the audio pipe if sufficient video frames have been read, and vice-versa. Thus, there must be some reason why ffmpeg cannot read from one of the pipes and is stuck waiting for more data. I have seen cases where the maximum amount of memory allocated to a FIFO pipe at the system level is too low can cause odd behavior such as this.

I don't have the time to properly look into this issue at the moment but maybe this can point some one in the right direction.

@JobLeonard
Copy link
Contributor Author

Would muting the mic affect it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants