Search found 4 matches

by parsasaei
Tue May 16, 2017 11:07 am
Forum: Usage
Topic: Set the English audio stream on output provided that it exists on video
Replies: 1
Views: 384

Set the English audio stream on output provided that it exists on video

How can I have the english audio stream on output file where it exists on video? and If not exists, set all streams on output. Is there anyway for do that at one command? I'm using this code: ffmpeg -i input.mkv -f mp4 -map m:language:eng? -map v -c:v copy -c:a copy output.mp4 In my code when englis...
by parsasaei
Sat Feb 25, 2017 7:18 pm
Forum: Other
Topic: Synchronization And Concurrency For Creating hls Resolutions for Live Streaming
Replies: 1
Views: 512

Re: Synchronization And Concurrency For Creating hls Resolutions for Live Streaming

Here is the answer of mine,Note that you must be set -hls_time If you want the number part of each resolutions be same. ffmpeg -re -i 123.mp4 -c:a aac -c:v libx264 -s hd480 -aspect 16:9 -f hls -hls_list_size 0 -hls_time 2 480p/out.m3u8 -c:a aac -c:v libx264 -s nhd -aspect 16:9 -f hls -hls_list_size ...
by parsasaei
Tue Feb 21, 2017 8:37 am
Forum: Other
Topic: Synchronization And Concurrency For Creating hls Resolutions for Live Streaming
Replies: 1
Views: 512

Synchronization And Concurrency For Creating hls Resolutions for Live Streaming

Is there any way for creating resolutions for a video in hls format at the one command ? I have a convert server,and I think for have live streaming with multiple resolutions, I must be create all resolutions at the same time and this process must be concurrent. I raised this issue,because I do this...
by parsasaei
Sat Nov 05, 2016 4:28 pm
Forum: Usage
Topic: Cannot find a valid font, Error initializing filter'drawtext' with args
Replies: 1
Views: 1088

Cannot find a valid font, Error initializing filter'drawtext' with args

I'm an asp.net programmer and I want to write a text when I'm creating resolutions for a video. I used this below code for create a resolution of a video and write text on it. string OrginalResolution="nhd"; string [email protected]"d:\\ffmpeg\\4k.mp4"; string [email protected]"d:\\ffmpeg\\4k-New.mp4"; string ffmpeg...