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
0
votes
1 answer

Change youtube-dl download output (Windows)

I hope you can help me. I am using youtube-dl on windows (youtube-dl.exe) Downloading the video works great and also just the audio. But what i want is for it to save the audio file in a different place eg. C:\Users*******\Desktop I made a batch…
Adriaan
  • 317
  • 3
  • 11
0
votes
0 answers

Wrong second count for blackdetect filter in ffprobe

I issue this command on a 8 minutes 20 seconds video in order to detect blackframes. root@ubuntu:/home/hts# ffprobe -f lavfi -i "movie=test.ts,blackdetect[out0]" -show_entries tags=lavfi.black_start,lavfi.black_end -of default=nw=1 I am expecting…
Jabb
  • 3,414
  • 8
  • 35
  • 58
0
votes
0 answers

ffmpeg produce not expected number of frames

I'm using this command to count frames in video. FRAME_COUNT=`./ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 $VIDEO_NAME` and this command for video splitting: ffmpeg…
mrgloom
  • 20,061
  • 36
  • 171
  • 301
0
votes
1 answer

ffprobe fake file safety/mime content checking

Anyone know if ffprobe is safe to use as a method to check the content of a video? I want to determine if someone renames an exe to mp4 or some other video mime and I run ffprobe on it, would the file execute or fail safely without executing the…
Mark S
  • 869
  • 6
  • 11
0
votes
1 answer

pipe ffprobe in sh script

I'm trying to get the audio type in an OSX sh script using ffprobe: ffprobe "$i" |& egrep -ci "vorbis|aac" it works from cli in tcsh but not from script. |& doesn't seem to work from inside script. |& redirects the output from ffprobe, otherwise…
snjagr
  • 20
  • 5
0
votes
0 answers

Trying to populate video file data to mysql database

I'm trying on a mac to loop through all videos in a directory and add the details (Duration, size and time) of the file to a mysql db. But for some reason every time it fails on the mysql part. If I take the mysql query generated by the script and…
Tom
  • 9,725
  • 3
  • 31
  • 48
0
votes
2 answers

Using "value-of-select" to pick the second attribute

EDIT to include additional information. I am using Telestream Vantage to transform an XML into what Telestream refer to as a Metadata Label. Simple methodology is as follows: Build your Metadata Label Set in the Vantage Management Console Export…
0
votes
1 answer

ffprobe/ffmpeg exec doesn't return result on local machine, but works on production system

I want to get the duration of a movie, using ffprobe (part of ffmpeg). The command line I'm using is this: ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 path/to/video.mov It works perfectly in the shell,…
Kinesias
  • 354
  • 1
  • 5
  • 18
0
votes
0 answers

Video converted by FFMPEG has a different duration, why?

I convert videos using FFMPEG. My goal is to convert them to the MP4 container format (MPEG-4 Part 14) with AAC-encoded audio stream and MPEG-4 part 10-encoded video stream. I use the following line to convert the videos: ffmpeg -y -i "{inputFile}"…
Zsolt
  • 3,263
  • 3
  • 33
  • 48
0
votes
2 answers

I m trying to use 'ffprobe' with Java or groovy

As per my understanding "ffprobe" will provide file related data in JSON format. So, I have installed the ffprobe in my Ubuntu machine but I don't know how to access the ffprobe JSON response using Java/Grails. Expected response format: { …
0
votes
2 answers

FFMPEG retrieve time duration not working for MOV files

So I am in php running an ffprobe command on files and grabbing the output (to get duration, time, etc) exec("usr/bin/ffprobe -v quiet-print_format json -show_format -show_streams $location", $output, $exitCode); Where $location is the files…
CMOS
  • 2,727
  • 8
  • 47
  • 83
0
votes
0 answers

Determining if a file is media playable

I am seeking a tool with which I can use with the MFC CreateProcess() command to determine whether a file is media playable file or not. I am not permitted to compare file extension with an 'allowable' set such as mp3, mp4, avi etc - it has to be…
AndyUK
  • 3,933
  • 7
  • 42
  • 44
0
votes
1 answer

Compile ffprobe linux library

Is it possible to compile ffprobe in linux as a library (ffprobe.so)? Couldn't find nothing on google about it. If yes, any references on how the library can be used?
chris
  • 313
  • 2
  • 12
0
votes
1 answer

Trying to grab the output of ffprobe with Python

I'm trying to capture the output from ffprobe. First, I build my command: >>> print cmd ['C:\\Program Files\\ffmpeg\\bin\\ffprobe.exe', 'somefile.mov'] Then I use check_output to grab the output: >>> import subprocess as sp >>> output =…
Christopher Spears
  • 1,105
  • 15
  • 32
0
votes
1 answer

how to add duration to mjpeg or how to make mjpeg faster

i have ip-cam mjpeg that i made and it have total 240 frames encode souce is ffmpeg.exe -framerate 25 -i c:\%06d.jpg\ -s 1920x1080 -qscale 1 -vcodec mjpeg -r 25 C:\result.mjpg -y now i want to play result.mjpg by mjpeg player i made my problem 1. i…
n2v2rda2
  • 327
  • 2
  • 5
  • 15