Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
H.264 de-blocking filtering with FFmpeg libraries [closed]
5 novembre 2012, par Davit VardanyanI have a problem with filtering h.264 video. If you have a code for de-blocking filtering or is a link on this topic please help.
-
FFMPEG command not running in script
5 novembre 2012, par vivI have created a shell script to convert video, the command is working properly inside the shell script if the file to be converted is in the current directory, whereas if the file is inside directory then i am getting error. When I echoed the command inside script and ran it manually then it's running properly.
Below is the command :
ffmpeg -i $1 -strict experimental -vcodec libx264 -vf "scale=-1:$video_height" -y $tmp_file 2>&1
Any ideas ?
-
How to set Avconv constant bitrate to output flv file ?
5 novembre 2012, par ispasovI am trying to encode a flv file which has bitrate 512k. I have created the folowing command:
avconv -i input_file.mpg -f flv -c:v flv -b:v 512k -c:a libmp3lame -b:a 64k -ar 44100 -s 400x300 ouput_file.flv
During the encodding the terminal shows higher bitrate - from 650k falling to 580k. After the file has finnished encodding I can't see in it's properties the bitrate - it is N/A.
I have tried -minrate and -maxrate options but no result also.
Can someone help me with that?
-
ffmpeg udp broadcast on android fails with 'av_interleaved_write_frame() : Permission denied'
5 novembre 2012, par jacobI am trying to stream udp broadcast on android 4.1.2, with ffmpeg but getting permission denied ( av_interleaved_write_frame(): Permission denied). any idea why ?
I am able to broadcast from this tablet from my java apk. I am also able to stream udp unicast from ffmpeg on this tablet.
Any idea why only from ffmpeg broadcasting doesn't work ?
This is my ffmpeg command: ffmpeg -threads 5 -an -y -r 1 -f image2pipe -vcodec png -i /sdcard/tempfifo -r 25 -f mpegts udp://192.168.1.255:1235
-
Why doesn't the lame mp3 codec (libmp3lame) create XingHeaders ?
5 novembre 2012, par user784637I downloaded a video from youtube whose audio was encoded in aac and transcoded it to an mp3 using the libmp3lame codec.
$ ffmpeg -i video.mp4 -vn -acodec libmp3lame -- test.mp3
Now when I try to write id3 tags to it using the taglib example tagwriter I get the following warning:
$ ./testwriter -t 'stuff' test.mp3 TagLib: MPEG::XingHeader::parse() -- Xing header doesn't contain the total stream size.
The id3 tags are written and display correctly, but the lack of the XingHeaders causes older players to loop the song several times.
Why doesn't the lame mp3 codec create XingHeaders? How do I create XingHeaders?