Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

ffmpeg not working properly in 12.3 but was in 12.1

$
0
0
I had the following command run just fine in OpenSUSE 12.1:
ffmpeg -f alsa -i hw:2,0 -c:a pcm_s16le -f x11grab -s 1440x900 -r 10 -i :0.0 -c:v libx264 -threads 0 ${out}.mkv

I could view the mkv file just fine in mplayer. However, I recently install OpenSUSE 12.3 and the very same command does not work well. There are two main issues. First, I can't view it in mplayer anymore but only in mplayer2. Second, the worst thing is that it stops recording the sound after a few seconds.

Here are some more details:
  • In both cases I have the EXACT same hardware configuration.
  • I also installed ffmpeg 1.2 in 12.3 and I get the same (bad) result.
  • ffmpeg -f alsa -i hw:2,0 -c:a pcm_s16le ${out}.mkv records the sound just fine.
  • ffmpeg -f x11grab -s 1440x900 -r 10 -i :0.0 -c:v libx264 ${out}.mkv works fine but must be viewed with mplayer2.
  • Combining the two with ffmpeg -f alsa -i hw:2,0 -c:a pcm_s16le -f x11grab -s 1440x900 -r 10 -i :0.0 -c:v libx264 ${out}.mkv gives the same (bad) result.


Is there a hardware configuration that could be causing this? Again, this is the EXACT same hardware configuration, ffmpeg command with the only difference being OpenSUSE 12.3 vs. 12.1. Any thoughts on why this is happening? Thanks in advance for your help!

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>