No sound in MP4 Videos downloaded from Facebook

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

JoeGuest

  • Posts: 2
  • Joined: Thu Jan 24, 2019 12:36 am
  • Location: Cologne, Germany
  • Real Name: Joerg Gastmann

No sound in MP4 Videos downloaded from Facebook

PostThu Jan 24, 2019 1:58 am

Hi everyone,

I downloaded two videos of a Facebook live stream (that are saved in Facebook) from an event I hosted. Using three online download and converting service websites I received the mp4 files from these three sources.

All mp4 files show the same problem: They have sound in Facebook and within the VLC audio player and the windows media player, but not within DaVinci Resolve, and not in a different video editing program I tested (Magix video deluxe).
In the timeline the audio track shows no signal vizualization at all.
All other mp4 files I tried (from different sources like YouTube, television media libraries or own camera recordings) work properly with sound. It's just the mp4 files that came from Facebook which have no sound only in video editing programs.

I already downloaded the k-lite_codec_pack_1465_basic.exe and installed it (with a restart of the computer), but that didn't help.

I changed the sound card settings for the speakers from 24 bit to 16 bit 44.100 Hz, with no difference.


Does anyone have an idea what might help to get the sound within DaVinci Resolve?




Under "DaVinci Resolve - Preferences - Video and Audio I/O" the settings are:
For capture and playback use: none (default setting)
For Resolve Live use: none (default)
Release video I/O hardware when not in focus: not enabled
Enable Fairlight Audio Accelerator: not enabled
Speaker Setup: Use System Setting
Device: Speakers (Realtek High Definition Audio)
Monitor Set Format: Stereo

I'm using DaVinci Resolve 15.2.2.007 with Windows 10 Home Version 1803 Build 17134.523.

Hardware: PC with Intel Core i7-8550U 64 Bit CPU 1,8GHz, 16 GB RAM

The analysis of the file by MediaInfo says:

Complete name : C:\Users\jgast\Downloads\parteitag1.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 499 MiB
Duration : 3 h 1 min
Overall bit rate mode : variabel
Overall bit rate : 383 kb/s
Writing application : Lavf56.40.101

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Ja
Format settings, RefFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3 h 1 min
Bit rate : 312 kb/s
Width : 640 Pixel
Height : 360 Pixel
Display aspect ratio : 16:9
Frame rate mode : variabel
Frame rate : 29,970 (29970/1000) FPS
Minimum frame rate : 0,139 FPS
Maximum frame rate : 31,250 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : progressiv
Bits/(Pixel*Frame) : 0.045
Stream size : 406 MiB (81%)
Writing library : x264 core 148
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=2 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=501 / vbv_bufsize=1000 / crf_max=39.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC SBR
Format/Info : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name : HE-AAC
Format settings : NBC
Codec ID : mp4a-40-5
Duration : 3 h 1 min
Bit rate mode : variable
Bit rate : 64,0 kb/s
Maximum bit rate : 127 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48,0 kHz
Frame rate : 23,438 FPS (2048 SPF)
Stream size : 83,3 MiB (17%)
Default : yes
Alternate group : 1


Thanks a lot in advance,

Joerg Gastmann, Cologne, Germany
Joerg Gastmann, Cologne, Germany
DaVinci Resolve 15.2.2.007 with Windows 10 Home Version 1803 Build 17134.523
PC with Intel Core i7-8550U 64 Bit CPU 1,8GHz, 16 GB RAM
Offline
User avatar

Charles Bennett

  • Posts: 6260
  • Joined: Sat Nov 05, 2016 11:55 am
  • Location: United Kingdom

Re: No sound in MP4 Videos downloaded from Facebook

PostThu Jan 24, 2019 8:13 am

Remember, MP4 is just a container. What is inside can vary. The answer to your problem is in the Mediainfo list. Frame Rate Mode; Variable. Resolve and other NLEs need Constant frame rate video to work with.
You will need to transcode them to a constant frame rate using something like Handbrake or Mpeg Streamclip.
Resolve Studio 19.0b build 20
Dell XPS 8700 i7-4790, 24GB RAM, 2 x Evo 860 SSDs, GTX1060/6GB (551.86 Studio Driver), Win10 Home (22H2), Speed Editor, Faderport mk1, Eizo ColorEdge CS230 + BenQ GW2270 + Samsung SA200, Canon C100mk2, Zoom H2n.
Offline

