Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-13-2012, 05:49 AM
NeonFlash NeonFlash is offline
Junior Member
 
Join Date: Nov 2012
Posts: 10
NeonFlash is on a distinguished road
Default

FLV video freezes while playing


I have used Stream Transport to capture FLV videos from a site.

Now, the problem is, some of these videos (especially the High Definition Ones), do not play properly. I am using VLC Media Player for playing these FLV videos. They play properly for the first 9 to 10 seconds. After that the video plays very slowly. I mean, the frames appear one by one, almost like a slideshow.

I have a high end graphics card (ATI Radeon HD 5870), so it should not be related to the hardware acceleration issue. Also, I am able to play other High Definition videos on my machine without any issues.

The playback behavior of FLV videos I have downloaded from the site are of 3 types:

1. Videos which play properly without any issues at all.
2. Videos which play properly for 10 seconds or so, then freeze, then skips 10 seconds and starts playing properly again, then freezes and plays normally again.
3. Videos which play properly for first 10 to 20 seconds, after which they will play very slowly, the frames move slowly, one by one.

How can I fix this?

I can provide the details for the FLV videos for each of the above categories (stream encoding info, bitrate) using the output generated by ffmpeg.

I even tried converting the FLV videos to AVI using ffmpeg with the following command line, however, same issue:

Code:
ffmpeg -i flash.flv video.avi
I would be really glad if someone can help me solve this issue.

Thanks.
Reply With Quote
  #2  
Old 12-13-2012, 06:36 AM
NeonFlash NeonFlash is offline
Junior Member
 
Join Date: Nov 2012
Posts: 10
NeonFlash is on a distinguished road
Default

Re: FLV video freezes while playing


I have added the details provided by ffmpeg for the videos.

1. These are the details for the FLV video which plays properly:

Code:
[flv @ 004fe9a0] Invalid keyframes object, skipping.
[flv @ 004fe9a0] Keyframe index parsing failed
Input #0, flv, from 'proper.flv':
  Metadata:
    audiosize       : 1898489
    canSeekToEnd    : true
    datasize        : 7779396
    hasAudio        : true
    hasKeyframes    : true
    hasMetadata     : true
    hasVideo        : true
    lastkeyframelocation: 7780226
    lastkeyframetimestamp: 110
    lasttimestamp   : 110
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
    videosize       : 5850839
  Duration: 00:01:50.36, start: 0.000000, bitrate: 563 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 960x540, 421 kb/s, 25 tbr, 1k tbn,
 50 tbc
    Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 133 kb/s
2. These are the details for the FLV video which does not play properly:

Code:
[flv @ 0051e9a0] Invalid keyframes object, skipping.
[flv @ 0051e9a0] Keyframe index parsing failed
Input #0, flv, from 'tofix.flv':
  Metadata:
    audiodelay      : 0
    audiosize       : 6607344
    canSeekToEnd    : false
    datasize        : 271773993
    hasAudio        : true
    hasCuePoints    : false
    hasKeyframes    : true
    hasMetadata     : true
    hasVideo        : true
    lastkeyframetimestamp: 424
    lasttimestamp   : 425
    metadatacreator : inlet media FLVTool2 v1.0.6 - http://www.inlet-media.de/fl
vtool2
    videosize       : 265143027
  Duration: 00:07:04.62, start: 0.000000, bitrate: 1903 kb/s
    Stream #0:0: Video: flv1, yuv420p, 960x540, 5112 kb/s, 29.97 tbr, 1k tbn, 1k
 tbc
    Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 112 kb/s
At least one output file must be specified
From the output, I can see the following:

1. The video which plays properly is in h264 format with a bit rate of 421 kbps and a resolution of 960x540.
2. The video which does not play properly is in flv1 format with a bit rate of 5112 kbps and a resolution of 960x540.

The difference is in the format (h264/flv1) and the bit rate.

Since I have already captured the videos from the flash media server, will I be able to fix the video by converting them to a lower bit rate?

Thanks.
Reply With Quote
  #3  
Old 12-14-2012, 11:04 AM
NeonFlash NeonFlash is offline
Junior Member
 
Join Date: Nov 2012
Posts: 10
NeonFlash is on a distinguished road
Default

Re: FLV video freezes while playing


No one a solution to this?
Reply With Quote
  #4  
Old 12-14-2012, 05:39 PM
svnpenn2 svnpenn2 is offline
Banned
 
Join Date: Nov 2012
Location: Dallas
Posts: 55
svnpenn2 is on a distinguished road
Default

Re: FLV video freezes while playing


Quote:
Originally Posted by Forum rules v1.1
If you truly want definitive answers quickly and without
delay, please include link(s) to the web-page(s) with video(s)

stream-recorder.com/forum/announcement.php?f=4
Reply With Quote
  #5  
Old 12-16-2012, 12:12 AM
NeonFlash NeonFlash is offline
Junior Member
 
Join Date: Nov 2012
Posts: 10
NeonFlash is on a distinguished road
Default

Re: FLV video freezes while playing


@svnpenn2: I have captured the video already using Stream Transport. And my question here is not how to capture. It is about the video format. Some videos that I have captured from the server are not playing smoothly.

This is why I have given the output of ffmpeg.

Maybe there is another section on the board to discuss about fixing video files.

I will repost there and moderators can close this Topic since I don't think anyone is going to reply here.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:39 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons