Audio waveforms still not working on master branch as of Apr 27, 2017
Closed, ResolvedPublic

Description

I've run it on several Linux OSs, both from repos and flatpak stable/master and cannot get the audio waveforms to appear.

On IRC, aleb mentioned that waveforms were fixed in master and had me run flatpak run org.pitivi.Pitivi//master to see if any errors come up on the console.

Immediately upon launch I see the following:

** (pitivi:2): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-ep7ceJT23f: Connection refused
Gtk-Message: Failed to load module "pk-gtk-module"

(pitivi:2): GLib-GIO-CRITICAL **: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(pitivi:2): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed

I created a new project, imported 1 mp4 file, added it to the timeline and see thumbnails in the video portion, but the audio portion is blank (green). Zooming changes nothing (besides the video thumbnails).

Only console output is: (pitivi:2): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused

aleb then requested I open this task.

My system:
Fedora 25
1 CPU, 8 cores (Intel Core i7 9xx)
8GB RAM
40GB ext3 filesystem

Pitivi versions tested:
pitivi-0.98-5.fc25.x86_64
flatpak master 0.98-152-g01cdfe8
flatpak stable 0.98-1-g2bc2bec

GStreamer packages installed:
gstreamer-plugins-base-0.10.36-15.fc25.x86_64
gstreamer1-devel-docs-1.10.4-1.fc25.noarch
gstreamer1-plugins-base-1.10.4-1.fc25.x86_64
gstreamer1-plugins-ugly-1.10.4-1.fc25.x86_64
gstreamer1-plugins-ugly-devel-docs-1.10.4-1.fc25.noarch
gstreamer1-plugins-bad-free-gtk-1.10.4-1.fc25.x86_64
gst-transcoder-1.8.2-2.fc25.x86_64
clutter-gst2-2.0.18-1.fc25.x86_64
gstreamer1-libav-1.10.3-1.fc25.x86_64
gstreamer1-plugins-bad-free-1.10.4-1.fc25.x86_64
gstreamer1-plugins-good-extras-1.10.4-1.fc25.x86_64
phonon-qt5-backend-gstreamer-4.9.0-1.fc25.x86_64
gst-editing-services-1.10.3-1.fc25.x86_64
clutter-gst3-3.0.22-1.fc25.x86_64
gstreamer-0.10.36-15.fc25.x86_64
gstreamer1-devel-1.10.4-1.fc25.x86_64
gstreamer1-plugins-base-devel-docs-1.10.4-1.fc25.noarch
python3-gstreamer1-1.10.3-1.fc25.x86_64
gstreamer-tools-0.10.36-15.fc25.x86_64
gstreamer1-plugins-base-tools-1.10.4-1.fc25.x86_64
gstreamer-ffmpeg-0.10.13-16.fc25.x86_64
gstreamer1-plugins-good-1.10.4-1.fc25.x86_64
gstreamer1-plugins-bad-free-devel-1.10.4-1.fc25.x86_64
gstreamer1-plugins-base-devel-1.10.4-1.fc25.x86_64
gstreamer1-plugins-bad-free-extras-1.10.4-1.fc25.x86_64
PackageKit-gstreamer-plugin-1.1.5-1.fc25.x86_64
gstreamer1-1.10.4-1.fc25.x86_64

Please let me know what additional info is required to help troubleshoot or resolve this issue.

Thanks!

N3WWN created this task.Apr 27 2017, 1:17 PM

BTW, attempting to use the simpsons and tears files, I do get what I'm assuming are audio waveforms at the bottom of the green area which I do not get with my mp4 files. The waveforms from these files appear to be very "vague", though, and would not be useful for aligning tracks via the audio waveforms.

N3WWN added a comment.Apr 27 2017, 1:53 PM

Used ffmpeg to convert the audio portion of my mp4 file to match the simpons file as closely as possible, but waveforms still do not show up using my file.

simpons:
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)

my file:
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)

Looks like the following errors were output around the time I imported my file or added it to the timeline:

(pitivi:2): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed

(pitivi:2): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed

(pitivi:2): Gtk-CRITICAL **: gtk_application_uninhibit: assertion 'cookie > 0' failed
aleb moved this task from Backlog to 0.99 on the Pitivi board.Apr 29 2017, 9:40 AM
aleb edited projects, added Pitivi (0.99); removed Pitivi.

Does it still happen if you update with flatpak --user update org.pitivi.Pitivi and then run flatpak run org.pitivi.Pitivi//master ?

I see when the waveform is generated, it appears only after you hover the clip with the mouse cursor: T7759. Does anything change if you do that, a few seconds after you add the clip to the timeline?

The simpsons and tears appear like this here:


I see the duration of a sample is 1s / 100 = 10ms https://github.com/pitivi/pitivi/blob/master/pitivi/timeline/previewers.py#L57

Did you use proxy files? Could you provide a sample file?

@thiblahute How can we run a specific build like "flatpak master 0.98-152-g01cdfe8"?

@thiblahute How can we run a specific build like "flatpak master 0.98-152-g01cdfe8"?

You need to see what is the tip of your local ostree repo (simplest checking the hash in ~/.local/share/flatpak/app/org.pitivi.Pitivi/current) and then you can use flatpak-bisect org.pitivi.Pitivi//master checkout ostree_commit_hack

aleb closed this task as Rejected.Sep 1 2017, 12:14 PM
aleb claimed this task.

Please reopen if you still notice the issue. Thanks!

aleb moved this task from Backlog to Done on the Pitivi (0.99) board.Sep 1 2017, 12:14 PM

GitLab Migration Automatic Message

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pitivi/issues/2026.

csoriano1618 changed the task status from Rejected to Closed.Feb 24 2018, 2:40 PM