Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] h264 visual problems
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: h264 visual problems
23rd Sep, 2013, 03:23 PM
Post: #1
mc-denmark Offline
Registered
Posts: 10
Joined: Sep 2013
Reputation: 0
h264 visual problems
Hello all,

I am not quite sure I put my thread in the right category, so please feel free to move it.

The problem I have spotted seems only to come when I play video files with the h264 encoding. The colours get stuck on the screen for e few seconds making it look like lacking pixel information. When I recode he video file with libx264 with ffmpeg, the problem stops, and the picture is crystal clear.

Any thoughts on what might cause the problem?

Best regards.
Find all posts by this user
Quote this message in a reply
25th Sep, 2013, 12:14 AM
Post: #2
mc-denmark Offline
Registered
Posts: 10
Joined: Sep 2013
Reputation: 0
RE: h264 visual problems
Hmm still nothing?
Find all posts by this user
Quote this message in a reply
25th Sep, 2013, 02:08 AM
Post: #3
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: h264 visual problems
Oh dear - you made the fatal mistake of answering your own post. making it look like someone had answered it, and thus many users will bypass it.

If no one has answered, it's because no one knows the answer.

As it is an encoding problem, it is not an Xbian problem.

I'm not an expert in this area but if you hang on, someone might know.

You will also need to explain how you encode, what commands you use, compression details, encoder used etc etc.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
25th Sep, 2013, 03:59 AM
Post: #4
mc-denmark Offline
Registered
Posts: 10
Joined: Sep 2013
Reputation: 0
RE: h264 visual problems
(25th Sep, 2013 02:08 AM)IriDium Wrote:  Oh dear - you made the fatal mistake of answering your own post. making it look like someone had answered it, and thus many users will bypass it.

If no one has answered, it's because no one knows the answer.

As it is an encoding problem, it is not an Xbian problem.

I'm not an expert in this area but if you hang on, someone might know.

You will also need to explain how you encode, what commands you use, compression details, encoder used etc etc.


Yea I can see your point there, guess I need to be more patient Angel

Well, the files that are encoded with h264 is not something I encode myself, but they work fine in e.g. VLC player, but not in Xbian. When i recode them, i use a simple ffmpeg command
"-vcodec libx264 -acodec copy -crf 12" then the video file works just fine. Maybe the hardware just cant decode the h264 format correctly I guess.
Find all posts by this user
Quote this message in a reply
26th Sep, 2013, 02:20 AM
Post: #5
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: h264 visual problems
Can you fill out the details requested in "Please read before you post" - a link is in my signature.

h264 is what the RPi excels in - so I am surprised. Can you press the "o" key and send the output or screenshot.

Also include a pastebin copy of your xbmc.log and the output from dmesg.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
26th Sep, 2013, 02:26 AM
Post: #6
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: h264 visual problems
(26th Sep, 2013 02:20 AM)IriDium Wrote:  Can you fill out the details requested in "Please read before you post" - a link is in my signature.

h264 is what the RPi excels in - so I am surprised. Can you press the "o" key and send the output or screenshot.

or better get the output from MediaInfo or similar software

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
26th Sep, 2013, 06:08 AM
Post: #7
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: h264 visual problems
Try the standalone omxplayer if you can, if the output is still incorrect I would say it's a firmware issue.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
26th Sep, 2013, 06:12 AM
Post: #8
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: h264 visual problems
(26th Sep, 2013 06:08 AM)f1vefour Wrote:  Try the standalone omxplayer if you can, if the output is still incorrect I would say it's a firmware issue.

this is more likely badly encoded movie file m8, I'm more than sure that this is the reason of the picture fragmentation.
and if the file plays fine on PC it doesnt mean that the file is OK, that just means the computer has more power and more codecs and to fix it at real time where this is not possible on our litle poor RPi Wink

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
27th Sep, 2013, 02:17 PM
Post: #9
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
Re: RE: h264 visual problems
(26th Sep, 2013 06:12 AM)rikardo1979 Wrote:  
(26th Sep, 2013 06:08 AM)f1vefour Wrote:  Try the standalone omxplayer if you can, if the output is still incorrect I would say it's a firmware issue.

this is more likely badly encoded movie file m8, I'm more than sure that this is the reason of the picture fragmentation.
and if the file plays fine on PC it doesnt mean that the file is OK, that just means the computer has more power and more codecs and to fix it at real time where this is not possible on our litle poor RPi Wink

Maybe, it is quit easy to incorrectly encode a file. VLC indeed excels at playing anything including bad files.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
30th Sep, 2013, 11:32 AM
Post: #10
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: h264 visual problems
(25th Sep, 2013 12:14 AM)mc-denmark Wrote:  Hmm still nothing?

what is your xbmc version ?

or just post first line of /home/xbian/.xbmc/temp/xbmc.log

I have seen this with 12.2 Nightly from Sep-2nd (the one as part of Beta2 XBian) but only with ONE video. Didn't test with other XBMC version, but I'm sure the video is fine - as it was test video to test DTS-ES, provided by Ricardo and confirmed to be OK.

Majority of my files from last weeks is h264 and this was the first I have seen, backtested older videos (watched prior the XBMC version released) and all ok.

So definitely you are not mad. Pinpoint exact problem will be harder. What is the scale of the problem with your files? All, few, one ????

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 03:27 AM Powered By MyBB, © 2002-2025 MyBB Group.