Recently discovered some websites, can parse each big video website VIP. Think carefully, this is also a reptile, crawling is video data.First select a video site, I chose the film encyclopedia, and then choose the film soon released "a show."Analysis pageI'm using a Chrome browser, F12 into the view. Select the doc in the network and find the data from the main
Recently in the study of some of the web players, Videojs\ckplayer\jwplayer and other page players, found that in the video playback, some MP4 format video is not able to play on the side of the cache, read some information online, found that these MP4 format video, " metadata information is not in the first frame
A MP4 conversion tool was also found on one of t
searches for plugin from the Plugin-path specified in vlcrc and the modules and plugins directories in the current directory.Most VLC functions are implemented through plugin. By default, VLC has a large number of dynamic plug-ins. For example, the official VLC 0.8.6e has 210 plug-ins. To speed up startup, VLC caches the plugin list in % appdata % \ VLC \ cache. The plugins-Cache option is set to 0 to disable caching plugin.Open a UDP multicast stream. The default port is 4567.For the RTP proto
TS is all called mpeg2-ts, the abbreviation for "Transport Stream". The mpeg2-ts format is characterized by the requirement to decode independently from any segment of the video stream. Some website video is the TS format, the use
**************************************** **************************************** ********************I. Ts Encapsulation1. IntroductionMPEG2 transport stream (TS Stream) is a data stream defined according to the ITU-T Rec. h.222.0 | ISO/IEC 13818-1 protocol.To transfer and store the encoding data of one or more programs in an environment where serious errors may occur.
To put it simply, the MKV and AVI formats only encapsulate containers, which encapsulate video streams and audio streams. The container does not affect the image quality. What affects the quality is what is encapsulated in the container. Therefore, changing the container does not affect definition subtitle audio.
I would like to add some basic knowledge about video. Maybe there is something wrong with it.
F
bytes of the access unit from the decoding buffer.
3) Audio and video synchronization: Pts/dts + SCR (System reference clock), System time clock
4. TS Stream (transport stream transmit stream)
1) The TS Stream consists of a TS Package (188 bytes), the TS package is on the
Slice generates m3u8 List command:
ffmpeg-i input.mp4-c:v libx264-c:a aac-strict-2-F HLS output.m3u8
The length of the default per piece (that is, a TS file) for this conversion command is the only last 5 piece of information that is saved by default in the 2s,m3u8 list file, that is, the player can only broadcast the last 5 TS video files in the pull stream.
Thi
First, Introduction
The MPEG2 system is used for AV synchronization and time labels for system clock recovery in the 3 levels of es,pes and TS respectively.
On the TS layer, the TS header information contains the program Clock Reference PCR (Programme clock Reference),
It is used to recover the system timing clock STC, which is consistent with the encoder end.
In
Get the function code of the video PID from the PMT table
Implementation of the GETPMTPID function see: http://blog.csdn.net/myaccella/article/details/6982596
#define MAKE_PID (P) (((p[0]#define Make_word (H, L) ((h)
Structure definition of Little endian
typedef struct {unsigned stream_type:8;
unsigned elementary_pid_high:5;Unsigned:3;
unsigned elementary_pid_low:8;
unsigned es_info_length_high:4;Unsigned:4;
unsigned es_info_length_low:8;}mpegpmtst
The previous article describes the packaging format of the PES header, this article describes the packet format of the TS package
1.TS Baotou Format
The TS Stream, the transport stream, is a further encapsulation of the PES package, the base unit is TS Packet, fixed a packet size of 188 bytes (or 204 bytes, plus 16 b
This article introduces the differences between ts-based vc6 and vc9 compiling versions in PHP. For more information, see
Differences between ts-based PHP and ts-vc6 and vc9-php Basics:
VC6: legacy Visual Studio 6 compiler, which is compiled using this compiler.VC9: Visual Studio 2008 compiler, which is compiled by Microsoft VS editor.Because apache.org only pro
Statement 1:
Although Isma and MPEG-2 ts over IP can be used for IPTV stream transmission, but due to the Mechanism and the original intention of different standards, there are some differences in IPTV service support, the specific analysis is as follows:
1. Support for business functions
Isma currently supports MPEG-4 and H.264 and does not support other encoding standards. As video and audio streams are t
The differences between ts-based PHP and the ETS version-vc6 and vc9 are described in detail. VC6: legacyVisualStudio6compiler, which is compiled using this compiler. VC9: VisualStudio2008compiler, which is compiled by Microsoft VS editor. Apache.org only provides VC6: legacy Visual Studio 6 compiler, which is compiled using this compiler.
VC9: Visual Studio 2008 compiler, which is compiled by Microsoft VS editor.
Because apache.org only provides the
Based on the definition and structure of each data in the previous article, the data is parsed as follows:
TS header definition:
Typedef struct ts_packet_header{Unsigned sync_byte: 8; // Synchronization Byte, fixed to 0x47, indicating a TS groupUnsigned transport_error_indicator: 1; // Transmission Error Code IndicatorUnsigned payload_unit_start_indicator: 1; // start indicator of the effective load unitUns
The simulation implements printf function output as follows, ' d ' output shaping, ' C ' output character type, ' s ' output string, other output in its own formmy_printf ("dc\ts\ndc\ndc\ts!", 1, ' B ', "Zhangweina", 2, ' I ', 3, ' t ', "Welcome to You");Some small knowledge of the mutable parameter list:Macro Stdard.hVa_list declaring a typeVa_start The first argument is the name of the va_list variable, a
Prior to the establishment of Isma, the active image expert group defined the reuse of one or more audio, video, and data element streams when developing MPEG-2 system standards
Method, MEPG-2 standards were officially released in November 1994. The data stream is packaged with a time mark to form a encapsulated element stream (PES ). Audio
, Video and data (optional) PES are reused together to form a singl
Live broadcasting: The existing Isma method. The process is as follows:
Video collection-> video encoding-> RTP packaging-> UDP multicast;
Audio collection-> Audio Encoding-> RTP packaging-> UDP multicast;
The above is the workflow of mp4live.
Live Video: mpeg ts stream mode. The process is as follows:
I recently encountered a headache caused by the IsDB code stream issue. I have found a lot of relevant materials to learn. The following is an excerpt from the Internet:
It should be said that after truly understanding TS and reading the book "digital TV business information and coding" recommended by friends, MPEG2 TS and digital TV are closely inseparable, it is worth summarizing some of these relationsh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.