文件名称:FLV-MergeVideo
-
所属分类:
- 标签属性:
- 上传时间:2013-05-08
-
文件大小:11.6kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这是一个可以将从网上下载的零碎小片断的FLV视频,合并成一个文件的小程序。
合并FLV文件的注意事项最重要的有三点:
1.只有第一个FLV文件才需要保留脚本标签,删除后面的FLV文件的脚本标签。
2.更改第一个FLV文件脚本标签中的持续时间值(把后面的FLV文件的持续时间值累加上去)。这里要注意的是:FLV文件与VB的双精度值的字节顺序是相反的。
3.后面的FLV文件中,所有视频标签和音频标签中的时间戳,要加上第一个FLV文件中的“持续时间”这个元素值,再加上56(视频标签时间戳)或26(音频标签时间戳,加26是因为FLV的音频类型基本上都是mp3,而mp3每帧的时长都是26ms)。
附件中的程序代码已经做了适当的注释,不过,想要完全弄明白,请参阅笔者写的《FLV文件数据结构》一文。-This is a can be downloaded from the Internet the small fragments of the FLV video, merged into one document small program.
Notes with FLV files is the most important of the three point:
1 only the first FLV file only needs to retain the scr ipt tag, delete the back FLV file scr ipt tags.
2 change the duration of the first FLV file scr ipt tag value (the last time behind the FLV file values accumulated.). It should be noted here is: sequential byte double precision FLV file and the value of VB is the opposite of.
After the 3 FLV files, all video and audio timestamp tag label, with the first FLV file in the "duration" of the element value, plus 56 (video label timestamp) or 26 (audio tags timestamp, plus 26 is because the FLV audio types on the basis of are MP3 and MP3, each frame duration is 26ms).
In the annex to the program code has to do the appropriate annotations, however, want to fully understand, please refer to the author to write "FLV" a text file data structure.
合并FLV文件的注意事项最重要的有三点:
1.只有第一个FLV文件才需要保留脚本标签,删除后面的FLV文件的脚本标签。
2.更改第一个FLV文件脚本标签中的持续时间值(把后面的FLV文件的持续时间值累加上去)。这里要注意的是:FLV文件与VB的双精度值的字节顺序是相反的。
3.后面的FLV文件中,所有视频标签和音频标签中的时间戳,要加上第一个FLV文件中的“持续时间”这个元素值,再加上56(视频标签时间戳)或26(音频标签时间戳,加26是因为FLV的音频类型基本上都是mp3,而mp3每帧的时长都是26ms)。
附件中的程序代码已经做了适当的注释,不过,想要完全弄明白,请参阅笔者写的《FLV文件数据结构》一文。-This is a can be downloaded from the Internet the small fragments of the FLV video, merged into one document small program.
Notes with FLV files is the most important of the three point:
1 only the first FLV file only needs to retain the scr ipt tag, delete the back FLV file scr ipt tags.
2 change the duration of the first FLV file scr ipt tag value (the last time behind the FLV file values accumulated.). It should be noted here is: sequential byte double precision FLV file and the value of VB is the opposite of.
After the 3 FLV files, all video and audio timestamp tag label, with the first FLV file in the "duration" of the element value, plus 56 (video label timestamp) or 26 (audio tags timestamp, plus 26 is because the FLV audio types on the basis of are MP3 and MP3, each frame duration is 26ms).
In the annex to the program code has to do the appropriate annotations, however, want to fully understand, please refer to the author to write "FLV" a text file data structure.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FLV视频合并/FLV.ico
FLV视频合并/FLV文件数据结构以及读取其脚本信息的代码.txt
FLV视频合并/Form6.frm
FLV视频合并/Form6.frx
FLV视频合并/工程1.vbp
FLV视频合并/工程1.vbw
FLV视频合并
FLV视频合并/FLV文件数据结构以及读取其脚本信息的代码.txt
FLV视频合并/Form6.frm
FLV视频合并/Form6.frx
FLV视频合并/工程1.vbp
FLV视频合并/工程1.vbw
FLV视频合并
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.