Вы находитесь на странице: 1из 5

Fixing USB Playback Issues for Video Files on LG, Samsung and other TVs e.g.

"Invalid File"
Friday, June 10, 2011

If your file won't play and the TV reports "Invalid file", the thumbnail is not created instead a one
with a warning arrow, then your TV won't eat the file.
The problem is likely one of these issues:
1. unsupported format (check the supported list, e.g. LG)
- especially note the restriction of 30 fps for FullHD
- video codecs are usually divx and h264 (up to profile 4.1), no GMC
- audio codecs are usually mp3, ac3, aac.
2. Badly muxed file
3. Mkv with header compression
It does not matter what the file really has, the TV only checks the header and then won't even try to
open it.
In case the file is really not supported there's nothing you can do but reencode. This should
make any file playable:
ffmpeg -i Oldfile.mp4 -vcodec libx264 -vpre normal -r 25 -crf 23 -ab 384k -acodec ac3 Working.mkv
So in some cases (2.) the fix is as easy and fast as:
mkvmerve -o Newfile.mkv Nonworkingfile.mp4.
In case the header just has a wrong, too high, frame rate (2.), adjust -r 25 to the correct framerate
(e.g. 24, 25, 30), then use this:
ffmpeg -r 25 -i Oldfile.mp4 -r 25 -vcodec copy -acodec copy Working.mkv
In case of header compression (3.) you need to add:
mkvmerve --compression -1:none -o Newfile.mkv Nonworkingfile.mp4.
Extra tip: Only encode a few seconds in each variant, then cancel, then try to play the files and just
completely transform the file with the method that works.
If you like this post, share it and subscribe to the RSS feed so you don't miss the next one. In any
case, check the related posts section below. (Because maybe I'm just having a really bad day and
normally I write much more interesting articles about theses subjects! Or maybe you'll only
understand what I meant here once you've read all my other posts on the topic. ;) )

GeneralComplete name : D:\My Documents\My Videos\Movies\Downfall.mp4


Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.45 GiB
Duration : 2h 28mn
Overall bit rate mode : Variable
Overall bit rate : 1 399 Kbps
Movie name : Downfall.mp4
Writing application : Lavf53.24.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 28mn
Bit rate : 1 228 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.171
Stream size : 1.28 GiB (88%)
Writing library : x264 core 120 r2120 0c7dab9
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / 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=3 / sliced_threads=0 / nr=0 /
decimate=1 / interlaced=0 / bluray_compat=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=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0
/ qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Matrix coefficients : SMPTE 240M

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 28mn
Bit rate mode : Variable
Bit rate : 165 Kbps
Maximum bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz

Compression mode : Lossy


Delay relative to video : 80ms
Stream size : 176 MiB (12%)

Format: MP4
Picture: Anamorrphic is set to Strict. Cropping is set to Automatic. Display size is by default: 1024 x
576. Rest is unaltered.
Filters: Default; Default; Off; Off and grayscale is also Off
Video: H.264 (x264) and not the advance menu Variable Framerate Constant Quality 19 x264
preset at Medium H.264 Profile: High H.264 Level: 4.1
Subtitles: Burned In Danish subtitles
Chapters: Ive checked the create chapter markers checkbox.

It seems to do the trick!

Вам также может понравиться