I mean video that actually have audio
I have some vodeo that actually have an audio track but the audio is completly silent
Is Everything able to show me videos with audio
-
vsub
- Posts: 516
- Joined: Sat Nov 12, 2011 11:51 am
-
therube
- Posts: 5874
- Joined: Thu Sep 03, 2009 6:48 pm
Re: Is Everything able to show me videos with audio
Outside of Everything...
This, as it plays a file, displays a graph of the "audio".
If that graph is flat, one might consider it a file without audio.
(Note that some files may simply contain audio that is so low [in volume] that one may not ordinarily hear it.)
NOSOUND.bat:
ffplay.exe is part of FFmpeg.
(My "work around" shouldn't be needed any longer, but being there doesn't hurt.)
.
This, as it plays a file, displays a graph of the "audio".
If that graph is flat, one might consider it a file without audio.
(Note that some files may simply contain audio that is so low [in volume] that one may not ordinarily hear it.)
NOSOUND.bat:
Code: Select all
:: NOSOUND.bat SjB 10/08/2013
:: plays a media file, but AUDIO ONLY
:: so if its a video, all you get is
:: the audio, AND, doing it this way,
:: it gives you a "visualization", so
:: you can "see" if there is no AUDIO
:: in a particular clip
07/06/2018
:: change to work around:
:: FFplay: WASAPI can't initialize audio client (zeranoe's FFmpeg 3.4 MS Windows binaries)"
:: https://trac.ffmpeg.org/ticket/6891
:: or, you could just use some old version of ffplay.exe, where things still worked ;-)
Set SDL_AUDIODRIVER=directsound
FFPLAY.EXE %1 -vn
Set SDL_AUDIODRIVER=
(My "work around" shouldn't be needed any longer, but being there doesn't hurt.)
.
You do not have the required permissions to view the files attached to this post.
-
therube
- Posts: 5874
- Joined: Thu Sep 03, 2009 6:48 pm
Re: Is Everything able to show me videos with audio
(just some notes & whatnot)
Files that appeared (well, sounded) like they had no sound, but in fact, did.
An audio file with no sound.
I then took it & did a ffmpeg "copy" to it, resulting in a file (again) with no sound.
(Sometimes a "copy" fixes a quirk/bug in an existing file.)
ffmpeg.exe -i xxx.mp3 -c copy out.mp3
. .
My NOSOUND.bat "showing" a file with "no sound" & a file with sound.
. .
Here I took an .flv video file, where there was no sound in the audio portion,
pulled the audio out separately, then transcoded that "audio" to .mp3.
Alas that .mp3 still had no sound.
ffmpeg.exe -i xxx.flv out.mp3
. .
Stats on the original (audio of) the .flv (video file):
And here is what my player said:
Don't know why there is "no sound"? Maybe... the tool originally used to create the file "required" an audio track, & if the source was video only, it inserted 22 minutes (& 15 MB) of "audio" - that was, silent - hence, "no sound"? (Doesn't make sense to me, but who knows.)
Files that appeared (well, sounded) like they had no sound, but in fact, did.
Code: Select all
12-AudioTrack 12.mp3 - benny goodman
seems 2b "empty" - no sound at all ? MUCH, almost all, of that "album" is barely audible
06-AudioTrack 06.mp3 - benny goodman
05-AudioTrack 05.mp3 - benny goodman
01-AudioTrack 01.mp3 - benny goodman
ditto, no sound AT ALL ?
- AH, they *do* have sound, it is just SO LOW, at parts, that you may not /HEAR/ it
- so... ?
An audio file with no sound.
I then took it & did a ffmpeg "copy" to it, resulting in a file (again) with no sound.
(Sometimes a "copy" fixes a quirk/bug in an existing file.)
ffmpeg.exe -i xxx.mp3 -c copy out.mp3
. .
My NOSOUND.bat "showing" a file with "no sound" & a file with sound.
. .
Here I took an .flv video file, where there was no sound in the audio portion,
pulled the audio out separately, then transcoded that "audio" to .mp3.
Alas that .mp3 still had no sound.
ffmpeg.exe -i xxx.flv out.mp3
. .
Stats on the original (audio of) the .flv (video file):
Code: Select all
FILE 1:
C:\out\SALAMANDER\chk\xxx.flv
General
Complete name : C:\out\SALAMANDER\chk\xxx.flv
Format : Flash Video
File size : 62.2 MiB
Duration : 22 min 28 s
Overall bit rate : 387 kb/s
Frame rate : 5.000 FPS
Tagged date : 2009-12-13 16:23:50 UTC
Video
Format : Sorenson Spark
Codec ID : 2
Duration : 22 min 28 s
Bit rate : 295 kb/s
Width : 448 pixels
Height : 336 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 5.000 FPS
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.392
Stream size : 47.5 MiB (76%)
Audio
Format : ADPCM
Format settings : ShockWave
Codec ID : 1
Duration : 22 min 26 s
Bit rate : 88.8 kb/s
Channel(s) : 1 channel
Sampling rate : 22.05 kHz
Bit depth : 16 bits
Stream size : 14.6 MiB (23%)
Code: Select all
command line:
c:\wlib\players\mplayer\mplayer.exe -nogui -noconsolecontrols -slave
-identify -noquiet -nofs -noterm-osd -hr-mp3-seek -subalign 1 -spualign
1 -sub-fuzziness 0 -subfont-autoscale 2 -subfont-osd-scale 4.8
-subfont-text-scale 4.5 -subfont-outline 2 -subfont-blur 2 -priority
abovenormal -nomsgmodule -volume 100 -colorkey 0x101010 -nokeepaspect
-wid 26679234 -double -nofontconfig -font e:\windows\fonts\arial.ttf
-vo gl, -subcp CP1252 -monitoraspect 1920:1200 -subpos 96 -vf-add
screenshot C:\out\SALAMANDER\chk\out.flv
The -nogui option will only work as the first command line argument.
MPlayer SVN-r38677-14.2.0 (C) 2000-2025 MPlayer Team
Setting process priority: abovenormal
e:\windows\fonts\arial.ttf doesn't look like a bitmap font description, ignoring.
Cannot load bitmap font 'e:\windows\fonts\arial.ttf'.
Playing C:\out\SALAMANDER\chk\out.flv.
libavformat version 61.9.107 (internal)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] stream 0: video (flv), -vid 0
ID_AUDIO_ID=0
[lavf] stream 1: audio (adpcm_swf), -aid 0
VIDEO: [FLV1] 448x336 0bpp 5.000 fps 302.2 kbps (36.9 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 61.33.102 (internal)
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
ID_VIDEO_CODEC=ffflv
Clip info:
canSeekToEnd: false
ID_CLIP_INFO_NAME0=canSeekToEnd
ID_CLIP_INFO_VALUE0=false
lastkeyframetimestamp: 1320
ID_CLIP_INFO_NAME1=lastkeyframetimestamp
ID_CLIP_INFO_VALUE1=1320
audiosize: 15279311
ID_CLIP_INFO_NAME2=audiosize
ID_CLIP_INFO_VALUE2=15279311
audiodelay: 0
ID_CLIP_INFO_NAME3=audiodelay
ID_CLIP_INFO_VALUE3=0
videosize: 49796916
ID_CLIP_INFO_NAME4=videosize
ID_CLIP_INFO_VALUE4=49796916
metadatadate: 2009-12-13T16:23:50.486000Z
ID_CLIP_INFO_NAME5=metadatadate
ID_CLIP_INFO_VALUE5=2009-12-13T16:23:50.486000Z
encoder: Lavf63.1.102
ID_CLIP_INFO_NAME7=encoder
ID_CLIP_INFO_VALUE7=Lavf63.1.102
ID_CLIP_INFO_N=8
Load subtitles in C:\out\SALAMANDER\chk\
ID_FILENAME=C:\out\SALAMANDER\chk\out.flv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=FLV1
ID_VIDEO_BITRATE=302168
ID_VIDEO_WIDTH=448
ID_VIDEO_HEIGHT=336
ID_VIDEO_FPS=5.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=21318
ID_AUDIO_BITRATE=90912
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=1
ID_START_TIME=0.00
ID_LENGTH=1348.20
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 1 ch, s16le, 90.9 kbit/25.77% (ratio: 11364->44100)
ID_AUDIO_BITRATE=90912
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=1
Selected audio codec: [ffadcpmswf] afm: ffmpeg (FFmpeg's ADPCM Flash-variant)
==========================================================================
AO: [dsound] 22050Hz 1ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffadcpmswf
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0000000141a9db80]using unscaled yuv420p -> rgb24 special converter
VO: [gl] 448x336 => 448x336 Planar YV12
Movie-Aspect is undefined - no prescaling applied.
VO: [gl] 448x336 => 448x336 Planar YV12
ANS_ERROR=PROPERTY_UNAVAILABLE
[VD_FFMPEG] DRI failure.
You do not have the required permissions to view the files attached to this post.
-
Herkules97
- Posts: 321
- Joined: Tue Oct 08, 2019 6:42 am
Re: Is Everything able to show me videos with audio
Probably not from EBV.
Unless there are traits related to audio tracks with sound that don't exist in tracks without.
For example if silent audio tracks have less channels or much lower bitrate.
But just like how you can make an image file of 500x500 take several MBs if you want, you can have audio tracks with no sound inside that take up the same amount of space as something with sound.
You may have to go through every single one.
You can probably use Audacity to open a file and quickly see.
There is foobar2000 with the audio index add-on, maybe that can read a file and then tell you right away if it shows you something.
IIRC you can add a bunch of files, select them all and tell foobar2000 to index them.
Then when it's finished, when you run a file it should be faster for it to show if it has some type of sound unlike if you ran it unindexed and it maybe took several seconds or more.
This seem to be the one I used for v1.5.2 or whatever I was using at the time. No download link available though.
https://www.foobar2000.org/components/v ... ase/1.0.19
There is this, Idk if it works and won't bother checking.
https://web.archive.org/web/20181114121 ... inibar_mod
Latest for v2.x.
https://www.foobar2000.org/components/v ... inibar_mod
Unless there are traits related to audio tracks with sound that don't exist in tracks without.
For example if silent audio tracks have less channels or much lower bitrate.
But just like how you can make an image file of 500x500 take several MBs if you want, you can have audio tracks with no sound inside that take up the same amount of space as something with sound.
You may have to go through every single one.
You can probably use Audacity to open a file and quickly see.
There is foobar2000 with the audio index add-on, maybe that can read a file and then tell you right away if it shows you something.
IIRC you can add a bunch of files, select them all and tell foobar2000 to index them.
Then when it's finished, when you run a file it should be faster for it to show if it has some type of sound unlike if you ran it unindexed and it maybe took several seconds or more.
This seem to be the one I used for v1.5.2 or whatever I was using at the time. No download link available though.
https://www.foobar2000.org/components/v ... ase/1.0.19
There is this, Idk if it works and won't bother checking.
https://web.archive.org/web/20181114121 ... inibar_mod
Latest for v2.x.
https://www.foobar2000.org/components/v ... inibar_mod