Commit Graph

425 Commits

Author SHA1 Message Date
mpromonet
ef64a350ba remove obsolete -T option 2018-12-08 21:29:07 +00:00
mpromonet
7cd878c6db extract memory buffer from HLS mediasubsession 2018-12-08 21:24:59 +00:00
mpromonet
fbdc2bc710 extract sendfile 2018-12-08 20:34:23 +00:00
mpromonet
df5215a75f for #117: allow to stream over http without muxing unicast/multicast stream 2018-12-08 19:58:11 +00:00
mpromonet
252d613c9d fix path of installed hls 2018-12-08 15:14:30 +00:00
mpromonet
65560567c3 for #118: update service template to fix path to get index.html 2018-12-08 14:44:43 +00:00
mpromonet
95b0976fde fix JPEG quantization size 2018-10-18 20:10:55 +00:00
Michel Promonet
b48c160520
Update MJPEGVideoSource.cpp 2018-10-10 01:14:33 +02:00
Michel Promonet
31f91beb4a
Update MJPEGVideoSource.cpp 2018-10-10 00:09:11 +02:00
mpromonet
3ecbb974c6 fix raw depth 2018-09-22 21:26:45 +00:00
mpromonet
7fef21b762 use cmake option to set c++11 2018-09-22 18:56:46 +00:00
Michel Promonet
c960a44846 try to support video/RAW 2018-09-07 23:31:32 +02:00
Michel Promonet
5936006374 for #106 update install path 2018-09-01 00:24:46 +02:00
Michel Promonet
d87bd7c584
Update README.md 2018-07-12 00:29:27 +02:00
Michel Promonet
7ead7613fe fox #100: try to add audio/PCMA & audio/PCMU 2018-05-26 17:40:53 +02:00
Michel Promonet
35218bac5d
Update README.md 2018-05-09 12:27:03 +02:00
Michel Promonet
af948dfdd6
Merge pull request #95 from walterav1984/patch-1
Update README.md default alsa capture is S16_LE
2018-04-13 20:56:11 +02:00
Walter Sonius
0c1bb70761
Update README.md default alsa capture is S16_LE
Although the default RTP payload stream is S16_BE the "v4l2rtspserver" defaults to S16_LE while not specifying any format shown with the following use cases in this post.  See specifically `./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicb #noise, default is LE>BE!!!`.

This can be a bug in code or mistake in documentation you may choose what/where to fix :-).

Reproducable steps:
Add the following code to your `~/.asoundrc` that's in your `/home/pi` folder, `/etc/asound.conf` is not used in my example!
```
pcm.virtmica {
    type file
    format "raw"
    file "/dev/null"
    infile "/home/pi/music16le.raw"
    slave.pcm "default"
}
pcm.virtmicb {
    type file
    format "raw"
    file "/dev/null"
    infile "/home/pi/music16be.raw"
    slave.pcm "default"
}
pcm.virtmicc {
    type file
    format "raw"
    file "/dev/null"
    infile "/home/pi/music32le.raw"
    slave.pcm "default"
}
pcm.virtmicd {
    type file
    format "raw"
    file "/dev/null"
    infile "/home/pi/music32be.raw"
    slave.pcm "default"
}
```
Create some raw pcm music sources with `ffmpeg`, which I use a minute(s) long mp3 music file for (16bit 44100Hz stereo) in my example. Use filenames that resemble code above and use long enough samples as in minutes not seconds, since as soon as the v4l2rtspserver is started the music file starts playing and will not loop!