Trensharo

  • Posts: 447
  • Joined: Mon Jul 23, 2018 1:20 pm
  • Real Name: Nate Doucette

Re: No sound in MP4 Videos downloaded from Facebook

PostThu Jan 24, 2019 8:41 am

Charles Bennett wrote:Remember, MP4 is just a container. What is inside can vary. The answer to your problem is in the Mediainfo list. Frame Rate Mode; Variable. Resolve and other NLEs need Constant frame rate video to work with.
You will need to transcode them to a constant frame rate using something like Handbrake or Mpeg Streamclip.

Untrue, as most NLEs have been updated specifically to work with this type of media: Premiere Pro, Final Cut Pro X, VEGAS Pro, Edius Pro, Lightworks, Video Pro X, etc. all work out of the box with this type of media. It isn't a problem.

I'm sure there are a few that don't work well with VFR. Resolve is one. Not sure about Avid.

With Resolve, you need to create Optimized Media. I don't generally recommend Handbrake, because the video usually ends up looking worse after you use it to transcode. Don't use MPEG Streamclip, so cannot speak of it.

If the audio isn't playing, the issue is more likely the Audio Codec used in the video file.

VFR problems usually manifest in awful playback performance, black video frames while the audio plays fine, or "Media Offline" for the video file in the media pool...
Offline

JoeGuest

  • Posts: 2
  • Joined: Thu Jan 24, 2019 12:36 am
  • Location: Cologne, Germany
  • Real Name: Joerg Gastmann

Re: No sound in MP4 Videos downloaded from Facebook

PostThu Jan 24, 2019 1:42 pm

Charles Bennett wrote:Remember, MP4 is just a container. What is inside can vary. The answer to your problem is in the Mediainfo list. Frame Rate Mode; Variable. Resolve and other NLEs need Constant frame rate video to work with.
You will need to transcode them to a constant frame rate using something like Handbrake or Mpeg Streamclip.


Thank you very much for your help and your commendable support, Charles. Impressive know-how! Your advice solved the problem!
For those who run into the same problem of videos without sound within DaVinci Resolve or other NLEs (but with sound in VLC player, windows media player, etc): Download Handbrake (handbrake.fr/downloads.php) and follow the instructions of the YouTube video "How To Convert Variable Framerate Video To Constant (Audio Desync Fix)" by "Turbulent Limo" (youtube.com/watch?v=Hp2wiEUhV08). Set "Constant Framerate" in the video tab.
Joerg Gastmann, Cologne, Germany
DaVinci Resolve 15.2.2.007 with Windows 10 Home Version 1803 Build 17134.523
PC with Intel Core i7-8550U 64 Bit CPU 1,8GHz, 16 GB RAM
Offline

glue_ch

  • Posts: 4
  • Joined: Fri Feb 01, 2019 1:48 am
  • Real Name: Phuoc Bao Chi Ho

Re: No sound in MP4 Videos downloaded from Facebook

PostFri Feb 01, 2019 2:09 am

I don't think it is the variable framerate that cause the problem. I tried to "convert" the video using Handbrake with variable and constant frame rate setting, both of the output video work in Resolve.
It means for now (until BM fix it), you guys just need to let the Facebook video goes through Handbrake (or Premiere, export same as source) and the problem is solved.
Offline

glcohen

  • Posts: 1
  • Joined: Thu Nov 14, 2019 7:44 am
  • Real Name: geoffrey cohen

Re: No sound in MP4 Videos downloaded from Facebook

PostWed Apr 01, 2020 2:15 pm

I had a similar problem importing MP4 files to Resolve where the sound was not being imported. I found that the solution was to look at the import file attributes and make sure that 2 stereo tracks were specified.
Offline

javakinetic

  • Posts: 1
  • Joined: Wed Aug 26, 2020 12:19 am
  • Real Name: Vern Baker

Re: No sound in MP4 Videos downloaded from Facebook

PostWed Aug 26, 2020 12:26 am

I have a SOLUTION!!!!!!!!!!!

I can't tell you how much time I have spent trying every software product and combination of codecs to make MTS be an MP4 with actual audio. Finally, one worked:

Try this:

