Raspberry osmc can't recognize avi , mp4 , rmvb

Hello,

Would you please tell me how to convert my video(mp4) by using ffmpeg ?

THANK YOU VERY MUCH !!!

https://ffmpeg.org/ffmpeg.html

Edit: mp4 should play out of the box though. If it doesn’t post mediainfo.

mp4 is a container format so it depends on the codec inside but most should actually play.

It would be good if we could find out more about the file you are having issues playing. Please see the mediainfo section in How to submit a useful support request - General - OSMC

General
Unique ID : 180041140323185558330352179860153651379 (0x8772A98EEAFE3DBB92C0E71F9E2950B3)
Complete name : 1.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.75 GiB
Duration : 1h 53mn
Overall bit rate : 2 196 Kbps
Encoded date : UTC 2017-01-09 13:34:19
Writing application : mkvmerge v6.9.1 (‘Blue Panther’) 32bit built on Apr 18 2014 18:15:44
Writing library : libebml v1.3.0 + libmatroska v1.4.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 53mn
Nominal bit rate : 2 050 Kbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
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.056
Writing library : x264 core 148
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2050 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 1h 53mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -43ms
Language : Chinese
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Default : Yes
Forced : No

This should be able to be played. Which Pi are you using and also are you playing locally (form Harddisk or SD card) or via Network?

You said the file was mp4 but the mediainfo is for an mkv file - which is it?
Does the file play with another player (e.g. VLC on windows)?

Thanks fzinken , Thanks popcornmix

It works now.

Maybe you can let us know what you have done so that other can learn with similar problem?