Question / Help OBS was working, now fails to record on Ubuntu 16.04

DesmondM

New Member
Hello. I had success recording about 15 videos from my PVR with OBS on Ubuntu 16.04, now it has failed on the last dozen attempts. After early success recording to mp4 files,a first failure led me to try flv format. It worked once and since that now also fails to record. Only minor OS updates have changed during this time.
The video always appears on the computer screen, and the numbers below appear appropriate - a moving clock of time recorded and CPU use around 18% . A file appears in the designated folder with the current date; however it is usually small - about 8 MB for a recording which typically is usually 10-20 times that size. When clicked on, the file does not play: in Parole Media player it says " Gstreamer backend error. No playable streams found ". VLC player provides no feedback. Drag and drop into OBS window provides no playback or message.

I've tried to update OBS without any success. Any suggestions please ?

Here's the Log file and v4l2 info below.

v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2

Index : 1
Type : Video Capture
Pixel Format: 'RGBP'
Name : 16-bit RGB 5-6-5

Index : 2
Type : Video Capture
Pixel Format: 'BA81'
Name : 8-bit Bayer BGBG/GRGR

Index : 3
Type : Video Capture
Pixel Format: 'GRBG'
Name : 8-bit Bayer GRGR/BGBG

Index : 4
Type : Video Capture
Pixel Format: 'GBRG'
Name : 8-bit Bayer GBGB/RGRG

Index : 5
Type : Video Capture
Pixel Format: '411P'
Name : Planar YUV 4:1:1


