当前位置:网站首页>【初学者必看】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 |「后台探秘」第 3 期:状态管理

Soliciting articles and contributions - building a blog environment with a lightweight application server

【LeetCode】13、罗马数字转整数

看界面控件DevExpress WinForms如何创建一个虚拟键盘

QT create 5.0.3 configuring qt4.8.7

Gbase Nantah General Motors appears at the 6th World Intelligence Conference

有哪些好用的供应商管理系统

Practice of curve replacing CEPH in Netease cloud music

Fleet | "backstage exploration" issue 3: status management
![Experiment 6 8255 parallel interface experiment [microcomputer principle] [experiment]](/img/70/394ccf6e08a0774acade1eb1b8bf00.png)
Experiment 6 8255 parallel interface experiment [microcomputer principle] [experiment]
随机推荐
扩充C盘(将D盘的内存分给C盘)
among us私服搭建
VC2010 编绎Qt5.6.3 提示 CVTRES : fatal error CVT1107:
PostgreSQL enables grouping statistics by year, month, day, week, hour, minute and second
Longest continuous sequence
R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a piece of text content to form a final result gra
GCC efficient graph revolution for joint node representationlearning and clustering
IPDK — Overview
PostgreSQL实现按年、月、日、周、时、分、秒的分组统计
ROS知识点——话题消息的定义与使用
Web worker poll request
R language uses the multinom function of NNET package to build an unordered multi classification logistic regression model, and uses regression coefficients and their standard errors to calculate the
Visual Studio 2010 配置和使用Qt5.6.3
Not being a meta universe now is like not buying a house 20 years ago!
数组中的第K大元素[堆排 + 建堆的实际时间复杂度]
【高并发基础】MySQL 不同事务隔离级别下的并发隐患及解决方案
Facebook! Adaptive gradient defeats manual parameter adjustment
Opengauss kernel: analysis of SQL parsing process
R language ggplot2 visualization: use the patchwork package to horizontally form two ggplot2 visualization results into a new result visualization combination diagram (using the | symbol)
R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a plot function visualization result to form a fin