Forum Announcement

Welcome to the new CNET Forums! Please don't panic. You are not in the Twilight Zone, you are experiencing the new CNET forums platform! Please click here to read the details. Thanks!!

Audio & Video Software

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.

Post a reply
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 Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech Tip

Tired of your tricky Wi-Fi password?

Stop trying to memorize a complicated sequence of numbers and letters. Learn how to change the default password.