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

Python FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe' on Synology

I was making a small python 3.8 script to sort photos and videos according to their metadata on my Synology NAS (working on DSM 7.0), overall it works well on ubuntu but it fails on the NAS with this error : FileNotFoundError: [Errno 2] No such…
Junn Sorran
  • 317
  • 2
  • 4
  • 12
0
votes
1 answer

Error in pytion subprocess check_output with variable

I need the output of my ffprobe command. so I used subprocess module as follow: lengthofvideo = subprocess.check_output('ffprobe', '-i' %inputfile, '-show_entries', 'format=duration', '-v', 'quiet', '-of', 'csv="p=0"') input file variable contains…
Mahdi
  • 967
  • 4
  • 18
  • 34
0
votes
0 answers

Mapping streams by language in FFmpeg output reversed

I'm using the command obtained in this topic to convert multiple videos by removing the audio track, however the output is always reversed the audio and video stream. The output of audio and video is reversed how to correct in this same command…
0
votes
1 answer

why do andorid camera and gopros not use b-frames?

I am using ffmpeg to extract the gop-structure of videos, which I recorded with my Smartphone (Samsung Galaxy A51) and my GoPro (Hero 7 Black). The gop-structures I get all look like this: IPPPPPPPPPPPPPP. The videos of the different devices only…
0
votes
1 answer

Python - why do I get this ffprobe error?

I am on mac and am working on a project in which my program shoud convert a .mp3 file into a .wav file and than get text from that file (basic speech recognition). For converting a .mp3 file into a .wav file I am using ffmpeg library. I have…
gasper101
  • 835
  • 2
  • 5
  • 8
0
votes
1 answer

ffprobe filter videos by duration, command prints but does not return duration

I am attempting to use ffprobe to filter through videos by their duration. I was using: vid_length = subprocess.call(f"ffprobe -i {local_vids_2[count]} -show_entries format=duration -v quiet -of csv='p=0'", shell = True) print("VIDEO LENGTH IS:",…
jcu
  • 36
  • 1
  • 6
0
votes
1 answer

Errors while using PyDub. How do I fix?

I am trying to make a DAW, but I keep getting the same error whenever I try to run the code. Also my file cannot be found, even though I put in the right path. Code: import getpass from pydub import…
waisinz
  • 5
  • 2
0
votes
2 answers

Convert Python subprocess output from string to int or float

I am trying to read the frames of a video using this command but from a python script using the subprocess module. The output of the command is in string but since the frame count of a video is an integer I would like to have it as an int object in…
Rashiq
  • 317
  • 1
  • 4
  • 13
0
votes
1 answer

error : Argument 'Creation]/audio_section_working/1.mp3' provided as input filename, but '/e/[Content' was already specified

Please help me out in this problem Use of this program: find duration of a video and audio code : loc="/e/[Content Creation]/audio_section_working/1.mp3" echo $(ffprobe -v error -show_entries format=duration / -of default=noprint_wrappers=1:nokey=1…
shank_fab_worker
  • 273
  • 3
  • 14
0
votes
1 answer

FFProbe.Analyse getting the error 'The system cannot find the file specified' when given a string

I want to compress every video within every drive and its sub-directories so the code I have used so far finds each drive and looks for .mp4 locations. Then it uses that list of strings to compress each file but it comes up with this error at: var…
0
votes
1 answer

FPS from RTSP stream info does not match actual framerate

I have a 25FPS RTSP stream coming from an IP-camera. I can successfully display the video stream. But when analyzing the stream with ffmpeg (ffprobe actually), I observe fewer frames per second rate: $ ffprobe -rtsp_transport tcp -i…
Krapow
  • 611
  • 6
  • 26
0
votes
1 answer

Ffmpeg and ffprobe not showing subtitles stream in m3u8 file

I'm trying to get an mp4 video from a m3u8 playlist file (in simple HLS), with audio, video and subtitles. I've managed to extract the video and audio stream because they are relatively easy: the input m3u8, according to ffprobe, contains 3…
DanielVip3
  • 179
  • 1
  • 2
  • 12
0
votes
1 answer

bash script to scan for repeated episode numbers, append episode modifier

I use youtube-dl to archive specific blogs. I use a custom bash script (called tvify) to help me organize my content into Plex-ready filenames for later replay via my home Plex server. Archiving the content works fine, unless a blogger posts more…
Chris Meurer
  • 459
  • 3
  • 13
0
votes
2 answers

FFmpeg/FFprobe - detect blank/empty/white image

Is it possible, using ffmpeg or ffprobe, to detect if an image is blank? Only containing a single color, e.g. White. I have done some digging and have come up with nothing at all, I don't even know if this is possible. I intend to execute via a…
John Doe
  • 301
  • 2
  • 12
0
votes
2 answers

(Folderwide) Bulk conversion in ffmpeg to a H264 codec

So I was trying to get a hang of ffmpeg but I am not very good at it. I am trying to get all .mkv files converted to .m4v with a H264 codec. From another project I know that the h264_cuvid decoder worked perfectly well for my needs. I also checked…