Page 1 of 1

Error reading file info

Posted: Sun May 05, 2013 4:58 pm
by asawer
Scanning does not add the majority of .flv files (out of a few hundred in the folder), presenting the error reading file info. Some .flv files are added however. All play successfully.

I have seen many examples on the forums of this issue, but all seem to be resolved by codec pack updates. I am using cccp. I have tried changing the file extension for a few of the files, which has helped some users, but they are still not added to the library. One thing i have noticed is that all those which show the error have "Yet Another Metadata Injector for FLV - Version 1.4" in the Tagged_application string when analysed by mediainfo. Of the files i have analysed, none which were added to the library had this tagged application. See below:

Example mediainfo for one of the files which was not added:

Code: Select all

General
CompleteName                     : F:\Movies\40 Year Old Virgin.flv
Format                           : Flash Video
FileSize/String                  : 460 MiB
Duration/String                  : 2h 7mn
OverallBitRate/String            : 506 Kbps
Tagged_Application               : Yet Another Metadata Injector for FLV - Version 1.4

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format_Profile                   : High@L3.0
Format_Settings_CABAC/String     : Yes
Format_Settings_RefFrames/String : 4 frames
CodecID                          : 7
Duration/String                  : 2h 7mn
BitRate/String                   : 400 Kbps
Width/String                     : 640 pixels
Height/String                    : 352 pixels
DisplayAspectRatio/String        : 16:9
FrameRate_Mode/String            : Constant
FrameRate/String                 : 25.000 fps
ColorSpace                       : YUV
ChromaSubsampling                : 4:2:0
BitDepth/String                  : 8 bits
ScanType/String                  : Progressive
Bits-(Pixel*Frame)               : 0.071
StreamSize/String                : 366 MiB (80%)
Encoded_Library/String           : x264 core 107 r1745 4785e8e
Encoded_Library_Settings         : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=400 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.41 / aq=1:1.00

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format_Profile                   : LC
CodecID                          : 10
Duration/String                  : 2h 7mn
BitRate/String                   : 94.4 Kbps
Channel(s)/String                : 2 channels
ChannelPositions                 : Front: L R
SamplingRate/String              : 44.1 KHz
Compression_Mode/String          : Lossy
Video_Delay/String               : 40ms
StreamSize/String                : 91.2 MiB (20%)
and another:

Code: Select all

General
Complete name                            : F:\Movies\Collateral.flv
Format                                   : Flash Video
File size                                : 434 MiB
Duration                                 : 1h 59mn
Overall bit rate                         : 505 Kbps
Tagging application                      : Yet Another Metadata Injector for FLV - Version 1.4

Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L2.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : 7
Duration                                 : 1h 59mn
Bit rate                                 : 400 Kbps
Width                                    : 640 pixels
Height                                   : 256 pixels
Display aspect ratio                     : 2.500
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.102
Stream size                              : 346 MiB (80%)
Writing library                          : x264 core 107 r1745 4785e8e
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=400 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.41 / aq=1:1.00

Audio
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 10
Duration                                 : 1h 59mn
Bit rate                                 : 94.2 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Delay relative to video                  : 42ms
Stream size                              : 86.0 MiB (20%)

Re: Error reading file info

Posted: Mon May 06, 2013 1:52 am
by MiPi
I assume, that this old version of Yamdi has somehow corrupted the files, i.e. wrote metadata in some way, that our parser does not recognize. Could you upload me some sample file, that cannot be imported? You can use any of free file sharing services (e.g. http://www.mediafire.com/) and PM me link, or send us link by support ticket. Thanks.

Re: Error reading file info

Posted: Mon May 06, 2013 2:47 pm
by Peke
Just to confirm that we need Sample file, so that we can try to fix the issues.

Quote from their site http://yamdi.sourceforge.net/ "2010-04-03: 1.5 * [Add] AVC/H.264 support" and 1.4 was used on both files are AVC/H.264

Re: Error reading file info

Posted: Mon May 06, 2013 5:01 pm
by asawer
Thanks for the help. Yes, i have checked more of the flvs and all of those which are not recognised, were encoded by Yamdi 1.4. They do all play in mediamonkey however. MiPi i have PM'd you a link to one of the affected files.

Just to add, I did not encode these files myself, and realise that converting or re-encoding them would probably solve the issue. However, i have hundreds of files, so if there is a fix it would be appreciated :)

Re: Error reading file info

Posted: Tue May 07, 2013 12:31 am
by MiPi
Thanks for the file, I will look at it, tracked as http://www.ventismedia.com/mantis/view.php?id=10820

Re: Error reading file info

Posted: Tue May 07, 2013 11:54 am
by MiPi
It is fixed, will be in the next 4.1 beta build.

Re: Error reading file info

Posted: Tue May 07, 2013 5:49 pm
by asawer
Great, thanks for checking it out.