Spaces:
Sleeping
Sleeping
Update pages/Info _of_Image.py
Browse files- pages/Info _of_Image.py +25 -1
pages/Info _of_Image.py
CHANGED
@@ -164,7 +164,31 @@ with col1:
|
|
164 |
unsafe_allow_html=True
|
165 |
)
|
166 |
|
167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
|
169 |
|
170 |
|
|
|
164 |
unsafe_allow_html=True
|
165 |
)
|
166 |
|
167 |
+
if st.button("Video"):
|
168 |
+
st.markdown("<h2 style='text-align: left; color: Black;'>What is Video</h2>", unsafe_allow_html=True)
|
169 |
+
st.markdown(
|
170 |
+
"<p style='font-size: 16px; color: White; font-style: italic;'>"
|
171 |
+
"A video is a series of images (called frames) displayed sequentially at a certain speed, or frame rate, to create the illusion of motion. Videos can be captured through cameras, created by animation software, or generated from other digital sources."
|
172 |
+
"</p>",
|
173 |
+
unsafe_allow_html=True
|
174 |
+
)
|
175 |
+
st.markdown("<h2 style='text-align: left; color: Black;'>Converting Images into Videos</h2>", unsafe_allow_html=True)
|
176 |
+
st.markdown(
|
177 |
+
"<p style='font-size: 16px; color: White; font-style: italic;'>"
|
178 |
+
"Converting images into a video involves displaying a sequence of images (frames) in rapid succession to create the effect of motion. The key steps include"
|
179 |
+
"</p>",
|
180 |
+
unsafe_allow_html=True
|
181 |
+
)
|
182 |
+
st.markdown(
|
183 |
+
"<p style='font-size: 16px; color: White; font-style: italic;'>"
|
184 |
+
"Frame Rate: The number of frames shown per second (fps). Standard rates include 24 fps for cinema, 30 fps for TV, and 60 fps for high-definition videos."
|
185 |
+
"Resolution: The size of each frame (e.g., 1920x1080 pixels). All frames in a video must have the same resolution."
|
186 |
+
"Encoding: After the frames are generated, they are encoded into a video file format (e.g., MP4, AVI, etc.) using a codec (e.g., H.264)."
|
187 |
+
"This process makes the images appear as continuous motion, a crucial component of video creation."
|
188 |
+
"</p>",
|
189 |
+
unsafe_allow_html=True
|
190 |
+
)
|
191 |
+
|
192 |
|
193 |
|
194 |
|