ffprobe

ffprobe/ffmpg silence detection command

随声附和 提交于 2021-02-19 07:48:08
问题 I'm working on a stream silence detection. It's working on the following command in ffmpeg: ffmpeg -i http://mystream.com/stream -af silencedetect=n=-50dB:d=0.5 -f null - 2> log.txt I would like to get a json output of the logfile. There is a json option in 'ffprobe' but silencedetect=n=-50dB:d=0.5 is'nt working. Help! Cheers! 回答1: ffprobe is meant to probe container-level or stream-level metadata. silencedetect is a filter which analyses the content of decoded audio streams; its output isn't

Use ffprobe to view audio tracks by language [closed]

我只是一个虾纸丫 提交于 2021-02-17 06:07:59
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question I wish to use ffprobe to list all audio streams, and show what language is used. Simply this is part of me trying to find ways to automatically remove non-english tracks from video files. I am new to ffprobe, but have had some experience using ffmpeg. Because I

How can I (or is it possible to) convert the AVC codec profile and level to the MIME codec definition?

喜你入骨 提交于 2021-02-08 07:23:35
问题 In my use-case I have to provide codec specification within the HTML5 video source 's MIME type. But even a type="video/mp4; codecs=avc1" is not detailed enough for Firefox. Firefox needs the extra detail of for example type="video/mp4; codecs=avc1.64001E" . My problem is that I don't know where to get this 64001E part from. The whole identification happens on server side. So far I was using ffprobe and that's perfectly supplies me JSON format output, like so: ffprobe -select_streams v:0 -v

Given a constant frame rate H.264 MP4, how to get PTS rounding method used during encoding using ffmpeg?

ぃ、小莉子 提交于 2021-01-29 07:39:13
问题 ffmpeg can convert the video to specified constant frame rate. It has round parameter to specify timestamp(PTS) rounding method. It could be zero , int , down , up and near . Given a constant frame rate H.264 mp4 video, how can we determine which PTS rounding method was used to encode this video? 来源: https://stackoverflow.com/questions/63956476/given-a-constant-frame-rate-h-264-mp4-how-to-get-pts-rounding-method-used-durin

Given a constant frame rate H.264 MP4, how to get PTS rounding method used during encoding using ffmpeg?

耗尽温柔 提交于 2021-01-29 07:35:37
问题 ffmpeg can convert the video to specified constant frame rate. It has round parameter to specify timestamp(PTS) rounding method. It could be zero , int , down , up and near . Given a constant frame rate H.264 mp4 video, how can we determine which PTS rounding method was used to encode this video? 来源: https://stackoverflow.com/questions/63956476/given-a-constant-frame-rate-h-264-mp4-how-to-get-pts-rounding-method-used-durin

How can I know a certain file is a video file?

可紊 提交于 2021-01-28 12:09:26
问题 I am trying to figure out if a certain user-uploaded file is a video file. I first tried ffprobe, # a png file Input #0, png_pipe, from '<file>': Duration: N/A, bitrate: N/A Stream #0:0: Video: png, rgba(pc), 920x2094 [SAR 4724:4724 DAR 460:1047], 25 tbr, 25 tbn, 25 tbc # a text file Input #0, tty, from '<file>': Duration: 00:00:00.24, bitrate: 40 kb/s Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc # a video file Input #0, matroska,webm, from '<file>': Metadata:

Concatenating mka files but keeping timestamp

北慕城南 提交于 2020-12-15 05:24:08
问题 I am trying to mix a few files with FFMPEG that are mka and are from a Twilio Video Conference recording. I am trying to get tracks for each participant but I am trying to keep the overall timestamp from the file. Concrete example: i have these three files: 0PA1896e43f4ca0edf17d8dbfc0bab95a52.mka 1PA2a640f11bc13af2c29397800f058cb05.mka 2PA9fa5b32edc016f6f5b9669bb9b308d97.mka These files are all tracks of a participant in the call but joined at different times(left the meeting and re-entered,

FFmpeg - What does non monotonically increasing dts mean?

不羁的心 提交于 2020-08-04 04:03:30
问题 Observations - Part - I I saw a suggestion elsewhere to run the following command to see if there's something wrong with my .mp4. ffmpeg -v error -i ~/Desktop/5_minute_sync_output_15mn.mp4 -f null - 2>error.log When I run the above command, I see a whole bunch of the logs on the lines of what's shown below. Application provided invalid, non monotonically increasing dts to muxer in stream 0: 15635 >= 15635 This, from searching and reading up quite a bit, I understand that the decoding

ImportError: cannot import name 'FFProbe'

此生再无相见时 提交于 2020-06-16 09:17:11
问题 I can't get the ffprobe package to work in Python 3.6. I installed it using pip, but when I type import ffprobe it says Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python\Python36\lib\site-packages\ffprobe\__init__.py", line 1, in <module> from ffprobe import FFProbe ImportError: cannot import name 'FFProbe' The __init__.py file contains just the single line from ffprobe import FFProbe . sys.path includes 'C:\Python\Python36\lib\site-packages', which is