Hello all!
I'm trying currently to get the rtmp online stream in x264, transcode it to mpeg2 and send through mediatomb (linux DLNA server) to Samsung TV (DLNA renderer).
With the mencoder here is the working command:
FIFO is the named pipe name, where the mediatomb takes the content from. The mencoder works just fine and I have the content on TV. Now, with the ffpmeg:Code:rtmpdump ... | mencoder -of mpeg -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -srate 48000 -ofps 30000/1001 -ovc lavc -oac lavc -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=640:threads=4:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=60000:vrc_buf_size=7000 -cache 8920 -quiet -aspect 16:9 -vf scale=1280:720 -o FIFO -
Don't worry about audio codec, it is irrelevant here.Code:rtmpdump ... | ffmpeg -i pipe: -vcodec mpeg2video -sameq -s hd720 -acodec libmp3lame -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts -r 29.970 -minrate 10000k -maxrate 60000k -b 12000k -bufsize 36408333 pipe: > FIFO
With this setup, and many more I've been trying, I have the video content on Samsung TV, but each few seconds I see the blocks in random spots of the video, looking as "big pixels". frequently these blocks are visible in bunches in single line.
I've been trying a lot of encoding settings, I even get almost the same codec parameters in both video streams (from mencoder and ffmpeg) using mediainfo, but no matter what I changed the problem still persists. Does someone can explain what may happen here and what more can I try to avoid these blocks with ffmpeg? The thing is that I wouldn't like to back to mencoder because of some problem with process communication from mediatomb.
This is definetly the fault of the poor Samsung TV DLNA support, because the video recorded to mpeg and played with any different player (ffplay, vlc, mplayer) looks just fine, but after all I was able to provide somehow the stream without these bugs by mencoder, and I suppose it's also available from ffmpeg. Is there any "magic option" there?
All suggestions will be greatly appreciated. Thanks.
+ Reply to Thread
Results 1 to 2 of 2
Similar Threads
-
MeGUI x264 encoding problem. Video stutters/flickers.
By EasyDrama in forum Video ConversionReplies: 17Last Post: 20th Mar 2014, 23:36 -
x264 Encoding Help
By Trismegistus in forum Video ConversionReplies: 14Last Post: 28th Apr 2012, 08:55 -
MeGUI x264 encoding problem
By follz20 in forum Video ConversionReplies: 0Last Post: 29th Mar 2010, 04:30 -
Color problem with x264 output + other x264 questions
By serexl in forum Newbie / General discussionsReplies: 3Last Post: 15th Mar 2010, 18:31 -
Problem with encoding a .ts 1080i to 720p x264
By Gordo_ in forum DVD RippingReplies: 2Last Post: 4th Jul 2007, 13:32