当前位置:网站首页>【初学者必看】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视频轨

边栏推荐
- Fleet | background Discovery issue 3: Status Management
- IPDK — Overview
- 信创操作系统--麒麟Kylin桌面操作系统 (项目十 安全中心)
- Spark SQL generate JSON
- Smart supplier management system for chemical manufacturing industry deeply explores the field of supplier management and improves supply chain collaboration
- Oracle11g database uses expdp to back up data every week and upload it to the backup server
- ROS knowledge points - definition and use of topic messages
- 一个bug肝一周...忍不住提了issue
- REDIS00_详解redis.conf配置文件
- Deep learning convolutional neural network of machine learning to realize handwritten font recognition based on CNN network
猜你喜欢

Fleet | background Discovery issue 3: Status Management

What! 一条命令搞定监控?

See how the interface control devaxpress WinForms creates a virtual keyboard
PostgreSQL enables grouping statistics by year, month, day, week, hour, minute and second

10:00面试,10:02就出来了 ,问的实在是太...

In depth learning foundation summary

MIPS汇编语言学习-03-循环

among us私服搭建

部门新来了个字节25K出来的,让我见识到了什么是天花板

Express template engine
随机推荐
OpenHarmony—内核对象事件之源码详解
wallys/DR7915-wifi6-MT7915-MT7975-2T2R-support-OpenWRT-802.11AX-supporting-MiniPCIe-Module
部门新来了个字节25K出来的,让我见识到了什么是天花板
Express template engine
Soliciting articles and contributions - building a blog environment with a lightweight application server
among us私服搭建
Fleet | background Discovery issue 3: Status Management
Expand Disk C (allocate the memory of disk d to Disk C)
Go zero micro Service Practice Series (VII. How to optimize such a high demand)
PostgreSQL实现按年、月、日、周、时、分、秒的分组统计
5分钟的时间制作一个反弹球游戏
MIPS assembly language learning -02- logic judgment - foreground input
Oracle11g database uses expdp to back up data every week and upload it to the backup server
关注35岁的坎:畏惧是因为你没有匹配这个年纪该有的能力
实验6 8255并行接口实验【微机原理】【实验】
MIPS assembly language learning-03-cycle
3. Caller 服务调用 - dapr
机器学习之深度学习卷积神经网络,实现基于CNN网络的手写字体识别
GCC efficient graph revolution for joint node representationlearning and clustering
Do not use short circuit logic to write STL sorter multi condition comparison