![](/img/trans.png)
[英]C# Encoding.CreateTranscodingStream does not output file with desired target encoding
我有以下代碼:using (Stream inputFileStream = File.OpenRead("C:\\Users\\User\\Downloads\\test.txt")) { using (Stream transcodingStream = Encoding.CreateT ...
[英]C# Encoding.CreateTranscodingStream does not output file with desired target encoding
我有以下代碼:using (Stream inputFileStream = File.OpenRead("C:\\Users\\User\\Downloads\\test.txt")) { using (Stream transcodingStream = Encoding.CreateT ...
[英]encode video using ffmpeg start at frame
我用ffmpeg -i my_video.mp4 -vf scale=1024:-1 my_video.avi 編碼/轉碼視頻。 現在我想做同樣的事情,但從第 X 幀開始。我該怎么做? ...
[英]How to extract fully synced audio with ffmpeg?
我有一個包含視頻和音頻的 MP4 文件。 我只需要將音頻 stream 提取到 MP3 文件中。 然而,對於我們的應用程序來說,音頻文件的時間/同步與原始視頻完全一致是至關重要的,因為我們根據時間交叉關聯音頻特征。 我目前使用這個命令: 正如我在某處讀到的那樣,映射 0:a 和 0:v 將保證 a ...
[英]ffmpeg: libavformat/libswresample to transcode and resample at same time
I want to transcode and down/re-sample the audio for output using ffmpeg's libav*/libswresample - I am using ffmpeg's (4.x) transcode_aac.c and resam ...
[英]/* in transcoding from HTTP to gRPC
我不明白post: "/v1/{parent=publishers/*}/books" 我認為publishers是CreateBookRequest中的一個字段,然后它填充到http ,所以它類似於這篇post: "/v1/parent=publishers_field_value/books" ...
[英]How do i change the resolution of a outgoing hls stream using ffmpeg?
I am using nginx with ffmpeg to stream my live stream and i want to reduce the resolution of it, but it plays the video in high quality everytime 這是 ...
[英]How to transcode audio stream once but use in two outputs with also video streams transcoded separately?
我希望優化視頻轉碼的過程。 確切地說,我需要使用相同的音頻流選項獲得兩種不同的視頻分辨率,但現在我對音頻流進行了兩次轉碼(因為我認為 ffmpeg 有效)。 源視頻有這樣的音頻流: 現在我使用這些選項將一個視頻轉碼為兩種質量: 如您所見,我為每個輸出定義了兩次音頻流設置,並且我認為 ffm ...
[英]Is there a way to specify the decoder in ffprobe
我正在使用 ffprobe 在具有可用硬件加速解碼器的 AWS VT1 上使用以下命令從視頻文件中提取信息 ffprobe -of json -show_streams -show_frames -show_format -i video.mp4 上述命令仍然使用 CPU 執行解碼。 我 ...
[英]Unexpected video transcoding
我正在嘗試使用 Chrome 瀏覽器作為客戶端,使用我的 DLink 本地攝像機運行 Kurento-player 教程。 DLink 攝像機提供帶有 H.264 編碼的 RTSP; 據我所知,Chrome 也是如此。 但是,在 Kurento 日志中,轉碼始終是 ACTIVE 。 誰能告訴我 ...
[英]How to transcode the uploaded VoD files and play them as HLS in Ant Media Server?
我在 Ant 媒體服務器的 VOD 部分下上傳 MP4 文件,但找不到用它制作多比特率 stream 的方法。 我可以創建一個播放列表並在服務器上啟用 ABR,但它會占用大量 CPU 資源。 所以我想知道是否有更簡單的方法或任何自定義腳本可用於將上傳的 VOD 文件轉碼為多比特率並使用 HLS 播 ...
[英]VLC RTSP HTML5 transcoding
我正在嘗試從 RTSP 服務器獲取 HTML 頁面上的音頻流。 RTSP 服務器是運行下面命令行的rtsp-simple-server 。 ./rtsp-simple-server rtsp-simple-server.yml 。 配置文件是默認的。 stream 播放器是FFmpeg在下面運 ...
[英]FFMPEG Picture in picture with DASH
我正在使用 FFMPEG 將視頻轉碼為不同的分辨率,並且運行良好。 但是現在我想將兩個視頻畫中畫合並為一個視頻,然后必須將其轉碼為不同的分辨率。 下面的命令是我到目前為止所得到的。 不幸的是,它僅適用於 170p 分辨率。 如果我將播放器切換到 720p,覆蓋視頻就消失了。 我想我必須為合並文件 ...
[英]Libav API: Filtering + Transconding
我需要處理幾個音頻文件(MP3 和 WAV)的列表並將它們混合以生成要包含到 mp4 文件中的音頻 stream(AAC 編解碼器/fltp)(使用 Libav API)。 目前,我可以混合輸入文件列表以使用過濾器成功生成 WAV 文件,但是當我嘗試創建 MP4 文件時,我總是收到此錯誤消息:“資源 ...
[英]Strange problem with reencoding AUDIO with FFMPEG from UDP Multicast MPEG TS stream
我想將音頻流從一個 udp 多播 MPEG TS Stream 重新編碼為 aac。 我有一個 udp 多播 mpeg ts 流,里面有 1 個視頻、3 個音頻和 1 個字幕流。 我想將音頻流的協議從 mp2 更改為 aac。 如果忽略字幕 stream 一切正常。 並用 astra 分析,一切正常 ...
[英]How to keep streaming if initial client loses connection?
我正在開發一個應用程序,該應用程序通過 Agora Live Streaming 協議流出多個演示者。 只要開始直播 stream 的人保持連接,一切都很好,但是如果他們失去互聯網,stream 就會停止,即使其他演示者仍然在線。 有沒有辦法告訴現場 stream 繼續進行,直到調用“停止直播”( ...
[英]Styling Agora Live Transcoding Layout
我正在使用帶有 Javascript 的 agora web 庫來構建一個具有實時流式傳輸和實時轉碼功能的應用程序。 有什么方法可以對 Agora 實時轉碼布局中顯示的圖塊進行樣式設置? 現場文檔在這里: https://docs.agora.io/en/Voice/API%20Reference/ ...
[英]Disregard command when last command is still working
我在一個文件夾中有一些視頻文件,並希望它們與 ffmpeg 一起轉換(轉碼,移動到另一個文件夾並刪除原始文件)。 為此,我在這里找到了一個 bash 腳本,但我想定期運行該腳本(或者如果可能的話,在該文件夾中找到新文件時)。 我猜 cronjob 不會工作,因為它會一遍又一遍地從第一個文件開始。 當 ...
[英]A good way to detect alpha channel in a video using ffmpeg/ffprobe
在我的 Django 應用程序中,上傳的視頻文件使用 ffmpeg 轉碼為某種特定格式。 我現在需要一種方法來可靠地檢測上傳的視頻是否具有 alpha 通道。 我通常使用 ffprobe 來獲取視頻元數據。 你能指出我正確的方向嗎? ...
[英]Repeating frames (=freeze effect) while transcoding H264 MP4 creates odd artefacts
我試圖通過在 Java/Android 平台上將 H264 視頻轉碼為 H264 視頻時重復相同的輸入幀幾秒鍾來實現定格效果。 我修改了https://github.com/ypresto/android-transcoder/blob/master/lib/src/main/java/net/yp ...
[英]FFmpeg possible bug with -pre flag
我正在研究 ffpresets 和 avpresets 但我偶然發現了一些有趣的東西。 根據ffmpeg 文檔: 首先 ffmpeg 在上述目錄中搜索名為 codec_name-arg.avpreset 的文件,其中 codec_name 是將應用預設文件選項的編解碼器的名稱。 例如,如果您 sel ...