```
sudo apt-get install ffmpeg
ffmpeg -i music.mp3 -f s16le -acodec pcm_s16le /home/pi/music16le.raw
ffmpeg -i music.mp3 -f s16be -acodec pcm_s16be /home/pi/music16be.raw
ffmpeg -i music.mp3 -f s32le -acodec pcm_s32le /home/pi/music32le.raw
ffmpeg -i music.mp3 -f s32be -acodec pcm_s32be /home/pi/music32be.raw
```
Test `v4l2rtspserver` (before commit 41589c8) with the virtual alsa devices and sample files you just made:
```
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmica #you hear music
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmica -a S16_LE #you hear music
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmica -a S16_BE #noise

./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicb #noise, default is LE>BE!!!
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicb -a S16_LE #noise
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicb -a S16_BE #you hear music

./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicc #slow/offpitch music :-)
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicc -a S32_LE #recognizable interupted music with gaps
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicc -a S32_BE #noise with gaps

./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicd #noise
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicd -a S32_LE #noise with gaps
./v4l2rtspserver -F 25 -W 1280 -H 720 -P 8555 /dev/video0,virtmicd -a S32_BE #recognizable interupted music with gaps

```
2018-04-10 12:49:25 +02:00
Michel Promonet
6b4753c473 compile x86 with alsa 2018-04-06 20:23:47 +02:00
Michel Promonet
5bd57a9ca6 fix compilation with HAVE_ALSA 2018-04-06 20:20:08 +02:00
Michel Promonet
41589c8220 try to set audio payload according to audio capture format 2018-04-04 23:45:27 +02:00
Michel Promonet
14519538a9
Update README.md 2018-04-04 08:39:54 +02:00
Michel Promonet
6b440f64dc
Update README.md 2018-04-02 18:59:08 +02:00
Michel Promonet
932c83dc00 add an option -G to configure width x height x fps 2018-03-25 19:29:21 +02:00
Michel Promonet
1d40bf223a
add docker info in readme 2018-03-25 19:05:03 +02:00
Michel Promonet
465f1de284 for circelci try to use CIRCLE_TAG 2018-03-03 12:47:31 +01:00
Michel Promonet
c99b082dea for circelci install golang 2018-03-03 12:35:45 +01:00
Michel Promonet
846a668c3e add docker file 2018-03-03 12:01:49 +01:00
Michel Promonet
9cf3c9da00 try circleci for github release 2018-03-03 11:48:31 +01:00
Michel Promonet
55ea4b8932 fix unsigned/signed warning 2018-02-25 23:55:20 +01:00
Michel Promonet
556b5dfde4 remove EXCLUDE_FROM_ALL and use make install for building libv4l2cpp 2018-02-25 23:53:00 +01:00
Michel Promonet
ca56017164 move ifdef HAVE_ALSA to fix unused variable when ALSA is not available 2018-02-25 23:48:06 +01:00
Michel Promonet
45c48269f1 upgrade v4l2wrapper 2018-02-25 22:47:31 +01:00
mpromonet
593aa562b5 try apt-get install 2018-02-17 16:41:15 +00:00
mpromonet
18ff4c4266 add apt sources in travis 2018-02-17 15:58:55 +00:00
mpromonet
b86cb1381c upgrade minimal cmake release 2018-02-17 15:46:02 +00:00
mpromonet
3eb2d41138 retry mips build on travis 2018-02-17 15:45:07 +00:00
Michel Promonet
cd6d6f18dc try to collect artifacts after build jobs 2018-02-05 00:39:37 +01:00
Michel Promonet
06a2378549 try to collect artifacts after build jobs 2018-02-05 00:32:15 +01:00
Michel Promonet
956baa4723 try to collect artifacts after build jobs 2018-02-05 00:21:42 +01:00
Michel Promonet
4b0cef5568 try to collect artifacts after build jobs 2018-02-05 00:16:19 +01:00
Michel Promonet
691e8d9d90 try to collect artifacts after build jobs 2018-02-04 23:59:59 +01:00
Michel Promonet
f8e1d39bb6 try to collect artifacts after build jobs 2018-02-04 23:56:46 +01:00
Michel Promonet
0b1fffde1a Merge branch 'master' of https://github.com/mpromonet/v4l2rtspserver 2018-02-04 23:47:22 +01:00
Michel Promonet
b68dccd7d8 try to collect artifacts after build jobs 2018-02-04 23:47:14 +01:00
Michel Promonet
e0034bbcd3
add circleci badge 2018-02-04 22:11:05 +01:00
Michel Promonet
1c4dcc0f6e try to build mips 2018-02-04 21:55:36 +01:00
Michel Promonet
6dfe3cde9d try to build mips 2018-02-04 21:52:54 +01:00
Michel Promonet
29003ccb08 try to build rpi with circleci 2018-02-04 21:23:34 +01:00
Michel Promonet
da0b39b53e remvove sudo in circleci script 2018-02-04 21:13:12 +01:00