aviplay error

V
vishal.maheshwari
Thu, Jul 11, 2024 6:23 AM

Hi,
We are trying to run pjsip sample application aviplay to play a .avi file but we are
getting the following error.

./aviplay /home/cdot/Downloads/20061218.avi
11:47:58.649 �� �� �� �� os_core_unix.c !pjlib 2.14.1 for POSIX initialized
libv4l2: error getting pixformat: Invalid argument
11:47:58.650 �� �� �� �� �� �� v4l2_dev.c ��Video4Linux2 has 0 devices
11:47:58.748 �� �� �� �� �� �� ��sdl_dev.c ��SDL 2.0 initialized
11:47:58.748 �� �� �� �� colorbar_dev.c ��Colorbar video src initialized with 2 device(s):
11:47:58.748 �� �� �� �� colorbar_dev.c �� 0: Colorbar generator
11:47:58.748 �� �� �� �� colorbar_dev.c �� 1: Colorbar-active
11:47:58.760 �� �� �� �� �� �� alsa_dev.c ��Added sound device default
11:47:58.761 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround21
11:47:58.761 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround40
11:47:58.761 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround41
11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround50
11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround51
11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround71
11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device samplerate
11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device speexrate
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
11:47:58.769 �� �� �� �� �� �� alsa_dev.c ��Added sound device jack
11:47:58.769 �� �� �� �� �� �� alsa_dev.c ��Added sound device oss
11:47:58.771 �� �� �� �� �� �� alsa_dev.c ��Added sound device pulse
11:47:58.772 �� �� �� �� �� �� alsa_dev.c ��Added sound device upmix
11:47:58.772 �� �� �� �� �� �� alsa_dev.c ��Added sound device vdownmix
11:47:58.772 �� �� �� �� �� �� alsa_dev.c ��Added sound device sysdefault:CARD=PCH
11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device front:CARD=PCH,DEV=0
11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround21:CARD=PCH,DEV=0
11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround40:CARD=PCH,DEV=0
11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround41:CARD=PCH,DEV=0
11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround50:CARD=PCH,DEV=0
11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround51:CARD=PCH,DEV=0
11:47:58.774 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround71:CARD=PCH,DEV=0
11:47:58.781 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=0
11:47:58.782 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=1
11:47:58.782 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=2
11:47:58.782 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=3
11:47:58.783 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=4
11:47:58.783 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=0
11:47:58.783 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=2
11:47:58.817 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=3
11:47:58.820 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=7
11:47:58.823 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=8
11:47:58.842 �� �� �� �� �� �� alsa_dev.c ��ALSA driver found 32 devices
11:47:58.842 �� �� �� �� �� �� alsa_dev.c ��ALSA initialized
11:47:58.843 �� �� �� �� �� openh264.cpp ��OpenH264 codec initialized
11:47:58.843 �� �� �� �� �� avi_player.c ��The AVI file has 1 streams.
11:47:58.843 �� �� �� �� �� avi_player.c ��Unsupported video stream
11:47:58.843 �� �� �� �� �� �� ��aviplay.c ��In ../src/samples/aviplay.c:202: Unknown error 220191

Can you give link for the .avi file that can be played as it seems that the .avi file format is not what the application needs ? Or otherwise help debug the issue?!!

Regards
Vishal Maheshwari

Hi, We are trying to run pjsip sample application aviplay to play a .avi file but we are getting the following error. ./aviplay /home/cdot/Downloads/20061218.avi 11:47:58.649 �� �� �� �� os_core_unix.c !pjlib 2.14.1 for POSIX initialized libv4l2: error getting pixformat: Invalid argument 11:47:58.650 �� �� �� �� �� �� v4l2_dev.c ��Video4Linux2 has 0 devices 11:47:58.748 �� �� �� �� �� �� ��sdl_dev.c ��SDL 2.0 initialized 11:47:58.748 �� �� �� �� colorbar_dev.c ��Colorbar video src initialized with 2 device(s): 11:47:58.748 �� �� �� �� colorbar_dev.c �� 0: Colorbar generator 11:47:58.748 �� �� �� �� colorbar_dev.c �� 1: Colorbar-active 11:47:58.760 �� �� �� �� �� �� alsa_dev.c ��Added sound device default 11:47:58.761 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround21 11:47:58.761 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround40 11:47:58.761 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround41 11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround50 11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround51 11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround71 11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device samplerate 11:47:58.762 �� �� �� �� �� �� alsa_dev.c ��Added sound device speexrate Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 11:47:58.769 �� �� �� �� �� �� alsa_dev.c ��Added sound device jack 11:47:58.769 �� �� �� �� �� �� alsa_dev.c ��Added sound device oss 11:47:58.771 �� �� �� �� �� �� alsa_dev.c ��Added sound device pulse 11:47:58.772 �� �� �� �� �� �� alsa_dev.c ��Added sound device upmix 11:47:58.772 �� �� �� �� �� �� alsa_dev.c ��Added sound device vdownmix 11:47:58.772 �� �� �� �� �� �� alsa_dev.c ��Added sound device sysdefault:CARD=PCH 11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device front:CARD=PCH,DEV=0 11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround21:CARD=PCH,DEV=0 11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround40:CARD=PCH,DEV=0 11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround41:CARD=PCH,DEV=0 11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround50:CARD=PCH,DEV=0 11:47:58.773 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround51:CARD=PCH,DEV=0 11:47:58.774 �� �� �� �� �� �� alsa_dev.c ��Added sound device surround71:CARD=PCH,DEV=0 11:47:58.781 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=0 11:47:58.782 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=1 11:47:58.782 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=2 11:47:58.782 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=3 11:47:58.783 �� �� �� �� �� �� alsa_dev.c ��Added sound device hdmi:CARD=PCH,DEV=4 11:47:58.783 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=0 11:47:58.783 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=2 11:47:58.817 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=3 11:47:58.820 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=7 11:47:58.823 �� �� �� �� �� �� alsa_dev.c ��Added sound device dmix:CARD=PCH,DEV=8 11:47:58.842 �� �� �� �� �� �� alsa_dev.c ��ALSA driver found 32 devices 11:47:58.842 �� �� �� �� �� �� alsa_dev.c ��ALSA initialized 11:47:58.843 �� �� �� �� �� openh264.cpp ��OpenH264 codec initialized 11:47:58.843 �� �� �� �� �� avi_player.c ��The AVI file has 1 streams. 11:47:58.843 �� �� �� �� �� avi_player.c ��Unsupported video stream 11:47:58.843 �� �� �� �� �� �� ��aviplay.c ��In ../src/samples/aviplay.c:202: Unknown error 220191 Can you give link for the .avi file that can be played as it seems that the .avi file format is not what the application needs ? Or otherwise help debug the issue?!! Regards Vishal Maheshwari