Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
webm to mp4 conversion using ffmpeg ubuntu
16 août 2018, par daemonI have video and I want to convert that to mp4 It is working fine for the .flv and other formats. But when I'm trying to convert webm to mp4 the video is not getting converted
ffmpeg -i /input.webm /output.mp4
It is only converting to a 48kb file. The actual size of video is 850mb
I am getting this
Output #0, mp4, to '/output.mp4': Metadata: encoder : Lavf56.40.101 Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default) Metadata: encoder : Lavc56.60.100 libx264 Stream mapping: Stream #0:0 -> #0:0 (vp9 (native) -> h264 (libx264)) Press [q] to stop, [?] for help Killed 21 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
It is working locally but on live server it's not generating the output as expected
-
What is the algorithm to acheive audio decoding in C through ffmpeg ?
16 août 2018, par NaniI want to decode the MP3 audio file, I want to know the algorithm in terms of C language API's. I have gone through dranger tutorials. But the API's they used are deprecated now. Could anyone tell me what are the API's I need to follow one by one?
-
ffmpeg not working in google colab
16 août 2018, par Nikhil WaghI'm trying to use Google Colab to do something. Particularly I want to use ffmpeg package to create a video from a image.
But ffmpeg doesn't seems to be working fine. Here is the link to my notebook : https://colab.research.google.com/drive/1YP-DSRoZO-Afz03tjwPfoxA-Kttm-2vK
The output of this (in the last block) was supposed to be
400 400
instead of0 0
frame_width = int(cap.get(3)) frame_height = int(cap.get(4)) print frame_width, frame_height
The same code is working fine with Azure notebooks and also on my local machine.
What can be the reason for it? And how to rectify that?
-
How to call ffmpeg of remote server with java
16 août 2018, par user9151542I need to complete an interface in Java to implement video upload and compression. The compressed video can be played directly on the browser.I tried to install ffmpeg locally and use java to call, which is able to implement this function. But I don't know how to call ffmpeg on a remote server
-
Pull a remote stream from server and then restream
16 août 2018, par F.AI my working on
Nginx RTMP server
to restream iptv. I have two type of urls1- http://expamle.com:46801/live/3ni/ab/11939.ts
2- http://example.com:8088/live/tv_10/playlist.m3u8?id=209&sionid=45&pk=54fb381ea
Both URL's work in VLC media player.
Now problem is that ffmpeg
exec
only URL with.ts
extension. but not exec url without extension at end.How to pull stream from a remote server for that URL which not have .ts extension?
exec_static ffmpeg -i http://example.com:80/live/sports_11/playlist.m3u8?id=209&sionid=45&pk=54fb31ea -c:v libx264 -preset veryfast -maxrate 1000k -bufsize 2000k -g 60 -b:a 128k -f flv rtmp://127.0.0.1;