rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] MP4Client playback [sf#320] #320

Open rbouqueau opened 10 years ago

rbouqueau commented 10 years ago

Reported by alkhuhsm on 2014-07-14 10:33 UTC Hi created the following MPD from a mp4 using MP4Box, however when i tried playing it (playback) on my PC MP4Client just pops up and doesn't play anything.

<?xml version="1.0"?>

Video4_dash.mpd generated by GPAC Video4_dashinit.mp4

Also if I try opening MP4Client itself, I get the following message:

alkhuhsm@dev-NW504:~$ MP4Client Using config file in /home/alkhuhsm directory System info: 1995 MB RAM - 2 cores Modules Found : 25 Loading GPAC Terminal [Core] Plugin No Audio Output Available not found in 25 modules. [OSS] Cannot open audio device Could not setup audio out OSS Audio Output [Core] Plugin FreeType Font Reader not found in 25 modules. [Thread MediaManager] Couldn't set priority(2) for thread ID 0x00000000 [Thread MediaManager] Couldn't set priority(2) for thread ID 0xb63cbb40 Terminal Loaded in 3 ms WARNING: no audio output available - make sure no other program is locking the sound card Hit 'h' for help

Is the above normal standard?

I'm using Ubuntu 12.04

MP4Box:

MP4Box - GPAC version 0.5.1-DEV-rev5290 GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: Features: GPAC_HAS_SSL GPAC_DISABLE_3D

MP4Client:

MP4Client 0.5.1-DEV-rev 5290

I would also like to stream this MPD to another PC, what is the best way to do that

rbouqueau commented 10 years ago

Commented by alkhuhsm on 2014-07-14 10:36 UTC Pls find the DASH content and file created by MP4Box

rbouqueau commented 10 years ago

Commented by alkhuhsm on 2014-07-14 11:07 UTC I also seem to have a problem when trying to playback from a normal mp4 file This is what I get

MP4Client - GPAC command line player - version 0.5.1-DEV-rev5290 GPAC Written by Jean Le Feuvre (c) 2001-2005 - ENST (c) 2005-200X o Service Disconnected Enter the absolute URL /home/alkhuhsm/Desktop/Video4.mp4 Service Connected [Codec] ODM1 ES1: Cannot find decoder for stream type MPEG-4 AVC|H264 Video Stream Setup Failure: Media Codec not found [Codec] ODM2 ES2: Cannot find decoder for stream type MPEG-4 Audio AAC LC Stream Setup Failure: Media Codec not found

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-07-15 11:04 UTC This works fine here, are you sure of your MP4Client setup? Could you post the output of ./configure

rbouqueau commented 10 years ago

Commented by alkhuhsm on 2014-07-15 12:53 UTC This is the output from ./configure

\ System Configuration Install prefix: /usr/local Source path: /home/alkhuhsm/gpac C compiler: gcc C++ compiler: g++ make: make CPU: x86 Big Endian: no

\ GPAC 0.5.1-DEV rev5294 Core Configuration ** debug version: no GProf enabled: no Static build enabled: no Memory tracking enabled: no Use standard memory allocator: no Fixed-Point Version: no IPV6 Support: yes Static Modules: no

\ Detected libraries ** zlib: system OSS Audio: yes ALSA Audio: yes Jack Audio: no PulseAudio Audio: yes DirectFB support: no X11 Shared Memory support: yes (path: /usr/X11R6) X11 XVideo support: no SDL Support: yes OpenGL support: yes TinyGL support: no OpenSSL support: yes Mozilla XUL/GECKO support: no DVB Support: yes XMLRPC Support: no wxWidgets support: no

\ Extra Libraries used ** SpiderMonkey: no FreeType: system JPEG: no OpenJPEG: no PNG: system MAD: no FAAD: no XVID: no FFMPEG: system Xiph OGG: system Platinum UPnP: no AVCap: no Xiph Vorbis: system Xiph Theora: system A52 (AC3): no OpenSVCDecoder: no OpenHEVCDecoder: no Freenect: no

Creating config.mak config.h is unchanged Done - type 'make help' for make info, 'make' to build

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-07-15 14:27 UTC seems correct for FFMPG, but you miss the AAC decoder (libfaad). For your video problem, have you tried removing the .gpacrc file and relaunch MP4Client ?

rbouqueau commented 10 years ago

Commented by alkhuhsm on 2014-07-16 10:23 UTC I added the missing decoder however still semm to have a problem.

The ./configure output is:

\ System Configuration Install prefix: /usr/local Source path: /home/alkhuhsm/gpac C compiler: gcc C++ compiler: g++ make: make CPU: x86 Big Endian: no

\ GPAC 0.5.1-DEV rev5294 Core Configuration ** debug version: no GProf enabled: no Static build enabled: no Memory tracking enabled: no Use standard memory allocator: no Fixed-Point Version: no IPV6 Support: yes Static Modules: no

\ Detected libraries ** zlib: system OSS Audio: yes ALSA Audio: yes Jack Audio: no PulseAudio Audio: yes DirectFB support: no X11 Shared Memory support: yes (path: /usr/X11R6) X11 XVideo support: yes SDL Support: yes OpenGL support: yes TinyGL support: no OpenSSL support: yes Mozilla XUL/GECKO support: no DVB Support: yes XMLRPC Support: no wxWidgets support: no

\ Extra Libraries used ** SpiderMonkey: no FreeType: system JPEG: no OpenJPEG: no PNG: system MAD: no FAAD: system XVID: system FFMPEG: system Xiph OGG: system Platinum UPnP: no AVCap: no Xiph Vorbis: system Xiph Theora: system A52 (AC3): no OpenSVCDecoder: no OpenHEVCDecoder: no Freenect: no

Creating config.mak config.h is unchanged Done - type 'make help' for make info, 'make' to build

This is what I get when I playback a local mp4 file on the pc:

alkhuhsm@dev-NW504:~$ MP4Client /home/alkhuhsm/Desktop/video3.mp4 Using config file in /home/alkhuhsm directory System info: 1995 MB RAM - 2 cores Modules Found : 25 Loading GPAC Terminal [Core] Plugin No Audio Output Available not found in 25 modules. [OSS] Cannot open audio device Could not setup audio out OSS Audio Output [Core] Plugin FreeType Font Reader not found in 25 modules. [Thread MediaManager] Couldn't set priority(2) for thread ID 0x00000000 [Thread MediaManager] Couldn't set priority(2) for thread ID 0xb63cbb40 Terminal Loaded in 3 ms WARNING: no audio output available - make sure no other program is locking the sound card Opening URL /home/alkhuhsm/Desktop/video3.mp4 Service Connected [Codec] ODM1 ES1: Cannot find decoder for stream type MPEG-4 AVC|H264 Video Stream Setup Failure: Media Codec not found [Codec] ODM2 ES2: Cannot find decoder for stream type MPEG-4 Audio AAC LC Stream Setup Failure: Media Codec not found

I added a screen shot of the MP4Client window that pops up.

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-07-16 11:07 UTC have you removed the .gpacrc ?

rbouqueau commented 10 years ago

Commented by alkhuhsm on 2014-07-16 11:30 UTC Jean thanks for your swift reply. Is the .gpacrc the gpac configure file, if so yes I removed it and relaunched MP4Client however I'm still getting the same problem as before.

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-08-01 11:25 UTC you still have the line complaininging about no video decoder for AVC ? In this case you maye have an issue with your FFMPEG setup. Do you have the module gf_ffmpeg in the gpac/bin/gcc directory ?