No audio when viewing loaded video

Author: johann-petrakCreated Aug 16, 2025Updated Sep 15, 2026

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Steps to reproduce

I am using the flatpak installation on an Ubuntu 24.04 system.

This does not seem to be a reproducable error, at least once it occurred for some time then was fine.

I had this happen two times now: after I load a video when I click the play button, the video is shown but without any audio. I think this happened both times initially after using "close" to end work on a previous video and then loading another, but weirdly the problem persists even after exiting LosslessCut and starting it freshly, and importing the video again. When this happened the first time, after a few tries, the audio was back (same video, same imported file that did not work before). Now this second time, I have tried restarting LosslessCut several times and the audio is always not playing. The audio is playing fine when viewing the video with any other video playing software (e.g. mplayer). The LosslessCut app has the volume turned on fully in the pulseaudiomixer, nothing changed there between when it worked and when it did not work.

Here is the console log, should it be relevant:

[3:0816/173931.830110:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 17:39:33.537: Failed to load module "xapp-gtk3-module"
Gtk-Message: 17:39:33.537: Failed to load module "canberra-gtk-module"
[3:0816/173933.592920:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0816/173933.592983:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3:0816/173941.596244:ERROR:bus.cc(562)] Failed to get the ownership of org.mpris.MediaPlayer2.chromium.instance3: org.freedesktop.DBus.Error.ServiceUnknown

Expected behavior

Audio plays

Actual behavior

Audio does not play

Provide an error report

{
  "state": {
    "ffmpegExperimental": false,
    "preserveMovData": true,
    "movFastStart": true,
    "preserveMetadataOnMerge": false,
    "filePath": "/run/user/1000/doc/49b690a1/video.mp4",
    "fileFormat": "mp4",
    "externalFilesMeta": {},
    "mainStreams": [
      {
        "index": 0,
        "codec_name": "h264",
        "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
        "profile": "Main",
        "codec_type": "video",
        "codec_tag_string": "avc1",
        "codec_tag": "0x31637661",
        "width": 604,
        "height": 360,
        "coded_width": 604,
        "coded_height": 360,
        "closed_captions": 0,
        "film_grain": 0,
        "has_b_frames": 1,
        "sample_aspect_ratio": "1:1",
        "display_aspect_ratio": "151:90",
        "pix_fmt": "yuv420p",
        "level": 30,
        "color_range": "tv",
        "color_space": "bt470bg",
        "color_primaries": "bt470bg",
        "chroma_location": "left",
        "field_order": "progressive",
        "refs": 1,
        "is_avc": "true",
        "nal_length_size": "4",
        "id": "0x1",
        "r_frame_rate": "25/1",
        "avg_frame_rate": "25/1",
        "time_base": "1/90000",
        "start_pts": 0,
        "start_time": "0.000000",
        "duration_ts": 184435200,
        "duration": "2049.280000",
        "bit_rate": "370751",
        "bits_per_raw_sample": "8",
        "nb_frames": "51232",
        "extradata_size": 44,
        "disposition": {
          "default": 1,
          "dub": 0,
          "original": 0,
          "comment": 0,
          "lyrics": 0,
          "karaoke": 0,
          "forced": 0,
          "hearing_impaired": 0,
          "visual_impaired": 0,
          "clean_effects": 0,
          "attached_pic": 0,
          "timed_thumbnails": 0,
          "non_diegetic": 0,
          "captions": 0,
          "descriptions": 0,
          "metadata": 0,
          "dependent": 0,
          "still_image": 0
        },
        "tags": {
          "creation_time": "2018-10-24T19:23:42.000000Z",
          "language": "und",
          "handler_name": "ISO Media file produced by (REDACTED)",
          "vendor_id": "[0][0][0][0]"
        }
      },
      {
        "index": 1,
        "codec_name": "aac",
        "codec_long_name": "AAC (Advanced Audio Coding)",
        "profile": "LC",
        "codec_type": "audio",
        "codec_tag_string": "mp4a",
        "codec_tag": "0x6134706d",
        "sample_fmt": "fltp",
        "sample_rate": "44100",
        "channels": 2,
        "channel_layout": "stereo",
        "bits_per_sample": 0,
        "initial_padding": 0,
        "id": "0x2",
        "r_frame_rate": "0/0",
        "avg_frame_rate": "0/0",
        "time_base": "1/44100",
        "start_pts": 0,
        "start_time": "0.000000",
        "duration_ts": 90374144,
        "duration": "2049.300317",
        "bit_rate": "125589",
        "nb_frames": "88256",
        "extradata_size": 2,
        "disposition": {
          "default": 1,
          "dub": 0,
          "original": 0,
          "comment": 0,
          "lyrics": 0,
          "karaoke": 0,
          "forced": 0,
          "hearing_impaired": 0,
          "visual_impaired": 0,
          "clean_effects": 0,
          "attached_pic": 0,
          "timed_thumbnails": 0,
          "non_diegetic": 0,
          "captions": 0,
          "descriptions": 0,
          "metadata": 0,
          "dependent": 0,
          "still_image": 0
        },
        "tags": {
          "creation_time": "2018-10-24T19:23:42.000000Z",
          "language": "und",
          "handler_name": "ISO Media file produced by (REDACTED)",
          "vendor_id": "[0][0][0][0]"
        }
      }
    ],
    "copyStreamIdsByFile": {
      "/run/user/1000/doc/49b690a1/video.mp4": {
        "0": true,
        "1": true
      }
    },
    "cutSegments": [
      {}
    ],
    "mainFileFormatData": {
      "filename": "/run/user/1000/doc/49b690a1/video.mp4",
      "nb_streams": 2,
      "nb_programs": 0,
      "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
      "format_long_name": "QuickTime / MOV",
      "start_time": "0.000000",
      "duration": "2049.300317",
      "size": "128076079",
      "bit_rate": "499979",
      "probe_score": 100,
      "tags": {
        "major_brand": "mp42",
        "minor_version": "0",
        "compatible_brands": "isommp42",
        "creation_time": "2018-10-24T19:23:42.000000Z"
      }
    },
    "rotation": 360,
    "shortestFlag": false,
    "effectiveExportMode": "separate",
    "outSegTemplate": "${FILENAME}-2nd${EXT}"
  },
  "platform": "linux",
  "version": "3.55.1"
}

Share the file

No response

Share log from developer tools

Version 3.55.1
index-20f84d61.js:169 ffmpeg -hide_banner -f lavfi -i 'nullsrc=s=256x256:d=1' -f null -
losslesscut.mifi.no/config.json:1          Failed to load resource: net::ERR_INTERNET_DISCONNECTED
losslesscut.mifi.no/config.json:1          Failed to load resource: net::ERR_INTERNET_DISCONNECTED
DevTools failed to load source map: Could not parse content for file:///app/lossless-cut/resources/app/node_modules/cue-parser/lib/cue.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not parse content for file:///app/lossless-cut/resources/app/node_modules/cue-parser/lib/command.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not parse content for file:///app/lossless-cut/resources/app/node_modules/cue-parser/lib/cuesheet.js.map: Unexpected end of JSON input
index-20f84d61.js:307 userOpenFiles
index-20f84d61.js:307 /run/user/1000/doc/49b690a1/Mozart Concerto for piano and Orchestra -d-minor- K.466- Uchida.mp4
index-20f84d61.js:169 ffprobe -of json -show_chapters -show_format -show_entries stream -i '/run/user/1000/doc/49b690a1/video.mp4' -hide_banner
index-20f84d61.js:307 loadMedia /run/user/1000/doc/49b690a1/video.mp4 /run/user/1000/doc/5136e8f5/mozart undefined
index-20f84d61.js:307 State reset
index-20f84d61.js:307 onDurationChange 2049.300317
index-20f84d61.js:169 ffprobe -v error -read_intervals '0%30' -show_packets -select_streams 0 -show_entries 'packet=pts_time,flags' -of json '/run/user/1000/doc/49b690a1/video.mp4'
index-20f84d61.js:169 ffprobe -v error -read_intervals '0%45.416882' -show_packets -select_streams 0 -show_entries 'packet=pts_time,flags' -of json '/run/user/1000/doc/49b690a1/video.mp4'