# data[].attributes.body
5021221527/8

# data[].attributes.body
-50212215278-

# data[].attributes.attachment_link.readable_text
clear all
clc
% 
xyloobj = VideoReader('C:\Users\LabE211\Downloads\rugby.mp4');

nFrames = xyloobj.NumberofFrames;
vidHeight = xyloobj.Height;
vidWidth = xyloobj.Width;
mov(1 : nFrames)= ...
        struct('cdata',zeros(vidHeight,vidWidth,3,'uint8'),...
        'colormap',[]);
    
%     read frame 50 to 100
   for k = 50:1:100
      
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
 %     read  terbalik frame 50 to 100
      for k = 100:-2:50
      
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
      end
    %    read slomo video frame 50 to 100
    for k = 50:1:100
      
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
        pause(0.2);
    end
     %    read fast fowardframe 50 to 100
    for k = 50:2:100
      
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
      
    end
   
   
%    playback the movie once the video's frame rate
movie(mov,1,xyloobj.FrameRate);

 figure(2),imshow(mov(1).cdata);

# data[].attributes.attachment_link.readable_text
clear all
clc
% 
xyloobj = VideoReader('C:\Users\Lab E211\Desktop\ironman.mp4');

nFrames = xyloobj.NumberofFrames;
vidHeight = xyloobj.Height;
vidWidth = xyloobj.Width;
mov(1 : nFrames)= ...
        struct('cdata',zeros(vidHeight ,vidWidth,3,'uint8'),...
        'colormap',[]);
    
   %     read one frame at a time
   for k = 50 : 1 : 100
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata );
   end
   
    %    read slow motion
   for k = 50 : 1 : 100
       pause (0.20);
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata );
   end
   
   %    read fast motion
    for k = 50 : 3 : 100
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata );
    end
   
   %    read reverse
   for k = 100 : -3 : 50
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata );
   end
   
%    playback the movie once the video's frame rate
movie(mov,1,xyloobj.FrameRate) ;

 figure(2),imshow(mov(1).cdata );

# data[].attributes.body
iman

# data[].attributes.attachment_link.readable_text
clear all
clc
xyloObj = VideoReader('C:\Users\Lab E211\Desktop\ty.mp4');
nFrames = xyloObj.NumberOfFrames;
vidHeight = xyloObj.Height;
vidWidth = xyloObj.Width;
mov(1:nFrames) = ...
    struct('cdata',zeros(vidHeight,vidWidth, 3,'uint8'),...
           'colormap',[]);
% read frame at one time
for k = 1 : nFrames
    mov(k).cdata = read(xyloObj,k);
    figure(1),imshow(mov(k).cdata);
    pause(0.2);
end
% read from frames 50 to 100
for k = 50 : 10 : 100
    mov(k).cdata = read(xyloObj,k);
    figure(2),imshow(mov(k).cdata);
end
% reverse 
for k = 100 : -10 : 50
    mov(k).cdata = read(xyloObj,k);
    figure(3),imshow(mov(k).cdata);
end 

# data[].attributes.body
PROPERTIES

# data[].attributes.body
-50212215046-

# data[].attributes.attachment_link.readable_text
clear all
clc
% 
xyloobj = VideoReader('C:\Users\Lab E211\Downloads\KTM local train entering Pasir Mas Station.mp4');


nFrames = xyloobj.NumberofFrames;
vidHeight = xyloobj.Height;
vidWidth = xyloobj.Width;
mov(1 : nFrames)= ...
        struct('cdata',zeros(vidHeight,vidWidth,3,'uint8'),...
        'colormap',[]);
    
%     read one frame at a time
   for k = 50:1:100
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
   %     read slow motion frame at a time
   for k = 50:1:100
       pause(0.2);
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
      %     read fast motion frame at a time
   for k = 50:2:100
     
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
   
   %     reverse read one frame at a time
   for k = 100:-2:50
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
%    playback the movie once the video's frame rate
movie(mov,1,xyloobj.FrameRate);
% figure(2),imshow(mov(1).cdata);

# data[].attributes.body
File

# data[].attributes.attachment_link.readable_text
clear all
clc
xyloobj = VideoReader('C:\Users\Lab E211\Desktop\testing.mp4');

nFrames = xyloobj.NumberofFrames;
vidHeight = xyloobj.Height;
vidWidth = xyloobj.Width;
mov(1 : nFrames)= ...
        struct('cdata',zeros(vidHeight,vidWidth,3,'uint8'),...
        'colormap',[]);
    

   for k = 50 : 5 : 100
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);

   end
   
   for k = 100 : -5 : 50
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
       pause(0.2);
   end
   

# data[].attributes.body
Video Duration : 52.0583
Bits Per Pixel : 24
Frame Rates : 23.9760
Height : 360
Width : 640
No of Frames: 1248
Video format: RGB24

# data[].attributes.attachment_link.readable_text
clear all
clc
% 
xyloobj = VideoReader('C:\Users\Lab E211\Downloads\Menghidupkan enjin 29 class KTMB.mp4');

nFrames = xyloobj.NumberofFrames;
vidHeight = xyloobj.Height;
vidWidth = xyloobj.Width;
mov(1 : nFrames)= ...
        struct('cdata',zeros(vidHeight,vidWidth,3,'uint8'),...
        'colormap',[]);
    
%   read video from frame 50-100 fastmotion
   for k = 50 : 2 : 100
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
   %   read video from frame 50-100 slow motion
    for k = 50 : 2 : 100
       pause(0.2);
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
       
    end
   
    %   read video from frame 50-100 in reverse
   for k = 100 : -2 : 50
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
   %    playback the movie once the video's frame rate
movie(mov,1,xyloobj.FrameRate);

 figure(2),imshow(mov(1).cdata);

# data[].attributes.body
number of frames are 1853

# data[].attributes.attachment_link.readable_text
clear all
clc
% 
xyloobj = VideoReader('C:\Users\Lab E211\Documents\Audi RS 3 �Speedboat�.mp4');

nFrames = xyloobj.NumberofFrames;
vidHeight = xyloobj.Height;
vidWidth = xyloobj.Width;
mov(1 : nFrames)= ...
        struct('cdata',zeros(vidHeight,vidWidth,3,'uint8'),...
        'colormap',[]);
    
%     read one frame at a time
   for k = 50 :10:100
       
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
   end
   
    for k = 100 :-10:50
       
       mov(k).cdata = read(xyloobj,k);
       figure(1),imshow(mov(k).cdata);
       pause (0.5);
    end
   
%    playback the movie once the video's frame rate
movie(mov,1,xyloobj.FrameRate);

 figure(2),imshow(mov(1).cdata);

# data[].attributes.body
Read a video from google explain how many frame in that video and all the information in the video. Display the video from frame 50 to 100 by slow motion and fast motion then reverse the order of that frame