Is there an easy way for the software to tell the difference between an audio-extracted peudo-mp3 and an ffmpeg-converted real mp3? It would be nice to have a flag icon in the WebIF media browser to indicate which is which.
Yes, ffmpeg will shows this (on the last line) "Audio: mp2 /Audio: mp3 ":-Is there an easy way for the software to tell the difference between an audio-extracted peudo-mp3 and an ffmpeg-converted real mp3? It would be nice to have a flag icon in the WebIF media browser to indicate which is which.
humax# ffmpeg -i my.mp3
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 29 2012 10:25:07 with gcc 4.2.0 20070124 (prerelease) - BRCM 11ts-20090508
configuration: --cross-prefix=mipsel-linux- --enable-cross-compile --arch=mipsel --target-os=linux --enable-gpl --enable-libmp3lame --disable-static --enable-shared --disable-asm --prefix=/mod --extra-cflags=-fPIC
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[mp3 @ 0x42bc00] max_analyze_duration 5000000 reached at 5016000
Input #0, mp3, from 'my.mp3':
Metadata:
title : Pet Squad
album : CBBC Channel
date : 2012
Duration: 00:11:30.50, start: 0.000000, bitrate: 256 kb/s
Stream #0:0: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
humax# ffmpeg -i Track01.mp3
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 29 2012 10:25:07 with gcc 4.2.0 20070124 (prerelease) - BRCM 11ts-20090508
configuration: --cross-prefix=mipsel-linux- --enable-cross-compile --arch=mipsel --target-os=linux --enable-gpl --enable-libmp3lame --disable-static --enable-shared --disable-asm --prefix=/mod --extra-cflags=-fPIC
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[mp3 @ 0x42bc00] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x42bc00] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'Track01.mp3':
Metadata:
title : Everyone's At It
artist : Lily Allen
album : It's Not Me, It's You
track : 01/12
TLEN : 258706
creation_time : 2010-11-13T11:18
encoded_by : Exact Audio Copy (Burst mode)
encoder : lame.exe -p -h -b 128
Duration: 00:04:19.03, start: 0.000000, bitrate: 128 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
humax /mnt/hd2/mod/webif/html/epg # diff -u service.jim~ service.jim
--- service.jim~
+++ service.jim
@@ -21,7 +21,7 @@
set service [cgi_get service 4170]
set records [epg dbfetch dump \
-service $service \
- -sort "strftime('%%H%%J', start, 'unixepoch'), strftime('%%M', start, 'unixepoch')" \
+ -sort "strftime('%%H%%J', start, 'unixepoch', 'localtime'), strftime('%%M', start, 'unixepoch')" \
-debug 0
]
Have the RS improvements been ported to the WebIF yet? If not, there's your answer.
143 /mod/etc/recmon.d/autotrigger:27: Error: /mod/webif/lib/bin/auto:816: Error: Lock not held.
144 at file "/mod/webif/lib/bin/auto", line 816
145 at file "/mod/etc/recmon.d/autotrigger", line 27
146 /mod/etc/recmon.d/autotrigger:27: Error: /mod/webif/lib/bin/auto:816: Error: Lock not held.
147 at file "/mod/webif/lib/bin/auto", line 816
148 at file "/mod/etc/recmon.d/autotrigger", line 27
149 Cannot acquire exclusive lock, terminating.
The lock files are not deleted when the lock is released (they are removed by a reboot)Auto-unprotect has stopped working.
There is nothing recent in the activity.log file.
The recmon.log file contains this:
There are two lock files in /var/lock :Code:143 /mod/etc/recmon.d/autotrigger:27: Error: /mod/webif/lib/bin/auto:816: Error: Lock not held. 144 at file "/mod/webif/lib/bin/auto", line 816 145 at file "/mod/etc/recmon.d/autotrigger", line 27 146 /mod/etc/recmon.d/autotrigger:27: Error: /mod/webif/lib/bin/auto:816: Error: Lock not held. 147 at file "/mod/webif/lib/bin/auto", line 816 148 at file "/mod/etc/recmon.d/autotrigger", line 27 149 Cannot acquire exclusive lock, terminating.
-rw-rw-rw- 1 root root 0 Apr 24 20:04 .webiflock_dlnahelper
-rw-rw-rw- 1 root root 0 Apr 25 18:05 .webiflock_webif_auto
I would guess deleting these will fix it, but how do we work out why it happened?
Nothing.You could use lsof to find which process, if any, has the file inuse - ie is holding the lock
Ah.. that's to do with the new locking mechanism.. autotrigger passes the 'auto' lock to the auto script. That would have worked before but not now as they are different processes. That means that the locking will not be working properly although I can't see how it would lead to things stopping working altogether.143 /mod/etc/recmon.d/autotrigger:27: Error: /mod/webif/lib/bin/auto:816: Error: Lock not held.