Had one look at this today ...... after an overnight reboot of the PC.
I tuned into 'AmericaFree TV Classics (HQ)' and recived the station fine. My CPU did not seriously object like previously.
So I recorded it for a minute .. using ts .. and when I played back the stream in VLC I had audio, but just a static pic or two ......
I had started from terminal and here is the relevant output from there ......
$ freetuxtv
[FreetuxTV] INFO : Compiled with LibVLC version 1.1.4
[FreetuxTV] INFO : Loading FreetuxTV 0.5.1
[FreetuxTV] INFO : Loading user interface from file /usr/share/freetuxtv/ui/freetuxtv.glade
[FreetuxTV] INFO : Initializing user interface
[FreetuxTV] INFO : Creating media player widget
[GMMKeys] INFO : Initialize
[GMMKeys] INFO : Activating media player keys
[GMMKeys] CRITICAL : Unable to grab media player keys: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
[FreetuxTV] INFO : Using user configuration dir : /home/user/.config
[FreetuxTV] INFO : DBSync open database
[DBEvolution] INFO : Starting database evolution
[DBEvolution] INFO : Current database version is 0.5.1.2
[FreetuxTV] INFO : DBSync close database
[FreetuxTV] INFO : Loading config file /home/user/.config/FreetuxTV/config.ini
[FreetuxTV] INFO : DBSync open database
[FreetuxTV] INFO : Loading models
[FreetuxTV] INFO : Loading the list of channels
[FreetuxTV] INFO : Loading the list of recordings
[FreetuxTV] INFO : Showing the main window, hide splashscreen
[FreetuxTV] INFO : DBSync close database
[FreetuxTV] MESSAGE : Launching channel 'AmericaFree TV Classics (HQ)' at '0:6' -> rtsp://video3.americafree.tv/AFTVClassicsH264500.sdp
[GtkLibVLC] INFO : Playing rtsp://video3.americafree.tv/AFTVClassicsH264500.sdp
[GtkLibVLC] INFO : Using vlc options [:deinterlace=0 :access=timeshift :input-timeshift-granularity=50]
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
........ [lots of similar lines]
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[GtkLibVLC] INFO : Playing rtsp://video3.americafree.tv/AFTVClassicsH264500.sdp
[GtkLibVLC] INFO : Using vlc options [:deinterlace=0 :sout=#duplicate{dst=std{access=file,mux=ts,dst='/home/user/video/TuxTV/AmericaFree TV Classics (HQ) - 2010-12-12T17:08:15.035347Z.ts'},dst=display}]
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
... [lots of similar lines]
number of reference frames exceeds max (probably corrupt input), discarding one
[FreetuxTV] MESSAGE : Stopping recording
[GtkLibVLC] INFO : Playing rtsp://video3.americafree.tv/AFTVClassicsH264500.sdp
Missing reference picture
decode_slice_header error
Missing reference picture
decode_slice_header error
Missing reference picture
decode_slice_header error
Missing reference picture
decode_slice_header error
Missing reference picture
decode_slice_header error
number of reference frames exceeds max (probably corrupt input), discarding one
... [lots of similar lines]
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[FreetuxTV] INFO : Writing config file /home/user/.config/FreetuxTV/config.ini
[GMMKeys] INFO : Deactivating media player keys
[user@localhost ~]$
I then decided to try France 24 again and changed the recording to mp4.
I received the channel OK, but when I recorded my CPU maxed out.
It seems my PC is not strong enough to encode the signal in real time and maxes out the CPU, which causes all sorts of problems.
The recording looks OK, but the sound and video are out of sync.
This problem is reported in the terminal output.
Below is all of the putput from that session except for the repeated lines as above.
user@localhost ~]$ freetuxtv
[FreetuxTV] INFO : Compiled with LibVLC version 1.1.4
[FreetuxTV] INFO : Loading FreetuxTV 0.5.1
[FreetuxTV] INFO : Loading user interface from file /usr/share/freetuxtv/ui/freetuxtv.glade
[FreetuxTV] INFO : Initializing user interface
[FreetuxTV] INFO : Creating media player widget
[GMMKeys] INFO : Initialize
[GMMKeys] INFO : Activating media player keys
[GMMKeys] CRITICAL : Unable to grab media player keys: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
[FreetuxTV] INFO : Using user configuration dir : /home/user/.config
[FreetuxTV] INFO : DBSync open database
[DBEvolution] INFO : Starting database evolution
[DBEvolution] INFO : Current database version is 0.5.1.2
[FreetuxTV] INFO : DBSync close database
[FreetuxTV] INFO : Loading config file /home/user/.config/FreetuxTV/config.ini
[FreetuxTV] INFO : DBSync open database
[FreetuxTV] INFO : Loading models
[FreetuxTV] INFO : Loading the list of channels
[FreetuxTV] INFO : Loading the list of recordings
[FreetuxTV] INFO : Showing the main window, hide splashscreen
[FreetuxTV] INFO : DBSync close database
[FreetuxTV] MESSAGE : Launching channel 'France 24 English' at '0:43' -> mms://stream1.france24.yacast.net/f24_liveen
[GtkLibVLC] INFO : Playing mms://stream1.france24.yacast.net/f24_liveen
[GtkLibVLC] INFO : Using vlc options [:deinterlace=0 :access=timeshift :input-timeshift-granularity=50]
[0x87ef8ac] main access error: connection failed: Connection refused
[0x87ef8ac] access_mms access error: failed to open a connection (tcp)
[0x87ef8ac] main access error: connection failed: Connection refused
[0x87ef8ac] access_mms access error: failed to open a connection (tcp)
[0x87ef8ac] access_mms access error: cannot connect to server
[0x87ef8ac] access_mms access error: cannot read data 2
[GtkLibVLC] INFO : Playing mms://stream1.france24.yacast.net/f24_liveen
[GtkLibVLC] INFO : Using vlc options [:deinterlace=0 :sout=#transcode{vcodec=h264,vb=768,width=368,height=208,fps=29.97,acodec=mpga,ab=64,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst='/home/user/video/TuxTV/France 24 English - 2010-12-12T17:20:59.468133Z.mp4'},dst=display}]
[0x885525c] main access error: connection failed: Connection refused
[0x885525c] access_mms access error: failed to open a connection (tcp)
[0x885525c] main access error: connection failed: Connection refused
[0x885525c] access_mms access error: failed to open a connection (tcp)
[0x885525c] access_mms access error: cannot connect to server
[0x885525c] access_mms access error: cannot read data 2
x264 [info]: using cpu capabilities: MMX2 Cache64
x264 [info]: profile High, level 3.0
x264 [info]: using cpu capabilities: MMX2 Cache64
x264 [info]: profile High, level 3.0
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
... [lots of such lines]
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
... [lots of such lines]
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
[FreetuxTV] MESSAGE : Stopping recording
x264 [info]: frame I:8 Avg QP:16.44 size: 19939
x264 [info]: frame P:661 Avg QP:18.03 size: 5322
x264 [info]: frame B:567 Avg QP:20.75 size: 1070
x264 [info]: consecutive B-frames: 23.5% 43.5% 3.7% 29.3%
x264 [info]: mb I I16..4: 3.8% 29.8% 66.4%
x264 [info]: mb P I16..4: 0.7% 4.2% 3.8% P16..4: 29.5% 22.9% 16.6% 0.0% 0.0% skip:22.2%
x264 [info]: mb B I16..4: 0.1% 0.4% 0.3% B16..8: 40.6% 0.0% 0.0% direct: 6.2% skip:52.4% L0:34.0% L1:42.2% BI:23.9%
x264 [info]: 8x8 transform intra:46.7% inter:40.1%
x264 [info]: coded y,uvDC,uvAC intra: 82.9% 87.3% 67.8% inter: 31.4% 21.8% 10.8%
x264 [info]: i16 v,h,dc,p: 5% 66% 3% 25%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 29% 14% 6% 6% 5% 9% 6% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 42% 17% 4% 5% 4% 7% 4% 7%
x264 [info]: Weighted P-Frames: Y:1.1%
x264 [info]: ref P L0: 76.5% 5.3% 15.6% 2.3% 0.4%
x264 [info]: ref B L0: 94.8% 4.8% 0.4%
x264 [info]: ref B L1: 98.9% 1.1%
x264 [info]: kb/s:0.00
[GtkLibVLC] INFO : Playing mms://stream1.france24.yacast.net/f24_liveen
[0x8906d7c] main access error: connection failed: Connection refused
[0x8906d7c] access_mms access error: failed to open a connection (tcp)
[0x8906d7c] main access error: connection failed: Connection refused
[0x8906d7c] access_mms access error: failed to open a connection (tcp)
[0x8906d7c] access_mms access error: cannot connect to server
[0x8906d7c] access_mms access error: cannot read data 2
[FreetuxTV] INFO : Writing config file /home/user/.config/FreetuxTV/config.ini
[GMMKeys] INFO : Deactivating media player keys
[user@localhost ~]$
[0x8a3e16c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
Seems I need a better PC than this P4 3.2Ghz 2GB RAM and nothing else running to get this recording/encoding working properly.
I suspect also that I need a better internet connection than my max of 3Mb/s, to receive HQ colour channels comfortably.
That is the conclusion I am coming to .......
EDIT
Now for the REALLY interesting part!
I got the stream address from the above terminal output and played it in VLC, and had a look at the stream details ........ here they are ........ (cannot copy & paste)
Stream 0
Type: Video
Codec: H264 - MPEG-4 AVC (part 10) (h264)
Steam 1
Type: Audio
Codec: MPEG AAC Audio (mp4a)
Channels: 2
Sample Rate: 44100 Hz
Stream 2
Type: Video
Codec: H264 - MPEG-4 AVC (part 10) (h264)
Resolution: 640x480
Stream 3
Type: Audio
Codec: MPEG AAC Audio (mp4a)
Channels: Stereo
Sample rate: 44100 Hz
Makes me wonder about the saving of the stream in FreeTuxTV.
So I press the record button on the VLC window playing the stream, and there is no change in CPU use.
VLC saves the stream as .mp4! MediaInfo tells me it is MPEG-4, Video AVC and Audio is AAC.
It plays back perfectly.
Obviously there is no need for transcoding the received stream ...... and trying to do so is clobbering my CPU.
Yet FreeTuxTV will not save the stream just like VLC does.
It appears to me that it would be much better if we had the option to use VLC to record the stream ....... as it obviously works much better than whatever the present arrangement is.
regards.