<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Peng,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I see that the frame rate is set to 29.97 ( 60000 / 1001 / 2) but I don’t see any other timing information.<o:p></o:p></p>
<p class="MsoPlainText">Did you get the file to work?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Markus.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"> seq_parameter_set_data()<o:p></o:p></p>
<p class="MsoPlainText"> profile_idc = 100<o:p></o:p></p>
<p class="MsoPlainText"> constraint_set0_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> constraint_set1_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> constraint_set2_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> constraint_set3_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> level_idc = 40<o:p></o:p></p>
<p class="MsoPlainText"> seq_parameter_set_id = 0<o:p></o:p></p>
<p class="MsoPlainText"> chroma_format_idc = 1<o:p></o:p></p>
<p class="MsoPlainText"> bit_depth_luma_minus8 = 0<o:p></o:p></p>
<p class="MsoPlainText"> bit_depth_chroma_minus8 = 0<o:p></o:p></p>
<p class="MsoPlainText"> qpprime_y_zero_transform_bypass_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> seq_scaling_matrix_present_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> log2_max_frame_num_minus4 = 1<o:p></o:p></p>
<p class="MsoPlainText"> pic_order_cnt_type = 0<o:p></o:p></p>
<p class="MsoPlainText"> log2_max_pic_order_cnt_lsb_minus4 = 0<o:p></o:p></p>
<p class="MsoPlainText"> num_ref_frames = 4<o:p></o:p></p>
<p class="MsoPlainText"> gaps_in_frame_num_value_allowed_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> pic_width_in_mbs_minus1 = 119<o:p></o:p></p>
<p class="MsoPlainText"> pic_height_in_map_units_minus1 = 33<o:p></o:p></p>
<p class="MsoPlainText"> frame_mbs_only_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> mb_adaptive_frame_field_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> direct_8x8_inference_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> frame_cropping_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> frame_crop_left_offset = 0<o:p></o:p></p>
<p class="MsoPlainText"> frame_crop_right_offset = 0<o:p></o:p></p>
<p class="MsoPlainText"> frame_crop_top_offset = 0<o:p></o:p></p>
<p class="MsoPlainText"> frame_crop_bottom_offset = 2<o:p></o:p></p>
<p class="MsoPlainText"> vui_parameters_present_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> vui_parameters<o:p></o:p></p>
<p class="MsoPlainText"> aspect_ratio_info_present_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> aspect_ratio_idc = 1<o:p></o:p></p>
<p class="MsoPlainText"> overscan_info_present_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> overscan_appropriate_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> video_signal_type_present_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> video_format = 5<o:p></o:p></p>
<p class="MsoPlainText"> video_full_range_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> colour_description_present_flag = true<o:p></o:p></p>
<p class="MsoPlainText"> colour_primaries = 1<o:p></o:p></p>
<p class="MsoPlainText"> transfer_characteristics = 1<o:p></o:p></p>
<p class="MsoPlainText"> matrix_coefficients = 1<o:p></o:p></p>
<p class="MsoPlainText"> chroma_loc_info_present_flag = false<o:p></o:p></p>
<p class="MsoPlainText"> timing_info_present_flag = true<o:p></o:p></p>
<p class="MsoPlainText"><b> num_units_in_tick = 1001<o:p></o:p></b></p>
<p class="MsoPlainText"><b> time_scale = 60000<o:p></o:p></b></p>
<p class="MsoPlainText"> fixed_frame_rate_flag = true<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">H.264 SEI [offset 0x3B82A]<o:p></o:p></p>
<p class="MsoPlainText"> nal_unit()<o:p></o:p></p>
<p class="MsoPlainText"> forbidden_zero_bit = '0'<o:p></o:p></p>
<p class="MsoPlainText"> nal_ref_idc = 0<o:p></o:p></p>
<p class="MsoPlainText"> nal_unit_type = 6<o:p></o:p></p>
<p class="MsoPlainText"> pic_timing<o:p></o:p></p>
<p class="MsoPlainText"> cpb_removal_delay = 2<o:p></o:p></p>
<p class="MsoPlainText"> dpb_output_delay = 0<o:p></o:p></p>
<p class="MsoPlainText"> pic_struct = 3<o:p></o:p></p>
<p class="MsoPlainText"> clock_timestamp[0]<o:p></o:p></p>
<p class="MsoPlainText"><b> clock_timestamp_flag = false<o:p></o:p></b></p>
<p class="MsoPlainText"> clock_timestamp[1]<o:p></o:p></p>
<p class="MsoPlainText"><b> clock_timestamp_flag = false<o:p></o:p></b></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: live-devel-bounces@ns.live555.com [mailto:live-devel-bounces@ns.live555.com] On Behalf Of Peng<br>
Sent: Sunday, June 30, 2013 2:43 AM<br>
To: live-devel@ns.live555.com<br>
Subject: Re: [Live-devel] Full HD Contents. trickplay question (with VLC)</p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">>> Note the file "ChunMyung1.ts". This file was created by applying 'trick play' to the original file, with a scale factor of 1 - i.e., by running:<o:p></o:p></p>
<p class="MsoPlainText">>> testMPEG2TransportStreamTrickPlay ChunMyung.ts 0 1
<o:p></o:p></p>
<p class="MsoPlainText">>> ChunMyung1.ts Because our 'trick play' works by using I-frames only, this file effectively consists just of the i-frames from the original file. If you play this file in VLC, you can see that the I-frames freeze starting at about
the 10 second mark, and do not resume until about the 1 minute mark. Does anyone know why?<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> For another illustration of this, note the file "ChunMyung1-30.ts". This file was created by applying 'trick play' to the original file, with a scale factor of 1, but starting at the 30 second mark - i.e., by running:<o:p></o:p></p>
<p class="MsoPlainText">>> testMPEG2TransportStreamTrickPlay ChunMyung.ts 30 1
<o:p></o:p></p>
<p class="MsoPlainText">>> ChunMyung1-30.ts If you play this file in VLC, you can see that the video is 'empty' until about the 30 second mark (i.e., corresponding to about 1 minute into the original video). Does anyone know why?<o:p></o:p></p>
<p class="MsoPlainText">Hi, Ross.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I just check ChunMyung.ts and ChunMyung1-30.ts. The empty 30 seconds has nothing to do with MPEG-TS container, it is caused by picture timing information carried within SPS and SEI of H.264 encoding. This point is that though testMPEG2TransportStreamTrickPlay
picks I frames out, it does not modify the associated timing information accordingly.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">A feasible method to avoid this is to remove vui_parameters() (possibly together with hrd_parameters()) in SPS and to remove SEI completely. It seems that somebody has already done something very similar:<o:p></o:p></p>
<p class="MsoPlainText"><a href="http://forum.doom9.org/showthread.php?t=152419"><span style="color:windowtext;text-decoration:none">http://forum.doom9.org/showthread.php?t=152419</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">Peng<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">live-devel mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a href="mailto:live-devel@lists.live555.com"><span style="color:windowtext;text-decoration:none">live-devel@lists.live555.com</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a href="http://lists.live555.com/mailman/listinfo/live-devel"><span style="color:windowtext;text-decoration:none">http://lists.live555.com/mailman/listinfo/live-devel</span></a><o:p></o:p></p>
</div>
</body>
</html>