[ffmpeg] play YUV/PCM with ffmpeg/ffplay
2016-08-08 15:09
495 查看
play raw video (YUV420 in this case):
or alternatively
play raw audio (pcm: f32le in this case)
where, -f is the pcm format; -ac is the audio channels; -ar is the audio sampling rate
ffplay -f rawvideo -pix_fmt yuv420p -video_size 1280x720 input_video.yuv
or alternatively
ffplay -f rawvideo -pixel_format yuv420p -video_size 1280x720 input_video.yuv
play raw audio (pcm: f32le in this case)
ffplay -f f32le -ac 1 -ar 48000 input_audio
where, -f is the pcm format; -ac is the audio channels; -ar is the audio sampling rate
相关文章推荐
- [ffmpeg] play YUV with ffmpeg/ffplay
- ffmpeg命令转音乐为wav格式,wav格式与PCM数据相互转换,ffplay播放PCM数据
- 利用ffmpeg将yuv转化成png;用ffplay播放yuv文件
- FFmpeg-利用ffplay.c保存视频解码后的数据yuv420
- ffmpeg实战教程(三)音频PCM采样为AAC,视频YUV编码为H264/HEVC
- ffmpeg将mp4解封装为yuv以及pcm测试代码
- 笔记:ffmpeg使用实例(bgr->yuv->h264, pcm->aac,加入音频重采样)
- AVI Player with Playmaker actions 视频格式转化之FFMPEG转化 (三)
- 笔记:ffmpeg使用实例:bgr->yuv->h264,pcm->aac,没有音频重采样
- NDK开发——FFmpeg实现视频转YUV、视频转RGB显示、音频转PCM、音频播放、音视频同步
- ffplay播放原始格式的音频文件(PCM)和视频文件(YUV)
- 笔记:ffmpeg使用实例:yuv->h264,pcm->aac
- ffmpeg将mp4解封装为yuv以及pcm测试代码2
- ffmpeg提取YUV和PCM
- play with the winner
- 基于FFmpeg的YUV多图像拼接方法(附代码)
- ffmpeg学习(3)—— ffmpeg,ffplay,ffprobe
- FFMPEG-初探认识-YUV转RGB用例
- FFMPEG学习----使用SDL播放PCM数据
- 在Ubuntu成功编译FFmpeg并生成ffplay