AVI files playback problem
I use as a satellite receiver the Zgemma H9 Combo receiver with Open ATV software. There is ordinary Ubuntu with added satellite signal support (PVR).
Than, I have several AVI video files recorded on different platforms. The problem is that some of them are played correctly and some do not. That is, only sound is played, but the screen is black. It must be mentioned here that all AVI files are correctly played on a PC, iPad, Android phone and via DLNA on Samsung and Philips TVs. Below is the result of the FFPROBE command for a file that does NOTt play properly. Code:
[maciek@Piotr TMP]$ ffprobe Brudna\ sprawa.avi Code:
[maciek@Piotr TMP]$ ffprobe BLUE\ CAFE\ -\ Buena.avi |
The first video is a divx mpeg4 with ac3 audio.
The second video is Xvid mpeg4 with mp3 audio And you have both of them in an .avi container. Are you sure that .avi supports those? Quote:
Code:
ffmpeg -i In.mp4 -c:a copy -c:v copy -bsf:v h264_mp4toannexb Out.ts What does the transport stream dump look like? |
VLC?
:scratch: Always works for me... unless the hardwares too old and I have to downgrade the video. |
Quote:
|
Quote:
If you have Xvid and mp3 from a DVD then you have already re-encoded them. Before you re-encode a video, look at what hardware you intend to play it on and see what video/audio it supports. Right now most hardware that you buy, tv's, bluray players, androids, iphones, pc's, notebooks, tablets, will all play x264 video and aac audio, put into a .mp4 container. They have to, that's what youtube and the web uses. It has become almost standard. Some will play mpeg2 and ac3. Fewer will play xvid. The device will have to have the codec on it to decompress the video/audio to play it. Those are 25fps videos, so I assume that thy were PAL video's to start with. |
THX for replay. Will try tochange AVI container to MP4, which is playable.
|
So looks like the only solution is to convert/repack ln loop all files from AVI to MP4 container using command:
Code:
ffmpeg -i input.avi -c:v copy -c:a copy -y output.mp4 |
^ Try it.
It should be possible in most cases (ffmpeg will balk otherwise). I wouldn't use '-y'. |
All times are GMT -5. The time now is 01:18 AM. |