Find if video file has audio present in it [duplicate]
This question already has an answer here:Using ffprobe to check audio-only files 4 answers I'm trying to figure out if a video has audio present in it so as to extract the mp3 using ffmpeg. When the...
View ArticleFFmpeg av_read_frame returns packets from audio stream
I am currently trying to learn the FFmpeg API, following this tutorial. However, I already have issues with the first lesson on video decoding. My code is basically the same as the one from the...
View ArticleHikvision NVR video conversion ffmpeg
I have a Hikvision NVR that stores security camera footage that I need to display on a website. I know that Hikvision uses proprietary H.264 codec that makes it impossible to play (coherently) in...
View ArticleDistinguish between MPEG-1 container and MPEG-2 container
I am looking at concrete ways to distinguish between files that use MPEG-1 and MPEG-2 containers as most of the resources that I find suggest that the start code is 00 00 01 BA for both containers.I...
View ArticleGetting video dimension from ffmpeg -i
How would I get the height and width of a video from ffmpeg's information output. For example, with the following output --$ ffmpeg -i 1video.mp4 ... Input #0, mov,mp4,m4a,3gp,3g2,mj2, from...
View Articleffmpeg demux into audio and video resets PTS
DemuxingI am demuxing TS segments into audio and video as follows.ffmpeg -y -i input.ts -vcodec copy -an output_video.ts ffmpeg -y -i input.ts -acodec copy -vn output_audio.aac Inspecting InputThe...
View ArticleFFMPEG drawbox filter. Hex color result not matching input values
I'm trying to create a border using the drawbox filter using a specific HEX color input, however the result i am getting does not match the value i set.Consider the following code which produces a...
View Articleavcodec/h264_mp4toannexb_bsf: use enum constants for the NAL unit type values
avcodec/h264_mp4toannexb_bsf: use enum constants for the NAL unit type values Signed-off-by: James Almer [DH] libavcodec/h264_mp4toannexb_bsf.c
View Articleffmpeg:transcoding.c problems
I am studying about ffmpeg in c++ to see example of ffmpegbut I dont' know how to solve this problem in transcoding.chere is my problemand here is codestatic int open_output_file(const char *filename)...
View ArticleMP3 (MPEG I) chunk decoder for Python
I've been searching for a few days and trying many different libraries including PyDub, python_mp3_decoder (segmentation faults), pymad, but have had basically no luck in finding a library for Python...
View ArticleZip an audio file In NodeJS with archiver in fly
I use node-youtube-dl to have a stream to download a video and I want to convert it to mp3 using fluent-ffmmpeg. I also want to zip this mp3 audio to send to the client to download it but I cannot...
View Articleffmpeg and docker result in averror_invaliddata
I am running ffmpeg within a docker container, and I am having a problem.I have a wittled-down debug program (listing below) that simply opens (and reads) a test.mp4 I open the file with fopen(), read...
View ArticleRevision 111231: [Salvatore] [source:_plugins_/multilang/trunk/lang/...
[Salvatore] multilang Export depuis ​http://trad.spip.net -- Log
View ArticleSet Ratio for UDP Stream with VideoCapture in Opencv4nodejs
I currently try to analyse screenshots of a udp stream with opencv.Currently I'm using a shell script with ffmpeg to generate an image and saving this to my disk with 1 fps then I read this with...
View ArticleBasic to use FFMPEG in Python (Django Rest Framework)
I'm writing a viewset in Django Rest Framework to convert images sequence into video by using FFMPEG but I don't understand how I can do it. I tried but not success. Please help me with my code.My...
View ArticlePause recording with FFmpegFrameRecorder and get the video
I am using FFmpegRecorder and want to know is there a way that I can pause capturing video with FFmpegFrameRecorder and get the video file of first part ?I don't want to stop recording,becase then I...
View ArticleUnable to decode media issue on chrome browser
I am experiencing an issue while playing media on my application. I am using html5 player which works fine on another browser but the media not worked on Google Chrome. Below is the ffmpeg...
View ArticleTranscode video with php ffmpeg library
I need to upload video in 3 formate/resolution as 360p, 480p, 720p. After some research i got to know that some paid service are there like Amazone Elastic Transcoder . But i want to do with open...
View ArticleEncode Frames to Video with C Library
For the sake of continuity, let us assume "RGB values" are the following:typedef struct RGB { uint8_t r, g, b; } rgb; However, if you feel that a different color space is more appropriate for this...
View Article