Still no luck. I am not hitting your debug statement so it must be
something else. I definitely have file protocol turned on and I just
pulled from git.
jonsmirl@linaro-developer:~/libav$ ./avconv -v verbose -f alsa -ac 2
-i pulse -f video4linux2 -i /dev/video0 -strict experimental -vcodec
libx264 -acodec aac -ab 384k -hls_time 10 -hls_list_size 999999999
foo/output.m3u8
avconv version v10_beta1-621-g5a70a78, Copyright (c) 2000-2014 the
Libav developers
built on Apr 29 2014 12:55:04 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu8)
configuration: --prefix=/usr/local --enable-libx264 --enable-gpl
--disable-everything --enable-protocol='hls,file' --enable-muxer=hls
--enable-demuxer=avi --enable-decoder='pcm_s16le,rawvideo'
--enable-encoder='libx264,aac' --enable-indev='v4l2,alsa'
libavutil 53. 13. 0 / 53. 13. 0
libavcodec 55. 50. 0 / 55. 50. 0
libavformat 55. 16. 0 / 55. 16. 0
libavdevice 54. 0. 0 / 54. 0. 0
libavfilter 4. 4. 0 / 4. 4. 0
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 1. 2 / 2. 1. 2
[alsa @ 0x20a6c20] capture with some ALSA plugins, especially dsnoop, may hang.
[alsa @ 0x20a6c20] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'pulse':
Duration: N/A, start: 1398776179.995366, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[video4linux2 @ 0x20bb120] [8]Capabilities: 4000001
[video4linux2 @ 0x20bb120] Querying the device for the current frame size
[video4linux2 @ 0x20bb120] Setting frame size to 640x480
[video4linux2 @ 0x20bb120] Estimating duration from bitrate, this may
be inaccurate
Input #1, video4linux2, from '/dev/video0':
Duration: N/A, start: 71070.297891, bitrate: 147456 kb/s
Stream #1.0: Video: rawvideo, yuyv422, 640x480, 147456 kb/s, 30
fps, 1000k tbn
[buffer @ 0x20bbf60] w:640 h:480 pixfmt:yuyv422
[fps @ 0x20a2380] fps=30/1
[buffersink @ 0x20bd4e0] auto-inserting filter 'auto-inserted fifo 0'
between the filter 'fps for output stream 0:0' and the filter 'output
stream 0:0'
[format @ 0x20bd800] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'Parsed filter 0 null' and the filter 'format'
[scale @ 0x20a2e00] w:640 h:480 fmt:yuyv422 -> w:640 h:480 fmt:yuv420p flags:0x4
[abuffer @ 0x20a2d00] tb:1/48000 samplefmt:s16 samplerate: 48000 ch layout:0x3
[abuffersink @ 0x20a2ea0] auto-inserting filter 'auto-inserted fifo 0'
between the filter 'audio format for output stream 0:1' and the filter
'output stream 0:1'
[aformat @ 0x20a3780] auto-inserting filter 'auto-inserted resampler
0' between the filter 'Parsed filter 0 anull' and the filter 'audio
format for output stream 0:1'
[resample @ 0x20a4080] fmt:s16 srate:48000 cl:stereo -> fmt:fltp
srate:48000 cl:stereo
[libx264 @ 0x20bc760] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x20bc760] profile High, level 3.0
Output #0, hls, to 'foo/output.m3u8':
Metadata:
encoder : Lavf55.16.0
Stream #0.0: Video: libx264, yuv420p, 640x480, q=-1--1, 90k tbn, 30 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp, 384 kb/s
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo -> libx264)
Stream #0:0 -> #0:1 (pcm_s16le -> aac)
Could not write header for output file #0 (incorrect codec parameters
?): No such file or directory
[fps @ 0x20a2380] 0 frames in, 0 frames out; 0 frames dropped, 0
frames duplicated.
jonsmirl@linaro-developer:~/libav$ ./avconv -protocols
avconv version v10_beta1-621-g5a70a78, Copyright (c) 2000-2014 the
Libav developers
built on Apr 29 2014 12:55:04 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu8)
Supported file protocols:
Input:
file
hls
http
rtp
tcp
udp
Output:
file
http
rtp
tcp
udp
jonsmirl@linaro-developer:~/libav$ ./avconv -formats
avconv version v10_beta1-621-g5a70a78, Copyright (c) 2000-2014 the
Libav developers
built on Apr 29 2014 12:55:04 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu8)
File formats:
D. = Demuxing supported
.E = Muxing supported
--
E adts ADTS AAC (Advanced Audio Coding)
D alsa ALSA audio input
D asf ASF (Advanced / Active Streaming Format)
D avi AVI (Audio Video Interleaved)
E ffm FFM (AVserver live feed)
E hls Apple HTTP Live Streaming
E latm LOAS/LATM
D mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
DE mpegts MPEG-TS (MPEG-2 Transport Stream)
D rm RealMedia
D rtsp RTSP input
D video4linux2 Video4Linux2 device grab
jonsmirl@linaro-developer:~/libav$
--
Jon Smirl
[email protected]
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools