LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2013, 07:51 AM   #1
rpmacaspac
Member
 
Registered: Jul 2013
Distribution: centos 6
Posts: 48

Rep: Reputation: Disabled
flv file corrupted( what to do)


whenever i play these .flv file, the sounds still going but the video is not. ive just dl flvmeta. and when i type flvmeta -C myfile.flv

it outputs:

Code:
0x00006486: warning W70043: 3927 bytes not read in tag body after metadata end
0x00034580: warning W40024: audio and video streams are desynchronized by 19950 ms
0x00035531: error E40021: video tag timestamps are decreasing from 40133 to 20266
0x00063676: error E40021: video tag timestamps are decreasing from 70533 to 35466
0x0007106d: error E40021: video tag timestamps are decreasing from 77466 to 38933
0x000bbb5b: error E40021: video tag timestamps are decreasing from 117466 to 58933
0x000cb1da: error E40021: video tag timestamps are decreasing from 129199 to 64800
0x000e9d1f: error E40021: video tag timestamps are decreasing from 143066 to 71733
0x00104f1c: error E40021: video tag timestamps are decreasing from 158533 to 79466
0x0012b400: error E40021: video tag timestamps are decreasing from 179333 to 89866
0x0015596b: error E40021: video tag timestamps are decreasing from 212399 to 106400
0x0015c5d0: error E40021: video tag timestamps are decreasing from 217199 to 108800
0x0018fc29: error E40021: video tag timestamps are decreasing from 252399 to 126400
0x001cd56b: error E40021: video tag timestamps are decreasing from 287066 to 143733
0x00229bf0: error E40021: video tag timestamps are decreasing from 317399 to 158933
0x0025360f: error E40021: video tag timestamps are decreasing from 496599 to 165866
0x0026b412: error E40021: video tag timestamps are decreasing from 337199 to 168800
0x002738b7: error E40021: video tag timestamps are decreasing from 343599 to 172000
0x002b388f: error E40021: video tag timestamps are decreasing from 364399 to 182400
0x002bd654: error E40021: video tag timestamps are decreasing from 370799 to 185600
0x002d7857: error E40021: video tag timestamps are decreasing from 375066 to 187733
0x002ec94f: error E40021: video tag timestamps are decreasing from 383599 to 192000
0x00338610: error E40021: video tag timestamps are decreasing from 412933 to 206666
0x00343fd7: error E40021: video tag timestamps are decreasing from 416666 to 208533
0x0039cb30: error E40021: video tag timestamps are decreasing from 452933 to 226666
0x0039fd22: error E40021: video tag timestamps are decreasing from 453999 to 227200
0x003ace21: error E40021: video tag timestamps are decreasing from 461466 to 230933
0x003bfac2: error E40021: video tag timestamps are decreasing from 462533 to 231466
0x003c8ee3: error E40021: video tag timestamps are decreasing from 468399 to 234400
0x003fbd03: error E40021: video tag timestamps are decreasing from 947665 to 237466
0x00429a84: error E40021: video tag timestamps are decreasing from 1430130 to 239200
0x0045f305: error E40021: video tag timestamps are decreasing from 1685664 to 241800
0x0000000d: warning W80062: videodatarate should be 81.6653608497, got 0
0x0000000d: warning W80062: audiodatarate should be 62.6277626164, got 64
0x0000000d: warning W81074: invalid keyframe time: expected 39.933, got 20
0x0000000d: warning W81074: invalid keyframe time: expected 77.266, got 38.666
0x0000000d: warning W81074: invalid keyframe time: expected 117.266, got 58.666
0x0000000d: warning W81074: invalid keyframe time: expected 128.999, got 64.533
0x0000000d: warning W81074: invalid keyframe time: expected 142.866, got 71.466
0x0000000d: warning W81074: invalid keyframe time: expected 158.333, got 79.2
0x0000000d: warning W81074: invalid keyframe time: expected 212.199, got 106.133
0x0000000d: warning W81074: invalid keyframe time: expected 252.199, got 126.133
0x0000000d: warning W81074: invalid keyframe time: expected 286.866, got 143.466
0x0000000d: warning W81074: invalid keyframe time: expected 336.999, got 168.533
0x0000000d: warning W81074: invalid keyframe time: expected 343.399, got 171.733
0x0000000d: warning W81074: invalid keyframe time: expected 383.399, got 191.733
0x0000000d: warning W81074: invalid keyframe time: expected 412.733, got 206.4
0x0000000d: warning W81074: invalid keyframe time: expected 452.733, got 226.4
0x0000000d: warning W81074: invalid keyframe time: expected 462.333, got 231.2
30 error(s), 19 warning(s)

im currently installing ffmpeg right now but still wondering if I can fix this video file.
 
Old 09-20-2013, 12:12 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
I would check if it works with vlc. You can try to fix it with ffmpeg. This will allow you to re-code the file. Typically I take a file that's a problem and try to recode it into some other format therefore avoiding any possible direct transfer of the same errors. Seeing as most of these errors are time errors, it may work and not corrupt the video and any possible audio streams sequencing; however it may result in cutting some of the video out.

Another tact is to use ffmpeg to take only specific chunks. You can tell it to start at an offset, or only proceed a certain distance along, or both of those properties. The result is that you may end up making 2 or more partial clips and then be able to recombine them if it makes sense.

Vlc will also try to repair the video. I've done that and it can take a long time, depending on the length of the video. I've not then tried to resave it. Vlc is mostly for playing videos, and it will repair it for it's own play instance; again not sure if once it's done that if it will allow you to save that result. I've usually just used ffmpeg to try and convert, clip, or fix a video.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder adds the extension of the original file to the output file ex: file.flv.mp4 linuxlicious Linux - General 2 04-17-2012 03:22 PM
Mencoder adds the extension of the original file to the output file ex: file.flv.mp4 linuxlicious Linux - General 1 04-15-2012 05:07 AM
How to edit a .flv vid file? linus72 Linux - Newbie 2 04-19-2009 05:20 PM
Editing flv file Chris H Linux - Software 4 08-01-2007 05:10 PM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration