Comments (3)
Hi Yong
There are two parts to video streaming
Part 1 - carrying data over a network. This is what SharpRTSP does.
Part 2 - converting data (the NALs) back into still images. This is a job for a H264 decoder (a H264 decompression library) and is not something that SharpRTSP does.
There are several ways to convert NALs to still images.
Some people use classes provided by the operating system that use the hardware H264 decoders that are part of modern computer chipsets.
Some people use ffmpeg (a C library which is called as unmanaged code) to convert NALs to still images.
There is a C# port of part of ffmpeg called CSCodec project on github https://github.com/soywiz/cscodec but I don't know how good it is.
Anyway for your project you need to link to use SharpRTSP to get the NALs but then need to use something else to convert NALs into still images.
from sharprtsp.
Hi Yong
In my last post I forgot to say this....
The reason RTSP just carries 'data' and does not know what to do with it is because RTSP can carry lots of different video formats (MPEG1, MPEG2, H263, MPEG4, H264, VP8, MJPEG etc) and lots of different audio formats (u-law, a-law, G711, G723, Speex, AAC, AMR, MP3 etc).
So RTSP just carries blocks of data. RTSP usually knows what type of data it is but RTSP does not know what to do with the data.
It is the application that has to take the 'data' from RTSP and convert the data into images and into sounds and then show the images and play the sounds
from sharprtsp.
Hi Roger,
Thanks for your detail answer, I have tried to use ffmpeg to convert a rtsp stream into frames of still images and it worked out OK!
regards,
Yong
from sharprtsp.
Related Issues (20)
- The function AuthenticationBasic make a little mistake. HOT 1
- Bug with library Meziantou.Polyfill HOT 3
- Adding a video display for CameraExample
- Add H265 and MJPEG support HOT 5
- Android Port Conflict (.NET issue)
- Connection Close with bigger frame size and Unity HOT 3
- Simple H264 Encoder doesn't work with hardware decoders? HOT 2
- feed aac raw data to rtspserver HOT 1
- Android camera server HOT 8
- Could not write header for output file #0 (incorrect codec parameters ?): Server returned 400 Bad Request HOT 6
- TestCard MJPG example HOT 1
- AAC RTP packets with multiple AU units per packet HOT 4
- h265payload question HOT 3
- RtspCameraExample issue when client is Hikvision NVR HOT 1
- Artifacts in H.264 video stream HOT 7
- README File: Spelling Mistakes Correction HOT 2
- repo is behind NuGet package HOT 2
- Update NuGet package please? HOT 2
- netstandard2.1 only? HOT 1
- Rtsp over Http tunneling HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharprtsp.