LinuxMCE Forums

General => Installation issues => Topic started by: Govo on July 12, 2015, 03:39:32 pm

Title: Issue with 12.4 video play back of mp4
Post by: Govo on July 12, 2015, 03:39:32 pm
Hi folks

the  issue,

Xine keeps crashing on certain play back of MP4 video files, the same video files played on 8.10, and play back was prefect.

LMCE install snapshot

LMCE­ 1204­ 20150630070­030841.iso   30­ Jun­ 2015   2.2Gb

( sudo upgrade completed after install )

The core is  Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)

The MD
Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express (due to be replaced)

It freezes during play back of 1 or 2 minutes and I have to kill the process.

see paste bin here http://pastebin.com/rnfe0TKb ,   look for video name 17 again

after freezing no other video will play from the library, quick reload allows me to choose different video file, but only audio plays.

Stop it and choose the same file again and I get both audio and video play back.


please advise
Gov
Title: Re: Issue with 12.4 video play back of mp4
Post by: tschak909 on July 12, 2015, 07:51:03 pm
The output from Xine_Player's screen session may also prove helpful here, can you paste it?

-Thom
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on July 12, 2015, 08:29:48 pm
Hi  Tom

dont know if  the below is what your looking for, ssh into MD  ran screen -ls then screen  -r pid number the below was the out put.

video_out: vpts/clock error, next_vpts=-9223372036722874537 cur_vpts=131985160
video_out: vpts/clock error, next_vpts=-9223372036722874537 cur_vpts=131985167
video_out: vpts/clock error, next_vpts=-9223372036722874537 cur_vpts=131985175
xine_play
video_out: vpts/clock error, next_vpts=-9223372036722874537 cur_vpts=131985181
ffmpeg_video_dec: flushed out and displayed 2 frames.
ao_flush (loop running: 1)
video discontinuity #3, type is 3, disc_off 896640
waiting for audio discontinuity #3
audio discontinuity #3, type is 3, disc_off 896640
waiting for in_discontinuity update #3
vpts adjusted with prebuffer to 132000215
audio jump, diff=0
metronom: video jump by -11767 pts
fixing sound card drift by -2948 pts
play_internal ...done
set_speed 1000000
video_out: throwing away image with pts 132022992 because it's too old (diff : 6247).
fixing sound card drift by -2211 pts
fixing sound card drift by -1658 pts
200 frames delivered, 14 frames skipped, 3 frames discarded
set_speed 1000000
xine_play

Cheers
Gov
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on July 12, 2015, 08:34:19 pm
here's another one for Dirty dancing mp4  video file

http://pastebin.com/i7vq0LY8

Title: Re: Issue with 12.4 video play back of mp4
Post by: phenigma on July 28, 2015, 04:13:23 am
Since we use libxine directly any playback issues are associated with the upgrades they have performed in their source code.  If you can provide an ~10MB snippet of a failing video then we can look to see if it works for us.

Thanks,

J.
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on August 02, 2015, 06:15:23 pm
Hi

This is the best I can do, 50MB

https://www.dropbox.com/s/k8qoykqjxv59b08/My%20Video.mp4?dl=0

I you wanted hole film you can grab a copy at yifi movies .


Cheers
Gov
Title: Re: Issue with 12.4 video play back of mp4
Post by: phenigma on August 11, 2015, 04:24:31 pm
hmm.  YIFY are terrible releases.  They are small, but I find issues with them regularily in playback on multiple devices. 

That being said, the sample plays perfectly here on my 1204 and 1404 systems and on the rpi.

J.
Title: Re: Issue with 12.4 video play back of mp4
Post by: posde on August 11, 2015, 04:30:54 pm
What does ffmpeg say to these files? Is ffmpeg able to rebundle them into a usable format?
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on August 17, 2015, 09:18:41 pm
I never had an issue with the play back of these files on 8.10, I'll do some home work,

Do you know of any other sites other then yifi !

cheers
Gov
Title: Re: Issue with 12.4 video play back of mp4
Post by: phenigma on August 17, 2015, 09:23:51 pm
koffel in IRC had a similar issue recently and he was able to resolve it by re-installing libxine

Code: [Select]
apt-get install --reinstall libxine2 libxine2-bin libxine2-ffmpeg libxine2-misc-plugins libxine2-plugins libxine2-x

Try that out and see if that resolves your issue.  The clip you sent me plays perfectly on all my systems.

J.
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on December 12, 2015, 08:07:15 pm
Hi Folks

Back at it again, using the latest snap shot of 12.4