08:21:22 PM.284: Processor: 4 logical cores
08:21:22 PM.284: Processor: Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz
08:21:22 PM.284: Physical Memory: 7635MB Total
08:21:22 PM.284: Kernel Version: Linux 4.4.0-77-generic
08:21:22 PM.284: Distribution: "Ubuntu" "16.04"
08:21:22 PM.285: Portable mode: false
08:21:22 PM.294: OBS 18.0.1 (linux)
08:21:22 PM.294: ---------------------------------
08:21:22 PM.295: ---------------------------------
08:21:22 PM.295: audio settings reset:
08:21:22 PM.295: samples per sec: 44100
08:21:22 PM.295: speakers: 2
08:21:22 PM.321: OpenGL version: 3.3 (Core Profile) Mesa 12.0.6
08:21:22 PM.321:
08:21:22 PM.369: ---------------------------------
08:21:22 PM.370: video settings reset:
08:21:22 PM.370: base resolution: 1920x1080
08:21:22 PM.370: output resolution: 1280x720
08:21:22 PM.370: downscale filter: Lanczos
08:21:22 PM.370: fps: 30/1
08:21:22 PM.370: format: NV12
08:21:22 PM.370: ---------------------------------
08:21:22 PM.374: No blackmagic support
08:21:22 PM.382: VLC found, VLC video source enabled
08:21:22 PM.382: ---------------------------------
08:21:22 PM.382: Loaded Modules:
08:21:22 PM.382: vlc-video.so
08:21:22 PM.382: text-freetype2.so
08:21:22 PM.382: rtmp-services.so
08:21:22 PM.382: obs-x264.so
08:21:22 PM.382: obs-transitions.so
08:21:22 PM.382: obs-outputs.so
08:21:22 PM.382: obs-libfdk.so
08:21:22 PM.382: obs-filters.so
08:21:22 PM.382: obs-ffmpeg.so
08:21:22 PM.383: linux-v4l2.so
08:21:22 PM.383: linux-pulseaudio.so
08:21:22 PM.383: linux-jack.so
08:21:22 PM.383: linux-decklink.so
08:21:22 PM.383: linux-capture.so
08:21:22 PM.383: linux-alsa.so
08:21:22 PM.383: image-source.so
08:21:22 PM.383: frontend-tools.so
08:21:22 PM.383: ==== Startup complete ===============================================
08:21:22 PM.383: Service '' not found
08:21:22 PM.383: Switched to Preview/Program mode
08:21:22 PM.383: ------------------------------------------------
08:21:22 PM.384: All scene data cleared
08:21:22 PM.384: ------------------------------------------------
08:21:22 PM.387: pulse-input: Server name: 'pulseaudio 8.0'
08:21:22 PM.388: pulse-input: An error occurred while getting the source info!
08:21:22 PM.388: pulse-input: Server name: 'pulseaudio 8.0'
08:21:22 PM.388: pulse-input: An error occurred while getting the source info!
08:21:22 PM.388: [Media Source 'Media Source']: settings:
08:21:22 PM.388: input: /home/dj/Videos/xFiles CancerManP1.flv
08:21:22 PM.388: input_format: (null)
08:21:22 PM.388: is_looping: no
08:21:22 PM.388: is_forcing_scale: yes
08:21:22 PM.388: is_hw_decoding: no
08:21:22 PM.388: is_clear_on_media_end: yes
08:21:22 PM.388: restart_on_activate: yes
08:21:22 PM.388: v4l2-input: Start capture from /dev/video0
08:21:23 PM.000: v4l2-input: Input: 1
08:21:23 PM.180: v4l2-input: Resolution: 720x480
08:21:23 PM.180: v4l2-input: Pixelformat: VYUY
08:21:23 PM.180: v4l2-input: Linesize: 1440 Bytes
08:21:23 PM.180: v4l2-input: Framerate: 29.97 fps
08:21:23 PM.181: pulse-input: Server name: 'pulseaudio 8.0'
08:21:23 PM.181: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
08:21:23 PM.182: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
08:21:23 PM.185: Switched to scene 'Scene'
08:21:23 PM.185: ------------------------------------------------
08:21:23 PM.185: Loaded scenes:
08:21:23 PM.185: - scene 'Scene':
08:21:23 PM.185: - source: 'Video Capture Device (V4L2)' (v4l2_input)
08:21:23 PM.185: - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
08:21:23 PM.185: - source: 'Media Source' (ffmpeg_source)
08:21:23 PM.185: ------------------------------------------------
08:21:23 PM.312: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
08:21:25 PM.438: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
08:21:39 PM.941: User Removed source 'Media Source' (ffmpeg_source) from scene 'Scene'
08:21:45 PM.568: User switched to scene 'Scene'
08:21:45 PM.569: Switched to regular Preview mode
08:21:45 PM.569: ------------------------------------------------
08:22:19 PM.068: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
08:23:30 PM.283: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
08:28:19 PM.648: rtmp-common.c: [initialize_output] Could not find service ''
08:28:19 PM.648: rtmp-common.c: [initialize_output] Could not find service ''
08:28:19 PM.649: ---------------------------------
08:28:19 PM.649: [x264 encoder: 'simple_h264_stream'] preset: veryfast
08:28:19 PM.665: [x264 encoder: 'simple_h264_stream'] settings:
08:28:19 PM.665: rate_control: CBR
08:28:19 PM.665: bitrate: 2500
08:28:19 PM.665: buffer size: 2500
08:28:19 PM.665: crf: 0
08:28:19 PM.665: fps_num: 30
08:28:19 PM.665: fps_den: 1
08:28:19 PM.665: width: 1280
08:28:19 PM.665: height: 720
08:28:19 PM.665: keyint: 250
08:28:19 PM.665: vfr: off
08:28:19 PM.665:
08:28:19 PM.693: libfdk_aac encoder created
08:28:19 PM.693: libfdk_aac bitrate: 160, channels: 2
08:28:19 PM.707: ==== Recording Start ===============================================
08:28:19 PM.707: [ffmpeg muxer: 'simple_file_output'] Writing file '/home/dj/Videos/2017-05-11_20-28-19.flv'...
08:29:26 PM.073: [ffmpeg muxer: 'simple_file_output'] Output of file '/home/dj/Videos/2017-05-11_20-28-19.flv' stopped
08:29:26 PM.073: Output 'simple_file_output': stopping
08:29:26 PM.073: Output 'simple_file_output': Total encoded frames: 1990
08:29:26 PM.073: Output 'simple_file_output': Total drawn frames: 1991
08:29:26 PM.073: ==== Recording Stop ================================================
08:29:26 PM.088: libfdk_aac encoder destroyed
08:30:37 PM.199: rtmp-common.c: [initialize_output] Could not find service ''
 
Top