Audio & Video Software forum

General discussion

Trouble with .flv file (seekbar and video length)

by vifirebird / February 1, 2011 11:03 AM PST

I have a couple of .flv files that were recorded from a webcam. I use VLC Player to view my videos. I have Windows Vista on a Dell. The videos themselves are around 2 hours long, but both VLC and Windows say that the video is only half that long. Basically, even once the knob hits the end of the allotted time for the video, it keeps on going to show the rest, but I can't seek to the other half because the seekbar and VLC thinks the video is only half its actual length. Has anyone ever heard of this before?
So basically, under the time elapsed section of the interface, it displays something like "01:45:03/1:19:04" which makes no sense.

Discussion is locked
You are posting a reply to: Trouble with .flv file (seekbar and video length)
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Trouble with .flv file (seekbar and video length)
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
I've seen that.
by R. Proffitt Forum moderator / February 4, 2011 12:03 AM PST

It's a sign that there is a problem with the video file or the player.

Remember there are NO SIGNS these issues will be going away. YOU get to deal with it as best you can. Fixing these files is well discussed and the key word and method I use is TRANSCODING. Sorry, no I can't write a tutorial about this in every reply but it's a known area that folk have to deal with a lot.
Bob

Collapse -
Coding
by Kees_B Forum moderator / February 7, 2011 5:13 PM PST

Member Garfield says he's using the following code:

I'm using the following code to load a flv:


var connection:NetConnection = new NetConnection();
var stream:NetStream;
var videoMain = new Video(600,340);
var metaObj:Object = new Object();


function onMetaData(data:Object):void
{
}


connection.connect(null);
stream = new NetStream(connection);
stream.client = metaObj;
metaObj.onMetaData = onMetaData;
videoMain.attachNetStream(stream);
addChild(videoMain);
stream.play("videos/clifton_video.flv");
videoMain.x=200;
videoMain.y=85;

Might be useful, that's why I'm reposting it without ad link.

Kees

Collapse -
flvmdi or ffmpeg can fix this
by laislanegra / January 24, 2013 12:21 AM PST

You can try http://www.buraks.com/flvmdi/, download both command tool and GUI, put the .exe into GUI folder, tick all options
Or using ffmpeg: ffmpeg -i broken.flv -acodec copy -vcodec copy fixed.flv

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?