Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Stream cannot be transcoded but can be played with ffmpeg (Read 5227 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Stream cannot be transcoded but can be played with ffmpeg

Hi, all. I've encountered a stream that cannot be transcoded by ffmpeg with cmd:
Code: [Select]
ffmpeg -i "http://stream.ksntv.com.cn/live/pc2?fmt=H264_450K_FLV" -acodec pcm_s16le -f wav any.wav

but i can play it with ffplay:
Code: [Select]
ffplay "http://stream.ksntv.com.cn/live/pc2?fmt=H264_450K_FLV"


Please help and thanks in advance!

Stream cannot be transcoded but can be played with ffmpeg

Reply #1
I'd use mplayer like;
Code: [Select]
mplayer "http://stream.ksntv.com.cn/live/pc2?fmt=H264_450K_FLV" -cache 10000 -vo null -vc dummy -ao pcm:fast:file=filename.wav
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung

Stream cannot be transcoded but can be played with ffmpeg

Reply #2
If you want to avoid the command line and use a Windows front-end, try SUPER (FREE).  It uses FFMPEG and MEncoder.  It can transcode between many formats and/or extract/convert audio, etc.


(If you download SUPER, beware of adds for other conversion software on their website...  Follow the confusing links and make sure you are downloading SUPERsetup.exe.)