Questions tagged [ffprobe]

ffprobe gathers information from multimedia streams and prints it in human- and machine-readable fashion.

ffprobe gathers information from multimedia streams and prints it in human- and machine-readable fashion.

See http://ffmpeg.org/ffprobe.html

446 questions
3
votes
0 answers

Difference between 'display_aspect_ratio' and 'sample_aspect_ratio' in ffprobe

I have an issue where a video is played in the correct 16:9 aspect ratio when played through VLC or quicktime player, but when I attempt to extract individual frames with ffmpeg the frames come out as 4:3 aspect ratio. The ffprobe output on the…
John Allard
  • 3,564
  • 5
  • 23
  • 42
3
votes
0 answers

WebRTC Detect Orientation from Peer Video Stream

Using RecordRTC and WebRTC I am able to save a Peer MediaStream as a webm/video file. The orientation of the file differs based on the peer device. Meaning a 640x480 video is rotated clockwise or counter clockwise. To re-orient the recorded video,…
Daryl
  • 772
  • 8
  • 21
3
votes
1 answer

ffprobe get bit depth from audio file

For one of my script I need to read out the bit depth of a wav file. ffprobe -v error -show_entries format=bits_per_sample -of default=noprint_wrappers=1 test.wav there is no output at all - I use this in the same way for the duration…
Matt
  • 1,803
  • 3
  • 16
  • 17
3
votes
1 answer

FFprobe reports Invalid sample_count on very large .mov file

I have a 1.1TB ProRes 422 MOV file (a bit more than 24 hours of recording). When running ffprobe -v error -print_format xml -select_streams v:0 -show_format -show_streams "Metadata Error.mov" I get the following: [mov,mp4,m4a,3gp,3g2,mj2 @…
Pablo Montilla
  • 2,941
  • 1
  • 31
  • 35
3
votes
1 answer

ffprobe/ffmpg silence detection command

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…
user3130478
  • 207
  • 1
  • 4
  • 11
3
votes
1 answer

batch store ffprobe as variable

I'm looking to store the video codec as a variable in a batch file to automate some video conversion, but not wanting to convert things which are already the right codec. This produces a the codec successfully (hevc) C:\ffmpeg\bin\ffprobe.exe -v…
RyanMe321
  • 177
  • 3
  • 11
3
votes
2 answers

Adding 'timeout' flag to ffprobe/ffmpeg causes it to fail immediately

If I run ffprobe -timeout 20 -v trace -print_format json -show_format -show_streams 'http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_2mb.mp4', the command fails immediately with a Connection timed out error even though I set the…
user779159
  • 9,034
  • 14
  • 59
  • 89
3
votes
1 answer

ffprobe output frame with read_intervals no match given time range

I have read ffprobe document at here. I don't know why my first time of the frame is 11.745 seconds, even given "-read_intervals 12%13". (12sec ~ 13sec ) $ ffprobe -i chrome.webm -show_frames -select_streams v:0 -read_intervals 12%13 -hide_banner…
scott1028
  • 417
  • 2
  • 7
  • 16
3
votes
3 answers

How to get the duration/bitrate of a H264 file with avconv/ffmpeg

Executing avprobe test.h264 outputs Input #0, h264, from 'test.h264': Duration: N/A, bitrate: N/A Stream #0.0: Video: h264 (High), yuv420p, 720x480, 25 fps, 25 tbn, 50 tbc Executing file test.h264 outputs test.h264: JVT NAL sequence, H.264…
Maxime Dupré
  • 5,319
  • 7
  • 38
  • 72
3
votes
0 answers

How to calculate byte/index ranges for mpeg-dash MPD file?

I basically know how an .mpd file would have to be structured to support streaming from separate .mp4 (or webm) files. However, I would like to implement the "static" (aka "on-demand") method, thus only having one file per quality that I want to…
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
3
votes
1 answer

ffprobe - getting video info from file chunk

On my site users can upload videos, which are encrypted on the fly and stored on another server. I want to store video bitrate, frame rate etc., but I have not direct access to them and I can not just use the following command: ffprobe -show_streams…
andrzej1_1
  • 1,151
  • 3
  • 21
  • 38
3
votes
3 answers

How to adjust mpeg 2 ts start time with ffmpeg?

I'm writing simple HLS (Http Live Streaming) java server to live cast (really live, not on demand) screenshow + voice. I constantly get chunks of image frames and audio samples as input to my service and produce mpeg 2 ts files + m3u8 playlist web…
3
votes
3 answers

FFprobe Check Stream Link

I am trying to use FFprobe to test if a streaming link is active or not. For example this is a working streaming link: ffprobe -loglevel quiet -show_streams rtmp://Lrmh0w.cloud.influxis.com/yoy/_definst_/185 I do get output which mean link is…
Krasic
  • 137
  • 2
  • 14
3
votes
3 answers

Looking for program similar to ffprobe to interrogate images?

I need to probe a lot of images from a command line to see if they will open. ffprobe is brilliant for multimedia but can anyone steer me in the direction of a similar process I can use for images and if the universe is answering my prayers for pdfs…
jim slimm
  • 51
  • 2
3
votes
1 answer

ffprobe show_frames for multiple videos

Is there any way that I can see frames for multiple videos at same time in one file? I know how to do that for one video - ffprobe -show_frames http://myvirtualdirectory/myvideo.mp4 > output.txt I have so many videos in my virtual directory - so…
Ben
  • 91
  • 1
  • 2
  • 9