salsaman / LiVES

LiVES is a feature rich application which combines elements of VJ and video editing software. The current version runs on Linux / BSD. Check_out_the_new_discussion_area https://github.com/salsaman/LiVES/discussions
http://lives-video.com
GNU General Public License v3.0
91 stars 12 forks source link

mpv does not crash #48

Open bkauler opened 2 years ago

bkauler commented 2 years ago

Earlier on in one of these issues, I reported that same "canary" fail, which was solved by updating mpv to the latest version, 0.34.1. Trying same test as you did above:

# mpv --no-video --ao=pcm 20051210-w50s_56K.flv 
     Video --vid=1 (vp6f 192x154 10.000fps)
 (+) Audio --aid=1 (mp3 1ch 11025Hz)
[ao/pcm] File: audiodump.wav (WAVE)
[ao/pcm] PCM: Samplerate: 11025 Hz Channels: 1 Format: float
AO: [pcm] 11025Hz mono 1ch float

Exiting... (End of file)
# 

I played the file 'audiodump.wav' in mhwaveedit, it is 16.8 sec long.

Well, if you really want to chase down what is going on, why not bootup EasyOS?

  1. Download the image file easy-3.2-amd64.img.gz from: https://distro.ibiblio.org/easyos/amd64/releases/dunfell/3.2/easy-3.2-amd64.img.gz

  2. Expand and write it to a usb-stick. Need a usb stick at least 8GB, good quality (for example Sandisk Ultra or Sandisk Extreme), say it is /dev/sdb, do as root:

    # gunzip easy-3.2-amd64.img.gz
    # dd if=easy-3.2-amd64.img of=/dev/sdb bs=1M
    # sync
  3. Boot from the usb-stick

  4. Install dev pkgs: Click "sfsget' on the desktop, choose file 'devx_3.2_amd64.sfs' Install it to main desktop, not in a container. Reboot.

  5. You are now ready to compile. Absolutely every dev pkg is installed and all tools such as autotools, git, etc. There is even nemiver gui debugger.

Originally posted by @bkauler in https://github.com/salsaman/LiVES/issues/47#issuecomment-1010828784

bkauler commented 2 years ago

If you don't want to do this, just close this issue.

bkauler commented 2 years ago

An extra note, if you decide to try compiling in EasyOS. Version 3.2 has lives and hence all the depencencies builtin, and in the dev sfs.

Easy version 3.2.1 has flowblade video editor, and I removed 'libdv', 'mjpegtools', 'libmatroska' and 'unicap'. However, they are available via the package manager ("petget" icon on desktop).

Note, flowblade is ok, except crashes when try to do a transition between clips. Have raised the issue with them.

I am still preferring lives as the builtin choice, as it is smaller.

bkauler commented 2 years ago

For the record, I compiled mplayer, and got EXACTLY the same failures with audio, as reported in #47 for the 2005*flv file. So the error is in lives, not mpv.

This is how I compiled mplayer, latest version from svn today:

# ./configure --prefix=/usr --confdir=/etc --disable-ffmpeg_a --disable-jack --disable-sse2 --disable-ssse3  --disable-mmxext --disable-3dnow

  Install prefix: /usr
  Data directory: /usr/share/mplayer
  Config direct.: /etc

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
    Input: dvdnav ftp pvr tv-v4l2 tv cddb cdda dvdread bluray vcd dvb networking 
    Codecs: x264 xvid libdv ffmpeg real xanim faad2 faac libmpeg2 liba52 mpg123 libtheora speex libvorbis libmad liblzo gif 
    Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb) 
    Video output: v4l2 matrixview opengl sdl gif89a pnm jpeg mng mpegpes(dvb) fbdev xvidix cvidix vdpau xv x11 xover yuv4mpeg md5sum tga 

  Disabled optional drivers:
    Input: vstream radio tv-v4l1 tv-dshow librtmp live555 nemesi smb 
    Codecs: libaom libdav1d libvpx crystalhd libopencore_amrwb libopencore_amrnb qtx win32 libopus ilbc musepack libdca libgsm toolame twolame OpenJPEG 
    Audio output: sndio sun openal jack nas esd arts dxr2 
    Video output: zr zr2 dxr3 dxr2 vesa svga caca aa ggi winvidix 3dfx xmga dga xvmc directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga
salsaman commented 2 years ago

Thanks. Odd that it works for me and not for you. I'm using MPlayer 1.3.0 (Debian), which is the current version from ubuntu studio 20.01