当前位置:网站首页>【初学者必看】vlc实现的rtsp服务器及转储H264文件
【初学者必看】vlc实现的rtsp服务器及转储H264文件
2022-06-28 15:41:00 【Anuttarasamyasambodh】
小伙伴们在初学流媒体时往往会遇到以下问题:
1.找不到合适的rtsp测试地址;
2.找不到合适的h264测试文件;
其实soeasy,找不到咱就自己做!
准备工具:
VLC,下载地址在官方下载:VLC media player,最棒的开源播放器 - VideoLAN
UltraEdit
StreamEye
开整!
1. 打开vlc,选择 媒体--流

2. 选择 文件,点击 添加,选择一个MP4文件,点击 串流

3. 没啥好说的点击下一步

4.新目标选择 RTSP,然后点击 添加

5. 根据个人喜好设置播放rtsp的端口和路径

6. 不要勾选 激活转码(别问我为什么我我不知道!),配置文件选择 Video - H.264 + MP3(MP4),然后点击后面那个扳子

7. 封装类型选择 MP4/MOV

8. 这里也没啥好说的直接点击 流
9. 好了,你现在已经有一台RTSP服务器了,赶紧打开另一个VLC测试下吧,根据上面配置的端口和地址输入播放地址就可以播放了哦哦

第一个问题解决了,下面来看第二个问题,还是用VLC实现:
1. 打开VLC,媒体--转换/保存
2.

3.

4.

5.
完成,最后验证一下,打开UE,将保存的h264文件不管死活硬拖进去

看到00 00 00 01,有67 68 65 41,分别是pps nalu,sps nalu,IDR nalu,P nalu,转储成功
还想继续分析的话再打开StreamEye,也是经常用到的一个裸码流分析工具,也可以从MP4中直接抽取h264视频轨

边栏推荐
- Complete model training routine (I)
- MIPS汇编语言学习-02-逻辑判断-前台输入
- 一种跳板机的实现思路
- Coding Devops helps Sinochem information to build a new generation of research efficiency platform and drive the new future of "online Sinochem"
- 厨卫电器行业S2B2C系统网站解决方案:打造S2B2C平台全渠道商业系统
- R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a data table to form a final result graph
- FFmpeg之禁止输出banner log(三十)
- 【MySQL】官网文档学习之查询语句sql注意事项
- Grand launch of qodana: your favorite CI code quality platform
- Summary of language features of fluent dart
猜你喜欢

讲师征集令 | Apache DolphinScheduler Meetup分享嘉宾,期待你的议题和声音!

Fleet |「後臺探秘」第 3 期:狀態管理

MIPS汇编语言学习-02-逻辑判断-前台输入

S2b2c system website solution for kitchen and bathroom electrical appliance industry: create s2b2c platform Omni channel commercial system

Curve 替换 Ceph 在网易云音乐的实践

Cross cluster deployment of helm applications using karmada
DBMS in Oracle_ output. put_ Line output problem solving process

Go zero micro Service Practice Series (VII. How to optimize such a high demand)

Openharmony - detailed source code of Kernel Object Events

Basic grammar of C language
随机推荐
一种跳板机的实现思路
PostgreSQL enables grouping statistics by year, month, day, week, hour, minute and second
C#/VB. Net to convert PDF to excel
Qt 界面库
PostgreSQL实现按年、月、日、周、时、分、秒的分组统计
Smart supplier management system for chemical manufacturing industry deeply explores the field of supplier management and improves supply chain collaboration
Xinchuang operating system -- kylin kylin desktop operating system (project 10 security center)
S2b2c system website solution for kitchen and bathroom electrical appliance industry: create s2b2c platform Omni channel commercial system
Expand Disk C (allocate the memory of disk d to Disk C)
What useful supplier management systems are available
一个bug肝一周...忍不住提了issue
MIPS汇编语言学习-03-循环
DBMS in Oracle_ output. put_ Line output problem solving process
Talking about open source - Linus and Jim talk about open source in China
Web worker poll request
The best time to buy and sell stocks
web Worker 轮询请求
The past and present life of distributed cap theorem
CODING DevOps 助力中化信息打造新一代研效平台,驱动“线上中化”新未来
Do not use short circuit logic to write STL sorter multi condition comparison