version = raspberry pi (running xbian OS) with kernel 4.4.8 (happend also with previoius kernels)
Code:
xbian@kitchen ~ $ get_iplayer --get --pid=b04gvnfv --modes=best --whitespace --nopurge --file-prefix="<nameshort>-<senum>-<episodeshort>" --mkv --output /mnt/540/ --force
get_iplayer 2.94-ppa23, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.
INFO Trying to stream pid using type tv
INFO: pid found in cache
Matches:
849: Our School: Series 1 - We Are Year 7, CBBC, , default
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashhd1,flashvhigh1,flashvhigh2,flashhigh1,flashhigh2,flashstd1,flashstd2,flashlow1,flashlow2 modes will be tried for version default
INFO: Trying flashhd1 mode to record tv: Our School: Series 1 - 1. We Are Year 7
INFO: File name prefix = Our School-s01e01-We Are Year 7
RTMPDump v2.4-n78-git3a1e20c-ppa8~wheezy
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 1700.04
INFO: moovPosition 36.00
INFO: width 1280.00
INFO: height 720.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 100.00
INFO: avclevel 41.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 42501000.00
INFO: timescale 25000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 81601536.00
INFO: timescale 48000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
494677.196 kB / 1700.01 sec (99.9%)
Download complete
avconv version 11.6-6:11.6-1~deb8u1+rpi1, Copyright (c) 2000-2014 the Libav developers
built on Mar 22 2016 15:53:22 with gcc 4.9.2 (Raspbian 4.9.2-10)
[flv @ 0x1007200] max_analyze_duration 5000000 reached
Input #0, flv, from '/mnt/540/Our School-s01e01-We Are Year 7.partial.mkv.flv':
Metadata:
moovPosition : 36
avcprofile : 100
avclevel : 41
aacaot : 2
videoframerate : 25
audiochannels : 2
length : 81601536
timescale : 48000
sampletype : mp4a
Duration: 00:28:20.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 25 fps, 1k tbn, 50 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp
[matroska @ 0x1008e80] Codec for stream 0 does not use global headers but container format requires global headers
[matroska @ 0x1008e80] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, matroska, to '/mnt/540/Our School-s01e01-We Are Year 7.partial.mkv':
Metadata:
moovPosition : 36
avcprofile : 100
avclevel : 41
aacaot : 2
videoframerate : 25
audiochannels : 2
length : 81601536
timescale : 48000
sampletype : mp4a
encoder : Lavf56.1.0
Stream #0.0: Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 1k tbn, 1k tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press ctrl-c to stop encoding
[flv @ 0x1007200] Unsupported video codec (8)
frame= 148 fps= 38 q=-1.0 Lsize= 1852kB time=5.88 bitrate=2579.9kbits/s
video:1780kB audio:68kB other streams:0kB global headers:0kB muxing overhead: 0.212185%
INFO: Recorded /mnt/540/Our School-s01e01-We Are Year 7.mkv
But if I issue the same command to save on the nsa325 server it works every time! -
The error suggests avconv is missing a codec, but why/how can it work on the 325 and not the 540? If the pi was missing a codec it would surely fail on both, no?