[SOLVED] MP4 x264 choppy playback

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
haunter250 Offline
Junior Member
Posts: 5
Joined: Jun 2012
Reputation: 0
Post: #1
Hi Guys,

I've been happily using xbmc for a while now; it has played everything I have thrown at it so far. However, I have recently started using Any Video Convertor to convert some of my videos from MKV to MP4 using the x264 codec. I am finding that all the videos that I have converted are not playing back properly in XBMC audio and video are horribly choppy. These same videos play perfectly in VLC/iPad though, which suggests there's nothing wrong with the machine or the file.

I have been playing with some of the settings, changing the full screen, rendering and hardware acceleration options but nothing helps. Is there anything I can do other than wait for an update to xbmc?

Thanks in advance,
Rich

// Edit

[Image: media.png]

http://pastebin.com/BvueGtZa
(This post was last modified: 2012-06-26 17:38 by kricker.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,058
Joined: Jan 2011
Reputation: 135
Location: Arizona, USA
Post: #2
Need debug log and/or MediaInfo ran on one of the problematic files.

Also, some of your MKVs might already be using the x264 codec, and you might be able to save some time re-encoding by remuxing the file to MP4 rather than re-encoding.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #3
I believe your are wasting time re-encoding, just as Ned Scott suggested. MKV is merely a container and so is MP4. What you should be doing mostly is de-muxing the file from MKV and re-muxing into a MP4. This should be a quick and lossless process. If your mkvs have been made within the last few years, they are indeed most likely to be h264 or x264. No reason to re-encode to the same codec.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
haunter250 Offline
Junior Member
Posts: 5
Joined: Jun 2012
Reputation: 0
Post: #4
Thanks for the tip guys. It took me about 2 hours to convert a single video last night!

Here are the info you requested:

[Image: media.png]

http://pastebin.com/BvueGtZa
find quote
haunter250 Offline
Junior Member
Posts: 5
Joined: Jun 2012
Reputation: 0
Post: #5
Has anyone got any suggestions?
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,058
Joined: Jan 2011
Reputation: 135
Location: Arizona, USA
Post: #6
As far as my own knowledge on this stuff goes, it should work with that file. Maybe a dev can shed more light on this, or it could be a Windows issue that I am unfamiliar with.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
haunter250 Offline
Junior Member
Posts: 5
Joined: Jun 2012
Reputation: 0
Post: #7
Thanks Ned.

Can any devs shed some light into this for me please?
find quote
haunter250 Offline
Junior Member
Posts: 5
Joined: Jun 2012
Reputation: 0
Post: #8
For anyone else that is stuck with this problem, the answer is to ditch Any Video Converter and get Handbreak. I don't know what AVC was doing to the mp4's but I converted the same file using the 2 converters and the AVC version was choppy, the Handbreak version was smooth as silk.

Thanks for the input guys. Much appreciated.
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #9
Good to know. Thank you for reporting back wih your solution.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
mjmontenegro Offline
Junior Member
Posts: 2
Joined: Apr 2012
Reputation: 0
Post: #10
This is more of a workaround then a solution. For some reason XBMC can not play these files and it should. Other players can and its a bug in XBMC that it does not play them properly. I can play the file perfectly smoothly with other players even on the same machine (ie iPad)
find quote