WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: h264-mpeg4 avc (part 10) (avc1)  (Read 9269 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #15 on: February 03, 2016, 10:36:58 PM »
Hi john11
Quote
Why is it not necessary to install vlc-dev  and vlc-doc, alsa-dev, etc   don't these have extra scripts and features to increase the functionality of alsa and vlc.
The  dev  files are only required if you are compiling something that depends on the libraries included in that extension.
The  doc  files typically only include  man  files.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #16 on: February 03, 2016, 10:56:26 PM »
I got a list of the hardware, the video hardware is  " vga compatible controller: advanced micro devices, inc. [amd/ati] thames [radeon hd7550m/7570m/7650m] "

..so instead of using Xvesa, you could use either:

Xorg-7.7 and xf86-video-ati
Xorg-7.7-3d

..and see if that improves your video playback.

Offline john11

  • Newbie
  • *
  • Posts: 33
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #17 on: February 04, 2016, 10:31:04 PM »

Hi. Thanks for the reply.

Installed x org 7.7 3d, but still stuttering video no change. Vlc reports unknown audio and video codec.

ps aux | grep x reports:

4505 root /usr/local/lib/xorg/Xorg -no listen tcp
4560 root /sbin/udhcpc -b -i etho -x hostname box -p/var/run/udhcpc.etho.pid

Many thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #18 on: February 04, 2016, 10:38:03 PM »
Can you provide a link to a video file that stutters for you so others can try?

Offline john11

  • Newbie
  • *
  • Posts: 33
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #19 on: February 06, 2016, 10:22:43 PM »
Hi Thanks for the reply.

It's videos on my local hard drive that are stuttering, not anything web based.

Is there anywhere i can put up a short clip so others can try it out.

Many thanks.

Offline john11

  • Newbie
  • *
  • Posts: 33
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #20 on: February 09, 2016, 10:11:31 PM »

Thanks so much for the replies.

Just got back from the vlc forums in which i raised this codec issue. Had  to wait a few days for a reply but here it is:

" If you use ALSA; this is a known bug in VLC 2.2.x.

  It's an hardware-related VLC bug. Use PulseAudio or upgrade VLC to version 3.0 to fix it. "

Just my opinion, it may be that vlc is clashing with some of the alsa extensions as some people have reported using vlc with alsa and no problems.
Since i installed everything, the mixer, eq, i probably have got the problematic extension.

Should i swap over to pulse audio, or should i try the alsa extensions one at a time to filter out the problem.

Many thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #21 on: February 09, 2016, 10:24:18 PM »
There's only one alsa extension?

Note that my sound hardware illogically sets hdmi as the default, which means I need to load Xorg-7.7 or sound will not work  - is it possible that you have the same issue?

You could use pulseaudio, but that means more bloat, starting the dbus daemon, etc, etc.
« Last Edit: February 09, 2016, 11:07:32 PM by Juanito »

Offline john11

  • Newbie
  • *
  • Posts: 33
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #22 on: February 10, 2016, 12:35:40 AM »


Hi. Thanks for the reply.

Does vlc2 work fine for you with the h264-mpeg4 avc files, is it alsa.tcz that you have installed.

I have alsaconfig, alsamixer, alsamodules, alsa.tcz

If i install alsa.tcz by itself i do not get sound, i have to use the mixer to manually select pcm then the sound works, or i select headphones if using a headset.

When i opened the mixer for the first time some of the faders were muted, which probably explains why some sound channels were not working.

Many thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #23 on: February 10, 2016, 12:46:44 AM »
I believe both vlc and vlc2 will play h264-mpeg4 files for me, but if you could provide a link to a file that stutters for you, I can double-check.

I was speaking of the alsa extension and it's recursive deps - I don't use alsa-config.

It's normal that some channels are muted the first time alsa is used - you can use alsamixer to adjust the settings, issue the command "sudo alsactl store" and add /usr/local/etc/alsa/asound.state to your backup to avoid this in future.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: h264-mpeg4 avc (part 10) (avc1)
« Reply #24 on: February 10, 2016, 01:13:14 AM »
I found a video (star_wars_7_the_force_awakens-teaser2.zip) with the following format:

video codec: h264 - mpeg4 avc (part 10) (avc1)
resolution: 1920x800

audio codec: mpeg aac audio (mp4a)
sample rate: 44100Hz

..and it played without stuttering with vlc and Xorg-7.7/xf86-video-intel