FAQ  •  Register  •  Login

Online Feed Transcoding Failed (Ubuntu)

<<

htb

Serviio newbie

Posts: 9

Joined: Mon Sep 26, 2011 8:49 pm

Post Thu Sep 29, 2011 7:27 pm

Online Feed Transcoding Failed (Ubuntu)

Hi,

My Setup:
- Ubuntu
- Serviio 0.6
- FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2

I've integrated a german online Feed: http://www.tagesschau.de/export/video-p ... tagesschau
Initial data is OK (Feedfolder etc.).
But playing an entry fails.

Serviio log:
  Code:
2011-09-29 21:02:52,770 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.178.21, Profile=Samsung TV (B-series)'
2011-09-29 21:02:52,770 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://tagesschau.vo.llnwd.net/d3/video/2011/0928/TV-20110928-0947-4201.webl.h264.mp4
2011-09-29 21:02:52,770 DEBUG [ProcessExecutor] Starting ffmpeg -i http://tagesschau.vo.llnwd.net/d3/video/2011/0928/TV-20110928-0947-4201.webl.h264.mp4 -y -threads 2 -vcodec mpeg2video -sameq -r 25 -g 15 -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob /media/DataOne/Tmp/Serviio/transcoding-temp-1000000000130002-MPEG2PS.stf
2011-09-29 21:02:53,747 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2011-09-29 21:02:53,747 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2011-09-29 21:03:16,023 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.178.22, timeout = 0
2011-09-29 21:03:16,024 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 8faea982-efeb-30c6-bf87-5e8d77fa71b0
2011-09-29 21:03:17,779 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)


If I try to invoke this manually via commandline I got erros too:

  Code:
hatsch@atomium:~/serviio-0.6/log$ ffmpeg -i http://tagesschau.vo.llnwd.net/d3/video/2011/0928/TV-20110928-0947-4201.webl.h264.mp4 -y -threads 2 -vcodec mpeg2video -sameq -r 25 -g 15 -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob /media/DataOne/Tmp/Serviio/transcoding-temp-1000000000130002-MPEG2PS.stf
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Sep 16 2011 17:08:44, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://tagesschau.vo.llnwd.net/d3/video/2011/0928/TV-20110928-0947-4201.webl.h264.mp4':
  Duration: 00:13:36.70, start: 0.000000, bitrate: 1728 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 960x544, 25 tbr, 25 tbn, 50 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
Output #0, vob, to '/media/DataOne/Tmp/Serviio/transcoding-temp-1000000000130002-MPEG2PS.stf':
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 960x544, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[h264 @ 0x8fc3a0]AVC: Consumed only 1235 bytes instead of 12785
[h264 @ 0x8fc3a0]cbp too large (4294967295) at 31 14
[h264 @ 0x8fc3a0]error while decoding MB 31 14
[h264 @ 0x8fc3a0]concealing 1218 DC, 1218 AC, 1218 MV errors
[h264 @ 0x8fc3a0]AVC: nal size 307247104
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size -1656253451
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size -1814084666
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size 706385038
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[aac @ 0x8fcb70]channel element 2.14 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 0.14 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 3.7 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 3.8 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 2.14 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 0.13 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 0.6 is not allocated
Error while decoding stream #0.1
[h264 @ 0x8fc3a0]AVC: nal size -1311804968
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size -285993748
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size -1207958046
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size 1178434070
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[h264 @ 0x8fc3a0]AVC: nal size -1308536965
[h264 @ 0x8fc3a0]no frame!
Error while decoding stream #0.0
[aac @ 0x8fcb70]channel element 0.6 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]invalid sampling rate index 12
Error while decoding stream #0.1
[aac @ 0x8fcb70]Number of bands (8) exceeds limit (5).
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 1.15 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 0.10 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]channel element 0.13 is not allocated
Error while decoding stream #0.1
[aac @ 0x8fcb70]Independently switched CCE with 'invalid' domain signalled.
Error while decoding stream #0.1
[aac @ 0x8fcb70]Number of bands (36) exceeds limit (27).
Error while decoding stream #0.1
Resampling with input channels greater than 2 unsupported.
Can not resample 19 channels @ 48000 Hz to 2 channels @ 48000 Hz




In WinXP everything works well.

bye
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Thu Sep 29, 2011 10:01 pm

Re: Online Feed Transcoding Failed (Ubuntu)

your ffmpeg is missing librtmp that why they dont wrok you ned to compile ffmpeg with the librtmp library
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 29, 2011 11:02 pm

Re: Online Feed Transcoding Failed (Ubuntu)

librtmp is not needed for this particular URL (doesn't start with rtmp://) but your FFmpeg is still quite old, you should upograde

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.