Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ROM][GT-P31XX][4.0.4] CyanogenMod 9 official nightly builds

OP codeworkx

8th July 2012, 09:10 AM   |  #331  
Tsjoklat's Avatar
Senior Member
Thanks Meter: 2,240
 
1,632 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by adix82

By the way it happen, the same thing happen to me. I was using application PPS TV. While streaming for the first 5 min, it happened. U are not alone.

Thank you. Now I am sure it is software related. It looks like a buffer overflow of some kind. I am going to test video streams to try and find more info to track this down. This is the second time I rebuilt my tab because of this. Any help is appreciated.

Edit:

Upon further testing, I have found that this problem does not occur when I re-encode the mp4's that I download. This is the file information of a non-working video file:

Code:
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team

Playing The.Colbert.Report.2012.06.26.Richard.Ford.HDTV.x264-LMAO.[VTV].mp4.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  720x404  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=The.Colbert.Report.2012.06.26.Richard.Ford.HDTV.x264-LMAO.[VTV].mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=404
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=1289.56
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...
VDec: vo config request - 720 x 404 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7822
VO: [xv] 720x404 => 720x404 Planar YV12 
A:   1.8 V:   1.8 A-V: -0.000 ct:  0.022   0/  0 16%  1%  0.7% 0 0 
Exiting... (Quit)
ID_EXIT=QUIT
Here is the file information of a working video file with almost the exact same specs:

Code:
Playing The.Colbert.Report.2012.06.26.Richard.Ford.HDTV.x264-LMAO.[VTV].ENC.mp4.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  720x404  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=The.Colbert.Report.2012.06.26.Richard.Ford.HDTV.x264-LMAO.[VTV].ENC.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=404
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=1289.47
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...
VDec: vo config request - 720 x 404 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7822
VO: [xv] 720x404 => 720x404 Planar YV12 
A:   4.4 V:   4.4 A-V:  0.000 ct:  0.021   0/  0  8%  1%  0.6% 0 0 
Exiting... (Quit)
ID_EXIT=QUIT
Notice that there is only one value that differs from these two files:

One file is ID_LENGTH=1289.56 and one file is ID_LENGTH=1289.47. So, there is a bug in the sections parser? When the video is re-encoded, the framerate/bitrate now becomes constant (which masks the problem). I think the problem has to do with the firmware not being able to handle the variation in the framerate/bitrate of the video.

This is how I re-encoded to fix the buffer overflow:

Code:
mencoder "$FILE" -o "$NOEXT".ENC.mp4 -sub "$NOEXT".srt -subcp cp1252 -utf8 -vf scale=1024:600::::::1,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts bitrate=832:nocabac:level_idc=30:bframes=0:threads=auto:turbo=0:global_header:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh -fontconfig -font "Trebuchet MS" -subfont-outline 1 -subfont-text-scale 2 -sub-bg-alpha 0 -subfont-blur 0.5 -sub-bg-color 0 -subpos 99 -subalign 2
Best Regards.
Last edited by Tsjoklat; 10th July 2012 at 10:37 PM.
The Following User Says Thank You to Tsjoklat For This Useful Post: [ View ]
9th July 2012, 11:01 AM   |  #332  
ksh20480's Avatar
Member
Flag Mumbai
Thanks Meter: 5
 
99 posts
Join Date:Joined: May 2008
More
Please help!!!!
I am in India. I have a tab2 p3100. Downloaded LE1 & LF1 both with the pit file (signed_espresso_20120220_16G.pit). Have CM9 installed. When i flash either of thestock ROM with/without the pit file and with/without the re-partition checked and i select P3100DDALE1_P3100ODDALE1_P3100DDLE1_HOME.tar.md5 as PDA. After flashing completes via odin v1.87 my tab2 restarts and gets stuck on the Samsung logo.

Can someone tell me if i am doing something wrong?
9th July 2012, 04:01 PM   |  #333  
jimbo.levy's Avatar
Senior Member
Flag London
Thanks Meter: 190
 
660 posts
Join Date:Joined: Sep 2011
More
Hi,

I've been using this as my daily since it was released and have noticed two, very trivial bugs.

Apologies in advance if these have already been pointed out/fixed.