http://linuxmce.iptp.org/snapshots/LMCE-1204-20151211114231752-i386.iso


For some reason most of my mp4 videos,  will not play on the MD

I have logged into the KDE desktop and open the video under dragon player,  dragon player asked for gstreamer0.10-ffmpeg to be installed, so I allowed it to be installed and mp4  file played perfect.

Xine player wont play the mp4 even when logged in to KDE


Boot up MD, open the same video file and now I just a get a blank screen and then it comes back to the main screen.

So I tried the below on both the MD & CORE 


sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg
 AND

sudo apt-get install xine-ui libxine1-ffmpeg


Then I get
gstreamer0.10-ffmpeg is already the newest version.
The following packages were automatically installed and are no longer required:
  realpath libdmraid1.0.0.rc16 kpartx-boot archdetect-deb python-pyicu
  libdebian-installer4 kpartx rdate btrfs-tools localechooser-data apt-clone
  dpkg-repack libdebconfclient0 dmraid
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

AND

sudo apt-get install xine-ui libxine1-ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xine-ui is already the newest version.
libxine1-ffmpeg is already the newest version.
The following packages were automatically installed and are no longer required:
  realpath libdmraid1.0.0.rc16 kpartx-boot archdetect-deb python-pyicu
  libdebian-installer4 kpartx rdate btrfs-tools localechooser-data apt-clone
  dpkg-repack libdebconfclient0 dmraid
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.



So I am now confused, it works when you are directly logged onto KDE.

Any suggestion as this command didn't work either

apt-get install --reinstall libxine2 libxine2-bin libxine2-ffmpeg libxine2-misc-plugins libxine2-plugins libxine2-x

So I am stuck with 10.4 for moment and unable to test the rpi2 for as MD

Cheers
Gov
Title: Re: Issue with 12.4 video play back of mp4
Post by: phenigma on December 13, 2015, 12:59:17 am
What's the audio format?  Xine needs special configuration for AAC audio.

pastebin your /etc/asound.conf /etc/pluto/xine.conf and the mediainfo output for the mp4 file.

J.
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on December 13, 2015, 02:13:08 pm
Hi phenigma

Thanks for the reply, while I waited for the reply, I have upgraded to  14.4  snap shot LMCE-1404-20151205213931742-i386.iso

Still the same issue, I have installed mplayer, vlc player through the  lmce-admin  Software modules.

/etc/pluto/xine.conf  --> http://pastebin.com/TDrX1ict (http://pastebin.com/TDrX1ict)

/etc/asound.conf --> http://pastebin.com/5pkQgzgi

I will have to go through those mp4's that don't play and put them to one side for the moment unitl we can figure out why they wont play. most of my library  are mp4's

I can now test the rpi2 as a MD

Cheers
Gov

Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on December 13, 2015, 02:22:54 pm
 :) :) :) :) :) :) I've just rebooted the core and now the file is playing, make I thank my angels and the good lord above!

Thanks  phenigma for your help!

Cheers
Gov
Title: Re: Issue with 12.4 video play back of mp4
Post by: phenigma on December 14, 2015, 02:12:23 pm
Excellent!
Title: Re: Issue with 12.4 video play back of mp4
Post by: Govo on December 21, 2015, 10:09:52 pm
Hi phenigma

I have done a fresh re-install to day my system crashed on 12.4  hardware issue.

So I have installed 14.4 and completed all the updates, added my videos again and this time the MD wont play the mp4 movie files.

So I have installed all the players available to the system, only to find that  if I update file to a linuxMCE HD-DVD the xine player starts and the film plays.

The values are holdding in the admin section, as when you stop and try to play the film again it doesn't play until you update the file to a LinuxMCE HD-DVD.

The sound is  Choppy/Lagging on some files.

any commands I can follow up with

For now I have manually   set the mp4 to EK_MediaType 27 (LinuxMCE HD-DVD) is allows play of my mp4's

MYSQL Command
UPDATE `File` SET `EK_MediaType`='27' WHERE `EK_MediaType`='5'

For the Choppy/Lagging I have installed the ffmpeg using the following command.

sudo apt-get install ffmpeg

Cheers
Govo
Title: Re: Issue with 12.4 video play back of mp4
Post by: phenigma on December 22, 2015, 07:20:05 pm
Govo, would you mind filing a ticket for this, with this information.  Please include the following:

lspci -nn | grep VGA
cat /etc/pluto.conf
cat /etc/pluto/xine.conf
dpkg -l
uname -a
arch
lsb-release -cs

Thanks!

J.