Page 1 of 1

TTS Video file not being added to library

PostPosted: Sat Jul 14, 2012 7:15 pm
by jumpit
Hi all,
Let me just say before I start, Great product.

Odd problem,
I have a Panasonic Recorder I backup the files from this using a djmount and rsync.
Some video files have mpg extension some have tts.

The problem I have is unless I change the extension from tts to mpg the file is not added to the library but as soon as I do it does.

Can someone tell me why and if I can fix this issue.

I am using Serviio 0.6.2 on Linux Centos 5.8

Many thanks in advance.
Here is the ffmpeg output from the file before and after adding the mpg extension (as you would expect I can't see any difference)

tts extension
=== Start ===
ffmpeg -i /data/video/Direct/DMR/The\ Hairy\ Bikers\'\ Food\ Tour\ of1/The\ Hairy\ Bikers\'\ Food\ Tour\ of1.tts
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 10 2012 22:37:08 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --enable-libmp3lame --extra-cflags=-I/usr/src/rtmpdump --extra-ldflags='-L/usr/src/rtmpdump -lrtmp'
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[mpeg2video @ 0xacfdcc0] mpeg_decode_postinit() failure
Last message repeated 23 times
[mpegts @ 0xacf9fe0] max_analyze_duration 5000000 reached at 5016000
[NULL @ 0xacfed60] start time is not set in estimate_timings_from_pts
[mpegts @ 0xacf9fe0] PES packet size mismatch
Input #0, mpegts, from '/data/video/Direct/DMR/The Hairy Bikers' Food Tour of1/The Hairy Bikers' Food Tour of1.tts':
Duration: 00:44:35.29, start: 11824.577044, bitrate: 4635 kb/s
Program 4287
Stream #0:0[0xc9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 30.34 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xca](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
Stream #0:2[0xce](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, s16 (visual impaired)
Stream #0:3[0xcd](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
At least one output file must be specified
=== End ===
Added mpg extension
=== Start ===
ffmpeg -i /data/video/Direct/The\ Hairy\ Bikers\'\ Food\ Tour\ of1.tts.mpg
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 10 2012 22:37:08 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --enable-libmp3lame --extra-cflags=-I/usr/src/rtmpdump --extra-ldflags='-L/usr/src/rtmpdump -lrtmp'
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[mpeg2video @ 0x9badca0] mpeg_decode_postinit() failure
Last message repeated 23 times
[mpegts @ 0x9ba9fe0] max_analyze_duration 5000000 reached at 5016000
[NULL @ 0x9baed40] start time is not set in estimate_timings_from_pts
[mpegts @ 0x9ba9fe0] PES packet size mismatch
Input #0, mpegts, from '/data/video/Direct/The Hairy Bikers' Food Tour of1.tts.mpg':
Duration: 00:44:35.29, start: 11824.577044, bitrate: 4635 kb/s
Program 4287
Stream #0:0[0xc9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 30.34 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xca](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
Stream #0:2[0xce](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, s16 (visual impaired)
Stream #0:3[0xcd](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
At least one output file must be specified
=== End ===

Re: TTS Video file not being added to library

PostPosted: Tue Jul 17, 2012 7:23 am
by patters
Serviio won't scan every file it encounters. It's sensitive to filetype, and .tts isn't included. Since you're scripting this sync, can you not just have it automatically rename .tts files to .mpg?