1) Apollo doesn't recognize any music files that I have. It is empty and unable to do anything.

2) There seems to be a slight framework issue with the browser's address bar. Thumbnail attached...



Thanks for your time,

Jim

Sent from my Samsung Galaxy Tab 2 7.0 with CyanogenMod 9 using Tapatalk 2
9th July 2012, 08:58 PM   |  #334  
Jleeblanch's Avatar
Senior Member
Flag Milton, VT
Thanks Meter: 394
 
649 posts
Join Date:Joined: Feb 2012
More
Just bought myself this Tab over the weekend! I was excited to see there was plenty of development going on already!

Flashed this rom earlier today and am VERY impressed with its stability!!

I'm especially loving life because I also have a Motorola Photon running CM9-ICS_4.0.4 (AOKP variant) and now I have the G-Tab 2 and they look quite similar

My G-Tab 2


My MoPho 4G


Typed on my Samsung Galaxy Tab-2 7.0 running CM9-ICS_4.0.4 using T-talk 2.0
10th July 2012, 03:57 AM   |  #335  
Senior Member
Flag Cleveland
Thanks Meter: 62
 
371 posts
Join Date:Joined: Mar 2011
i get the Required DRM not supported msg when I try to run Hulu Plus, I have set ad block off but still get it any ideas?
10th July 2012, 09:42 AM   |  #336  
Senior Member
Thanks Meter: 20
 
161 posts
Join Date:Joined: Feb 2008
More
Quote:
Originally Posted by Tsjoklat

I did not encode any myself. I just downloaded my daily TV shows from torrents. The problem is that it seems to happen with all of my shows, not just one.

Could the variable framerate in NTSC TV shows cause the problem?

I take back what I said earlier, I can confirm I have this problem too with my h264 encoded video files, BUT it's only an issue when using h/w accelerated playback. So far I've only tried MX player, and using software playback I can play my video files fine. This is obviously not an ideal solution due to battery issues and 720p playback is choppy.

Good work on pinpointing the issue, I will try and re-encode my files and see if the issue persists. I think the encoding settings are pretty much the same in the torrent scene, so this might explain why we have the same issues.
Last edited by nphil; 10th July 2012 at 09:51 AM.
10th July 2012, 02:42 PM   |  #337  
ksh20480's Avatar
Member
Flag Mumbai
Thanks Meter: 5
 
99 posts
Join Date:Joined: May 2008
More
Question Please help
I am in India. I have a tab2 p3100. Downloaded LE1 & LF1 both with the pit file (signed_espresso_20120220_16G.pit). Have CM9 installed. When i flash either of thestock ROM with/without the pit file and with/without the re-partition checked and i select P3100DDALE1_P3100ODDALE1_P3100DDLE1_HOME.tar.md5 as PDA. After flashing completes via odin v1.87 my tab2 restarts and gets stuck on the Samsung logo.

Can someone tell me if i am doing something wrong?
10th July 2012, 04:11 PM   |  #338  
Senior Member
Flag Oklahoma
Thanks Meter: 31
 
506 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by ksh20480

I am in India. I have a tab2 p3100. Downloaded LE1 & LF1 both with the pit file (signed_espresso_20120220_16G.pit). Have CM9 installed. When i flash either of thestock ROM with/without the pit file and with/without the re-partition checked and i select P3100DDALE1_P3100ODDALE1_P3100DDLE1_HOME.tar.md5 as PDA. After flashing completes via odin v1.87 my tab2 restarts and gets stuck on the Samsung logo.

Can someone tell me if i am doing something wrong?

Can u boot into recovery and wipe cahe or factory reset?
11th July 2012, 07:42 PM   |  #339  
Member
Thanks Meter: 2
 
44 posts
Join Date:Joined: Mar 2011
Thumbs up
waiting for new update. cheer up.....
12th July 2012, 04:21 AM   |  #340  
shinydesert's Avatar
Senior Member
Flag Saint Louis,MO
Thanks Meter: 81
 
389 posts
Join Date:Joined: Jan 2011
More
I admit I am too concerned about the wifi,but, is there any way to enhance it a little bit or this is related to the hardware?

Thanks.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes