gstreamer does not recognize audio when file exceeds 120+s
Hi, i got a strange problem, when exporting videos from Davince Resolve: As long as the file stays below 120s, the audio stream is discovered (gst-discoverer, totem, ...) After that, the audio track seems to vanish. ffmpeg still sees it, vlc may play the file, where totem stays silent. I did not check out the definite magic value - it lies between 121 and 140 seconds:
Source video is GoPro Footage with 59.97fps
reimann@Anor:~$ gst-discoverer-1.0 /media/tirith/Backups/Resolve/LonghornRide.mov
Analyzing file:///media/tirith/Backups/Resolve/LonghornRide.mov
Done discovering file:///media/tirith/Backups/Resolve/LonghornRide.mov
Topology:
container: Quicktime
video: MPEG-4 Video (Simple Profile)
Properties:
Duration: 0:02:20.089950000
Seekable: yes
Live: no
Tags:
Video-Codec: MPEG-4 video
Maximale Bitrate: 127364840
Bitrate: 127364840
Sprachcode: en
Anwendungsname: Blackmagic Design DaVinci Resolve
QT atom: buffer of 33 bytes
Containerformat: Quicktime
A shorter version shows like:
eimann@Anor:~$ gst-discoverer-1.0 /media/tirith/Backups/Resolve/LonghornRide-120s.mov
Analyzing file:///media/tirith/Backups/Resolve/LonghornRide-120s.mov
Done discovering file:///media/tirith/Backups/Resolve/LonghornRide-120s.mov
Topology:
container: Quicktime
audio: Rohes 16-Bit PCM Audio
video: MPEG-4 Video (Simple Profile)
Properties:
Duration: 0:02:00.136683333
Seekable: yes
Live: no
Tags:
Audio-Codec: Raw LPCM audio
Sprachcode: en
Bitrate: 1536002
Anwendungsname: Blackmagic Design DaVinci Resolve
QT atom: buffer of 33 bytes
Containerformat: Quicktime
Video-Codec: MPEG-4 video
Maximale Bitrate: 128203029
Where ffpmeg finds:
reimann@Anor:~$ ffprobe /media/tirith/Backups/Resolve/LonghornRide.mov
ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
[...]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/tirith/Backups/Resolve/LonghornRide.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Blackmagic Design DaVinci Resolve
Duration: 00:02:20.09, start: 0.000000, bitrate: 128903 kb/s
Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p(bt709/bt709/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 127364 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 60k tbc (default)
Metadata:
handler_name : VideoHandler
encoder : MPEG4 Video
timecode : 01:00:00:00
Stream #0:1(eng): Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
handler_name : TimeCodeHandler
timecode : 01:00:00:00
Attached is a 4s (Award winning-) Clip LonghornRide-4s
Also here a low-quality export of full length LonghornRide-lowq
I am running 1.16.2 on ubuntu20.04, the problem had been the same on 18.04
best regards, Ingo