D:\Video\ffmpeg\bin\ffmpeg -i 00040.MTS -vcodec mpeg4 -b:v 15M -acodec ac3_fixed -b:a 192k 00040.mp4

This is the magic bit:

-acodec ac3_fixed

Ironically, this will not play audio in VCL, but it works in Resolve... and thats all anyone cares about if they are reading this.
Offline

xboyblue

  • Posts: 1
  • Joined: Thu Sep 10, 2020 6:39 am
  • Real Name: Xernan Balancio

Re: No sound in MP4 Videos downloaded from Facebook

PostThu Sep 10, 2020 6:45 am

Hi Javakinetic, thank you for sharing, but may I know specifically where to place the syntax you have shared? I have tried converting the file in HandBrake, but I still have the same no audio detected in Resolve.

Thank you in advance.
Offline

blueowlarts

  • Posts: 1
  • Joined: Tue Nov 10, 2020 8:48 pm
  • Real Name: Kevin Wieser

Re: No sound in MP4 Videos downloaded from Facebook

PostTue Nov 10, 2020 8:50 pm

javakinetic wrote:I have a SOLUTION!!!!!!!!!!!

I can't tell you how much time I have spent trying every software product and combination of codecs to make MTS be an MP4 with actual audio. Finally, one worked:

Try this:

D:\Video\ffmpeg\bin\ffmpeg -i 00040.MTS -vcodec mpeg4 -b:v 15M -acodec ac3_fixed -b:a 192k 00040.mp4

This is the magic bit:

-acodec ac3_fixed

Ironically, this will not play audio in VCL, but it works in Resolve... and thats all anyone cares about if they are reading this.


I have tried the Handbrake solutuon but it still doesn't work.
@Javakinetic can you explain a little more what you did. I'm not sure what to do, to try your fix.
Offline

mitchellkrog

  • Posts: 5
  • Joined: Tue Dec 15, 2020 1:01 pm
  • Real Name: Mitchell Krog

Re: No sound in MP4 Videos downloaded from Facebook

PostFri Feb 05, 2021 1:32 pm

I encountered the same situation today, where I downloaded some "Like subscribe" video endings from a YouTube channel giving them away for free. The video played in VLC with sound but when imported into Studio 17 Beta 7 there was no sound in the clip. I tried every suggested method to convert the file with Handbrake, VLC and ffmpeg and nothing worked. What DID eventually work was I imported the clip Into Resolve Free 15 on my Macbook, and then rendered it from there and voila it was fixed.
Offline

atmosfar

  • Posts: 207
  • Joined: Fri Jun 05, 2020 1:06 pm
  • Real Name: Conor Sexton

Re: No sound in MP4 Videos downloaded from Facebook

PostFri Feb 05, 2021 5:57 pm

One thing you can always try is to extract the audio from the video file, convert it to a WAV, and import it separately.

Using ffmpeg that would be:

Code: Select all
ffmpeg -i <your troublesome video file>.mp4 -vn -acodec pcm_s16le audio_only.wav


-i : input
-vn : disable video
-acodec : audio codec to be used, 16 bit PCM in this case, for a WAV file
Offline

perklason

  • Posts: 5
  • Joined: Thu Apr 11, 2013 8:51 am

Re: No sound in MP4 Videos downloaded from Facebook

PostThu Apr 22, 2021 11:00 pm

A solution is to encode the video with h264 codec and pcm audio into a .mov file instead of .mp4. Then it works.

If you use ffmpeg then:

ffmpeg -i inputfile.mp4 -acodec pcm_s16le -vcodec copy outfile.mov

The "-vcodec copy" simply means that the video codec in the input file will be copied to the outfile, so this goes fast since there is no re-encoding of video done, and you don't have to export the audio separately and all that.
Last edited by perklason on Sat Apr 24, 2021 2:10 pm, edited 3 times in total.
Offline

peterjackson

  • Posts: 1144
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: No sound in MP4 Videos downloaded from Facebook

PostFri Apr 23, 2021 9:21 am

That's the correct solution. Covert audio to wav, copy video and remux.
5950x, 3090, 128GB.
Offline

actor_incognito

  • Posts: 1
  • Joined: Tue Feb 16, 2021 9:40 pm
  • Real Name: Byron Gray

Re: No sound in MP4 Videos downloaded from Facebook

PostSat Aug 07, 2021 11:45 pm

