openSUSE Forums > Pre-Release/Beta » No audio and video stutters

Go Back   openSUSE Forums > Pre-Release/Beta
Forums FAQ Members List Search Today's Posts Mark Forums Read


Pre-Release/Beta Questions about pre-release versions of openSUSE Linux (software & hardware)

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Nov-2009, 07:30
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 13
jens_elmo hasn't been rated much yet
Default No audio and video stutters

Hi,

I am not sure if this is the right forum, but I am running on a 11.2 pre-release so I better start here.

Its a new OpenSuse 11.2 installation completely from scratch
I have followed the guidelines in the new users forum for installing restricted multimedia formats
I have used the indicated repositories in the correct 11.2 version from packman and videolan

The only relevant exception is ffmpeg where i have tried to download and compile the latest release directly from ffmpeg.org - same result

I have this problem only with a few new danish DVB-t HD channels.
The normal TV channels are OK
I am using KDE desktop and kaffeine to whatch the TV channels
The DVB-t card is a Hauppauge HVR-4000

To troubleshoot the problem I have recorded one of the HD channels with tzap
No problem - the status is constantly FE_HAS_LOCK
snr stays at ffff
(See screendump below)

mplayer wont read the resulting file.
See screendump for error messages below

However, ffplayer will open the file and the result is the same
as I see in kaffeine : no audio and video stutters incredibly

ffplayer complains a lot about:
number of reference frames exceeds max (probably corrupt input), discarding one.

Screendump from ffplayer:
jens@HTPC:~> ffplay testvideo.mpg
FFplay version UNKNOWN, Copyright (c) 2003-2009 Fabrice Bellard, et al.
built on Nov 3 2009 22:40:52 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 0 / 52.37. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
[mp1 @ 0x6a08b0]Header missing 0KB vq= 0KB sq= 0B
Last message repeated 46 times
[mpegts @ 0x69dfe0]max_analyze_duration reached
Input #0, mpegts, from 'testvideo.mpg':
Duration: 00:00:44.98, start: 16032.688500, bitrate: 8380 kb/s
Stream #0.0[0x907]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 tbr, 90k tbn, 100 tbc
Stream #0.1[0x911]: Audio: mp2, 0 channels, s16
[mp2 @ 0x6a08b0]Header missing 0KB vq= 0KB sq= 0B
Last message repeated 30 timesvq= 1282KB sq= 0B
[h264 @ 0x69f280]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x69f280]mmco: unref short failure sq= 0B
[mp2 @ 0x6a08b0]Header missingB vq= 1266KB sq= 0B
Last message repeated 4 timesq= 1281KB sq= 0B
[h264 @ 0x69f280]number of reference frames exceeds max (probably corrupt input), discarding one
[mp2 @ 0x6a08b0]Header missingB vq= 1286KB sq= 0B
^C061.02 A-V: -0.318 aq= 0KB vq= 1431KB sq= 0B

Screendump from tzap:
jens@HTPC:~> tzap -f1 -r "DR HD"
using '/dev/dvb/adapter0/frontend1' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/jens/.tzap/channels.conf'
tuning to 714000000 Hz
video pid 0x0907, audio pid 0x0911
status 01 | signal 5454 | snr 8000 | ber 00003fff | unc 00000000 |
status 1f | signal 4e4e | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 4e4e | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 4e4e | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 4e4e | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 4e4e | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
^C


screendump from mplayer:

ens@HTPC:~> mplayer testvideo.mpg
MPlayer dev-SVN-r29796-4.4-openSUSE Linux 11.2 (x86_64)-Packman (C) 2000-2009 MPlayer TeamCan't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not open config files /home/jens/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing testvideo.mpg.
TS file format detected.
VIDEO MPEG2(pid=2311) AUDIO MPA(pid=2321) NO SUBS (yet)! PROGRAM N. 0
MPEG: FATAL: EOF while searching for sequence header.
Video: Cannot read properties.
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed
ADecoder init failed
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
Cannot sync MPA frame: 0
ADecoder init failed
ADecoder init failed
Cannot find codec for audio format 0x50.
Audio: no sound
Video: no video


Exiting... (End of file)
jens@HTPC:~>
Reply With Quote
  #2 (permalink)  
Old 06-Nov-2009, 07:37
Puzzled Penguin
 
Join Date: Aug 2009
Location: Texas
Posts: 16
ByteEnable hasn't been rated much yet
Default Re: No audio and video stutters

Just a guess. Looks like you are missing a codec for ADecode. Install ffmeg and codec's from packman repositories.
Reply With Quote
  #3 (permalink)  
Old 06-Nov-2009, 08:13
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 13
jens_elmo hasn't been rated much yet
Default Re: No audio and video stutters

I did download ffmpeg from packman and enough codecs to make everything work, except for 3 HD TV channels
I am sort of a newbee because the last time I typed "make" was in 1985....
linux has come a long way since i played around with it
So I may need more specific directions than the average user

ffplayer tries to open the file so i guess it thinks it has the codec for both audio and video

Though the header for audio seems to be missing:
(from ffplayer screendump)

[mp2 @ 0x6a08b0]Header missing 0KB vq= 0KB sq= 0B

