Using proxy after reopening project makes playback null

What is your operating system?

Ubuntu 20.04.1 LTS
What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?

20.10.31
Can you repeat the problem? If so, what are the steps?
I created a new project and embedded a video file in it. I dragged the file to the timeline while the application was making proxy of it. The playback went fine. I closed the application without saving the project. Then, i reopened the project and dragged the same video file to the timeline. The playback is without sound and pictures with black background. The app shows that proxy is in use. The proxy file itself is fine if checked outside the application. This only appears every time I reopen the project that has the proxy already.

However, for the first time I met this problem was just after turning off the visibility and sound of a timeline track and later back on again which resulted with any newer track to be blacked out while only the original that wasn’t proxy to be played properly.

It sounds like the proxy file audio and video stream indexes mismatch the original. Does the original file have more than one audio or video track listed in its Properties? Can you send the output of Properties > menu > More Information for it?

I would if there would be such an option. There’s no such thing as menu in Properties. I’m also sure that none of my tested video files have more than one audio or video track inside, how would it be possible at all?

Are you looking in Shotcut’s Properties for the original file?
As it stands I do not reproduce this. Is the problem only on one file or files from a certain camera or every audio/video file you have tried?

Yes, I am.

The problem is with any file.

There is a menu in Properties and unable to reproduce.

The only menu in Properties I can see contains three items:

  1. Show in Folder
  2. Copy Full File Path
  3. Set Creation Time…

You are looking at the Properties of an image, but your bug report is about a video.

# ffprobe output
[programs.program.0]
program_id=1
program_num=1
nb_streams=3
pmt_pid=256
pcr_pid=4097
start_pts=559156
start_time=0:00:00.559156
end_pts=48591156
end_time=0:00:48.591156
[programs.program.0.streams.stream.0]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1/100
codec_tag_string=HDPR
codec_tag=0x52504448
width=1920
height=1080
coded_width=1920
coded_height=1088
has_b_frames=1
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=42
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=false
nal_length_size=0
id=0x1011
r_frame_rate=50/1
avg_frame_rate=50/1
time_base=1/90000
start_pts=50324
start_time=0:00:00.559156
duration_ts=4321800
duration=0:00:48.020000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[programs.program.0.streams.stream.0.disposition]
default=0
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
[programs.program.0.streams.stream.1]
index=1
codec_name=ac3
codec_long_name=ATSC A/52A (AC-3)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=AC-3
codec_tag=0x332d4341
sample_fmt=fltp
sample_rate=48 KHz
channels=2
channel_layout=stereo
bits_per_sample=0
dmix_mode=-1
ltrt_cmixlev=-1.000000
ltrt_surmixlev=-1.000000
loro_cmixlev=-1.000000
loro_surmixlev=-1.000000
id=0x1100
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=50324
start_time=0:00:00.559156
duration_ts=4322880
duration=0:00:48.032000
bit_rate=256 Kbit/s
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[programs.program.0.streams.stream.1.disposition]
default=0
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
[programs.program.0.streams.stream.2]
index=2
codec_name=hdmv_pgs_subtitle
codec_long_name=HDMV Presentation Graphic Stream subtitles
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[144][0][0][0]
codec_tag=0x0090
width=1920
height=1080
id=0x1200
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=50324
start_time=0:00:00.559156
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[programs.program.0.streams.stream.2.disposition]
default=0
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
[streams.stream.0]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1/100
codec_tag_string=HDPR
codec_tag=0x52504448
width=1920
height=1080
coded_width=1920
coded_height=1088
has_b_frames=1
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=42
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=false
nal_length_size=0
id=0x1011
r_frame_rate=50/1
avg_frame_rate=50/1
time_base=1/90000
start_pts=50324
start_time=0:00:00.559156
duration_ts=4321800
duration=0:00:48.020000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[streams.stream.0.disposition]
default=0
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
[streams.stream.1]
index=1
codec_name=ac3
codec_long_name=ATSC A/52A (AC-3)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=AC-3
codec_tag=0x332d4341
sample_fmt=fltp
sample_rate=48 KHz
channels=2
channel_layout=stereo
bits_per_sample=0
dmix_mode=-1
ltrt_cmixlev=-1.000000
ltrt_surmixlev=-1.000000
loro_cmixlev=-1.000000
loro_surmixlev=-1.000000
id=0x1100
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=50324
start_time=0:00:00.559156
duration_ts=4322880
duration=0:00:48.032000
bit_rate=256 Kbit/s
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[streams.stream.1.disposition]
default=0
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
[streams.stream.2]
index=2
codec_name=hdmv_pgs_subtitle
codec_long_name=HDMV Presentation Graphic Stream subtitles
profile=unknown
codec_type=subtitle
codec_time_base=0/1
codec_tag_string=[144][0][0][0]
codec_tag=0x0090
width=1920
height=1080
id=0x1200
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=50324
start_time=0:00:00.559156
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[streams.stream.2.disposition]
default=0
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
[format]
filename=/home/kalmer/Videos/õhureostamine/00047.MTS
nb_streams=3
nb_programs=1
format_name=mpegts
format_long_name=MPEG-TS (MPEG-2 Transport Stream)
start_time=0:00:00.559156
duration=0:00:48.032000
size=143.425781 Mibyte
bit_rate=25.048772 Mbit/s
probe_score=50
Completed successfully in 00:00:00

I found a AVCHD file very similar to yours, but I did not reproduce a problem. If you create a new project with proxy turned on and add the same clip does it still have the problem? Or is the problem only in the first “reopen the project that has the proxy already?” The steps to reproduce it are not clear. What build/package of Shotcut are you using (Snap, AppImage, Portable, Flatpak, distro package)?

There’s no problem if I use the file in a new project. The problem only persists if I reopen the same project. Any same project.

Shotcut is installed via snap.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.