Keeping track of audio stream when none exists
See original GitHub issueHey!
So i am keeping track of the audio stream like
i = ffmpeg.input(self.video_input, **self.args)
self.audio_input = i["a"]
The issue is when the video doesn’t have a audio stream… What happens is that ffmpeg will throw
Stream map '0:a' matches no streams. To ignore this, add a trailing '?' to the map.
In the end where I concat my audio input back in for the output.
The program i am making should be able to accept any video files of any format in and so far it is doing its job, except when the audio stream is non existent heh. Is it possible to add the trail to the thing ?
The concat is done here
ffmpeg.output(stream, self.audio_input, self.output, **self.args)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14 (1 by maintainers)
Top Results From Across the Web
c# - Record HTTP Audio stream to file - Stack Overflow
@bep: saving an uncompressed audio stream to a WAV file is a pretty trivial task, but nobody does it because nobody streams uncompressed...
Read more >Audio and Video Delivery - Developer guides - MDN Web Docs
We can deliver audio and video on the web in a number of ways, ranging from 'static' media files to adaptive live streams....
Read more >Media Capture and Streams - W3C
Returns a sequence of MediaStreamTrack objects representing the audio tracks in this stream. The getAudioTracks method MUST return a sequence ...
Read more >How do I name an audio track with ffmpeg - Super User
This example will add title and language metadata to audio streams/tracks 1 & 2 (note ffmpeg starts counting from 0). ffmpeg -i input.mp4...
Read more >Platform Loudness and Normalization Explained - Sage Audio
Loudness normalization is the process of a computer program turning a track up or down prior to streaming; this is done to match...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah the issue is that i am on Windows heh. I’m glad it worked !
That worked! Thank you so much!