Commit Graph

69 Commits

Author SHA1 Message Date
Michel Promonet
e988000578
Update README.md 2019-03-29 22:49:22 +01:00
mpromonet
4a85611e24 add -G in readme 2019-03-02 11:08:04 +00:00
Michel Promonet
fe681c3269
Update README.md 2019-02-25 09:18:05 +01:00
Michel Promonet
8c092f2821 add cirrus build 2019-02-24 20:17:50 +00:00
Michel Promonet
5ea82aea28
Update README.md 2018-12-13 00:22:13 +01:00
mpromonet
ef64a350ba remove obsolete -T option 2018-12-08 21:29:07 +00:00
Michel Promonet
d87bd7c584
Update README.md 2018-07-12 00:29:27 +02:00
Michel Promonet
35218bac5d
Update README.md 2018-05-09 12:27:03 +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
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
1d40bf223a
add docker info in readme 2018-03-25 19:05:03 +02:00
Michel Promonet
e0034bbcd3
add circleci badge 2018-02-04 22:11:05 +01:00
Michel Promonet
9dd20de21f
Update README.md 2017-12-16 17:30:42 +01:00
Michel Promonet
16f8164e0c
Update README.md 2017-12-10 00:34:59 +01:00
Michel Promonet
048e04e5e0
Update README.md 2017-11-30 22:46:19 +01:00
mpromonet
e286bad341 update readme 2017-10-15 16:55:23 +02:00
The Codacy Badger
af7c528c1d Add Codacy badge 2017-08-16 22:41:44 +00:00
Michel Promonet
4cb4c35d0f Update audio supported format in readme 2017-08-06 17:02:25 +02:00
Michel Promonet
7a2eb4237d add explaination on md5 password in readme 2017-05-14 17:00:59 +02:00
Michel Promonet
d37c888e43 add download bagde 2017-05-13 22:40:29 +02:00
Michel Promonet
12d876adc0 Update README.md 2017-03-12 12:15:33 +01:00
Michel Promonet
271a91dfc4 Update README.md 2017-01-02 16:33:59 +01:00
Michel Promonet
728f8e8893 Update README.md 2017-01-02 16:32:49 +01:00
Michel Promonet
4ccf72a752 update readme 2016-09-18 11:07:47 +02:00
Michel Promonet
7ee9e13290 add release link in readme 2016-09-01 22:05:32 +02:00
mpromonet
af18d537ce fix #31: update command line description indicating -F0 disable fps setting 2016-08-13 15:36:10 +00:00
mpromonet
6df105f9ee update readme removing last line 2016-06-19 19:17:33 +02:00
mpromonet
dbee10479c first commit 2016-06-12 12:56:06 +00:00
mpromonet
0067d28b66 update README 2016-06-12 12:51:11 +00:00
mpromonet
96f8347c03 update README 2016-06-04 17:08:46 +00:00
mpromonet
ecd403584d fix #25 : fix error in live555 gen makefile command 2016-05-29 20:54:26 +00:00
mpromonet
f1abe10d32 fix #24: error in wget command 2016-05-29 20:52:22 +00:00
mpromonet
c29cef007e update command line description in README + print HLS/MPEG-DASH url 2016-05-24 21:45:08 +02:00
mpromonet
e7b082b130 update link to travis build 2016-05-18 19:09:47 +02:00
mpromonet
ee0f49e9b7 remove dependancy with libv4l 2016-03-05 16:27:54 +00:00
mpromonet
b315141405 add license of dependencies in readme and add download link 2016-02-07 17:16:10 +00:00
mpromonet
d849099a36 add license of dependencies in readme and add download link 2016-02-07 17:13:57 +00:00
mpromonet
f0b4e695e5 add covergae link to readme 2016-01-31 11:16:01 +01:00
mpromonet
6771bd099b add covergae link to readme 2016-01-31 11:14:29 +01:00
mpromonet
4d1b8f87ea add covergae link to readme 2016-01-31 11:11:25 +01:00
Michel Promonet
92c1ae593e update README adding link to v4l2tool to compress input stream 2015-10-18 00:22:34 +02:00
Michel Promonet
85838ea6a2 upgrade reade 2015-09-06 20:15:19 +02:00
Michel Promonet
65bce1b4d1 update readme 2015-09-05 18:09:13 +02:00
Michel Promonet
1ec5f4f987 delete the capture in the FramedSource 2015-08-01 18:39:46 +02:00
Michel Promonet
7a446afd47 add option to choose the RTSP server listening interface (issue #8) 2015-07-07 21:06:11 +02:00
Michel Promonet
2435332d4f add parameter to configure RTCP timeout 2015-05-03 23:38:49 +02:00
mpromonet
3c83669169 repeat config and add a option to disable this. set presentationTime with capture time (then SPS/PPS/IDR share same timestamp) 2015-04-25 16:46:23 +00:00
Michel Promonet
fd5ab40e01 try to add coverity 2015-03-25 22:46:11 +01:00
Michel Promonet
447087b43b update command help descripe in readme 2015-03-14 17:37:26 +01:00