glcohen wrote:I had a similar problem importing MP4 files to Resolve where the sound was not being imported. I found that the solution was to look at the import file attributes and make sure that 2 stereo tracks were specified.


This solution worked for me, and I wanted to provide a few more details for others. I had a downloaded Youtube clip that was playing audio in the preview window in the Media Pool, but not importing the audio into my timeline.

In the media pool, I right-clicked on the offending clip, and selected "Clip Attributes." I think messed around with the settings under the "Audio" tab. The clip had one Mono channel listed, but I added another one both coming from the same source channel ("Embedded Channel 1"). This fixed the issue for me.
Offline

Rixcandoit

  • Posts: 11
  • Joined: Mon Sep 21, 2020 7:50 pm
  • Real Name: Richard Ratchford

Re: No sound in MP4 Videos downloaded from Facebook

PostTue Dec 14, 2021 4:27 pm

This is a problem I experience currently when doing screen saves using Icecream Screen Recorder.

It produces .MP4 video clips that can be played by VLC, Media Player, etc. without any issues.

But in DR17, I have no audio.

To get around this, I use my VideoProc Coverter application to convert the MP4 to MP4.

The AUDIO information before converting looks like this:

Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 6B
Duration : 10 min 24 s
Duration_LastFrame : -1 ms
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Compression mode : Lossy
Stream size : 14.3 MiB (7%)
Default : Yes
Alternate group : 1


The AUDIO information AFTER converting looks like this:

Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 10 min 24 s
Duration_LastFrame : -19 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 spf)
Compression mode : Lossy
Stream size : 9.55 MiB (5%)
Default : Yes
Alternate group : 1

I'm no video/audio expert and don't know much about this stuff. What I can notice from this is that by converting I've gone from MPEG Audio Version 1 to AAC. It would seem to me that DR17 does not like MPEG Audio v1. I don't know.

But for now that's the solution I have and it works for me, although I wish I didn't have to go this extra step.
DaVinci Resolve Studio
Windows 10 (64-bit) Pro
Gigabyte X570 AORUS ULTRA mb
AMD Ryzen 3700X 8-Core CPU
64gb RAM
500gb NVME SSD
1.5gb SSD
NVIDIA Geforce GTX 1050 Ti GPU
Offline

atmosfar

  • Posts: 207
  • Joined: Fri Jun 05, 2020 1:06 pm
  • Real Name: Conor Sexton

Re: No sound in MP4 Videos downloaded from Facebook

PostTue Dec 14, 2021 9:35 pm

DR is possibly having issues because your MP4 file has MP3 audio in it instead of AAC, which is outside of the official format specifications.

Try recording using OBS instead, it will give you more control over the format of your screen recording files (including AAC audio).


Rixcandoit wrote:This is a problem I experience currently when doing screen saves using Icecream Screen Recorder.

It produces .MP4 video clips that can be played by VLC, Media Player, etc. without any issues.

But in DR17, I have no audio.

To get around this, I use my VideoProc Coverter application to convert the MP4 to MP4.

The AUDIO information before converting looks like this:

Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 6B
Duration : 10 min 24 s
Duration_LastFrame : -1 ms
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Compression mode : Lossy
Stream size : 14.3 MiB (7%)
Default : Yes
Alternate group : 1


The AUDIO information AFTER converting looks like this:

Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 10 min 24 s
Duration_LastFrame : -19 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 spf)
Compression mode : Lossy
Stream size : 9.55 MiB (5%)
Default : Yes
Alternate group : 1

I'm no video/audio expert and don't know much about this stuff. What I can notice from this is that by converting I've gone from MPEG Audio Version 1 to AAC. It would seem to me that DR17 does not like MPEG Audio v1. I don't know.

But for now that's the solution I have and it works for me, although I wish I didn't have to go this extra step.
Offline

peterjackson

  • Posts: 1144
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: No sound in MP4 Videos downloaded from Facebook

PostWed Dec 15, 2021 6:59 am

Yes Resolve doesn't like mp3 in mp4. No idea why it makes such a fuss about this and that codec working only from this and that container. Many threads about the limitation.

In particular the differences between MKV and Webm are strange, as WEBM is a valid MKV file by definition.
5950x, 3090, 128GB.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Geoff Treseder, jcoleman111, panos_mts, SimonLL, ZRGARDNE and 170 guests