Video is identified as h264 but gives error messages too:

[h264 @ 0x69f280]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x69f280]mmco: unref short failure sq= 0B
Reply With Quote
  #4 (permalink)  
Old 06-Nov-2009, 08:33
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,677
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: No audio and video stutters

Reference codecs, and openSUSE, here is a limited summary based on my minimal understanding based on what is available for openSUSE on the Packman packagers web site ...

Typically for codecs in openSUSE:where there is some duplication in the above. Plus there are some codecs I have missed.
Reply With Quote
  #5 (permalink)  
Old 06-Nov-2009, 09:57
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 13
jens_elmo hasn't been rated much yet
Default Re: No audio and video stutters

Hi,

I missed a few of those codecs
lib264-72 and -75 X264 and libmpeg3

Still, no change after installing them with Yast and reboot

Would it be posible to upload my testvideo to see if anyone can play it correctly ?

I have seen various posts on the internet describing almost the same problems at least with the video
But no answers.
As they are the new public TV channels in Denmark, replacing the old analogue signals last Sunday, I would think there should be some general interest in Denmark
- small country though

regards

Elmo

Last edited by oldcpu; 06-Nov-2009 at 10:09. Reason: moderator mistake - finger trouble - no edit intended
Reply With Quote
  #6 (permalink)  
Old 06-Nov-2009, 10:10
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,677
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: No audio and video stutters

Quote:
Originally Posted by jens_elmo View Post
Would it be posible to upload my testvideo to see if anyone can play it correctly ?
apologies for the edit in previous post - finger trouble on my part.

You could upload your video to a site like rapidshare: RapidShare: 1-CLICK Web hosting - Easy Filehosting which allows 10 free downloads.
Reply With Quote
  #7 (permalink)  
Old 06-Nov-2009, 10:24
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 13
jens_elmo hasn't been rated much yet
Default Re: No audio and video stutters

Hi

uploaded the video - here is the link:
RapidShare: 1-CLICK Web hosting - Easy Filehosting
Reply With Quote
  #8 (permalink)  
Old 06-Nov-2009, 10:51
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,642
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: No audio and video stutters

Quote:
Originally Posted by jens elmo
Hi

uploaded the video - here is the link:
'RapidShare: 1-CLICK Web hosting - Easy Filehosting'
(http://rapidshare.com/files/30324271...video.mpg.html)
Hi
Tried your video with the fluendo codecs on my SLED machine, no go with
totem. Also tried here with mplayer and get the same errors.

One wonders if they are new channels that there is some new drm being
added to the stream. How are you capturing the stream in the first
instance?

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.5-0.1-desktop
up 0:11, 3 users, load average: 0.29, 0.70, 0.52
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Reply With Quote
  #9 (permalink)  
Old 06-Nov-2009, 11:06
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,677
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: No audio and video stutters

Quote:
Originally Posted by jens_elmo View Post
Hi

uploaded the video - here is the link:
RapidShare: 1-CLICK Web hosting - Easy Filehosting
I downloaded and looked briefly at the video. It only plays with ffplay on my pc, and with that it also has no audio, and the video stutters. These are the details I noted on that format:
Code:
General
Complete name : 	testvideo.mpg
Format : 	MPEG-TS
Format profile : 	No PAT/PMT
File size : 	12.3 MiB
Duration : 	38s 200ms
Overall bit rate : 	2 698 Kbps

Video
ID : 	2261 (0x8D5)
Format : 	AVC
Format/Info : 	Advanced Video Codec
Format profile : 	High@L3.0
Format settings, CABAC : 	Yes
Format settings, ReFrames : 	5 frames
Duration : 	38s 200ms
Width : 	704 pixels
Height : 	576 pixels
Display aspect ratio : 	16:9
Frame rate : 	25.000 fps
Resolution : 	24 bits
Colorimetry : 	4:2:0
Scan type : 	MBAFF
colour_primaries : 	BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
transfer_characteristics : 	BT.601-6 525, BT.601-6 625, BT.1358 525, BT.1358 625, BT.1700 NTSC, SMPTE 170M
matrix_coefficients : 	BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio
ID : 	2271 (0x8DF)
Format : 	MPEG Audio
Duration : 	37s 34ms
I also noted:
ffmpeg -i testvideo.mpg
gives:

Code:
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)
Input #0, mpegts, from 'testvideo.mpg':
  Duration: 00:00:39.02, start: 32188.194244, bitrate: 2640 kb/s
    Stream #0.0[0x8d5]: Video: h264, yuv420p, 704x576 [PAR 16:11 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x8df]: Audio: mp3, 0 channels, s16
it also gives some h264 errors.
Reply With Quote
  #10 (permalink)  
Old 06-Nov-2009, 11:21
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 13
jens_elmo hasn't been rated much yet
Default Re: No audio and video stutters

Hi,

To capture the video, I first created a new channel.conf with scan
I could not find any channel.conf in my installation so I had to make it myself.

Then i used tzap:
tzap -f1 -r "FOLKETINGET"

Where FOLKETINGET is the name of one of the HD channels present in channel.conf

Then on another terminal:
cat /dev/dvb/adapter0/dvr0 > testvideo.mpg
Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2