Page 1 of 1

[SOLVED] ffmpeg: Invalid argument

PostPosted: Sun Sep 09, 2012 10:51 pm
by jo343
Hi,

I'm trying to stream a mkv file to my Sony Bravia KDL46-EX700. I'm running serviio 1.0.1 with the latest ffmpeg built from source on Ubuntu server 12.04.

Here's the serviio log:

  Code:
2012-09-09 16:37:40,123 INFO  [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
2012-09-09 16:37:40,149 DEBUG [VideoDAOImpl] Retrieving number of video initials [No_Restriction]
2012-09-09 16:37:40,425 DEBUG [VideoDAOImpl] Retrieving number of videos of type 2 [No_Restriction]
2012-09-09 16:37:40,543 DEBUG [SeriesDAOImpl] Retrieving number of series
2012-09-09 16:37:40,579 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for VIDEO [No_Restriction]
2012-09-09 16:37:40,662 DEBUG [VideoDAOImpl] Retrieving number of 10 last viewed videos [No_Restriction]
2012-09-09 16:37:40,806 DEBUG [VideoDAOImpl] Retrieving number of 10 last added videos
2012-09-09 16:37:40,806 DEBUG [VideoDAOImpl] Retrieving number of videos of type 0 [No_Restriction]
2012-09-09 16:37:40,906 DEBUG [GenreDAOImpl] Retrieving number of genres for VIDEO
2012-09-09 16:37:41,073 DEBUG [PersonDAOImpl] Retrieving number of person initials for role ACTOR
2012-09-09 16:37:41,191 DEBUG [PersonDAOImpl] Retrieving number of person initials for role DIRECTOR
2012-09-09 16:37:41,207 DEBUG [PersonDAOImpl] Retrieving number of person initials for role PRODUCER
2012-09-09 16:37:41,261 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2012-09-09 16:37:41,349 DEBUG [WebServer] Incoming connection from /192.168.1.14:56202
2012-09-09 16:37:41,351 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:41,356 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.14:
2012-09-09 16:37:41,356 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:41,378 DEBUG [ContentDirectory] Browse() called for renderer KDL-46EX700 (profile sony2010) with parameters: objectID = 2, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 10, count = 10, sortCriteria =
2012-09-09 16:37:41,379 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2012-09-09 16:37:41,391 DEBUG [PlaylistDAOImpl] Retrieving number of playlists for VIDEO [No_Restriction]
2012-09-09 16:37:41,495 DEBUG [OnlineRepositoryDAOImpl] Retrieving list of [FEED, WEB_RESOURCE] OnlineRepositories for VIDEO [No_Restriction]
2012-09-09 16:37:41,641 DEBUG [OnlineRepositoryDAOImpl] Retrieving list of [LIVE_STREAM] OnlineRepositories for VIDEO [No_Restriction]
2012-09-09 16:37:41,746 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2012-09-09 16:37:42,675 DEBUG [WebServer] Incoming connection from /192.168.1.14:56203
2012-09-09 16:37:42,676 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:42,678 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.14:
2012-09-09 16:37:42,679 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:42,714 DEBUG [ContentDirectory] Browse() called for renderer KDL-46EX700 (profile sony2010) with parameters: objectID = V_T, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2012-09-09 16:37:42,714 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2012-09-09 16:37:42,719 DEBUG [VideoDAOImpl] Retrieving list of video initials (from=0, count=10) [No_Restriction]
2012-09-09 16:37:42,851 DEBUG [VideoDAOImpl] Retrieving number of videos with initial A [No_Restriction]
2012-09-09 16:37:42,983 DEBUG [VideoDAOImpl] Retrieving number of videos with initial C [No_Restriction]
2012-09-09 16:37:42,994 DEBUG [VideoDAOImpl] Retrieving number of videos with initial H [No_Restriction]
2012-09-09 16:37:43,005 DEBUG [VideoDAOImpl] Retrieving number of videos with initial S [No_Restriction]
2012-09-09 16:37:43,014 DEBUG [VideoDAOImpl] Retrieving number of video initials [No_Restriction]
2012-09-09 16:37:43,060 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2012-09-09 16:37:43,086 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2012-09-09 16:37:45,598 DEBUG [WebServer] Incoming connection from /192.168.1.14:56204
2012-09-09 16:37:45,600 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:45,605 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.14:
2012-09-09 16:37:45,605 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:45,624 DEBUG [ContentDirectory] Browse() called for renderer KDL-46EX700 (profile sony2010) with parameters: objectID = V_T^INI_65, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2012-09-09 16:37:45,624 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2012-09-09 16:37:45,628 DEBUG [VideoDAOImpl] Retrieving list of videos with initial A (from=0, count=10) [No_Restriction]
2012-09-09 16:37:45,789 DEBUG [GenreDAOImpl] Reading a Genre (id = 3)
2012-09-09 16:37:45,824 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 14)
2012-09-09 16:37:45,897 DEBUG [MediaItemDAOImpl] Getting file of media item 14
2012-09-09 16:37:45,921 DEBUG [VideoDAOImpl] Reading a Video (id = 14)
2012-09-09 16:37:45,927 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 14 and profile Sony Bravia TV (2010)
2012-09-09 16:37:45,996 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file movie.avi: MPEG_TS_SD_EU_ISO
2012-09-09 16:37:45,996 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file movie.avi: MPEG_TS_SD_NA_ISO
2012-09-09 16:37:45,996 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file movie.avi: MPEG_TS_SD_KO_ISO
2012-09-09 16:37:46,007 DEBUG [GenreDAOImpl] Reading a Genre (id = 3)
2012-09-09 16:37:46,011 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 10)
2012-09-09 16:37:46,014 DEBUG [MediaItemDAOImpl] Getting file of media item 10
2012-09-09 16:37:46,016 DEBUG [VideoDAOImpl] Reading a Video (id = 10)
2012-09-09 16:37:46,020 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 10 and profile Sony Bravia TV (2010)
2012-09-09 16:37:46,021 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file movie.mkv: AVC_TS_MP_HD_AC3_ISO
2012-09-09 16:37:46,027 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 4)
2012-09-09 16:37:46,176 DEBUG [VideoDAOImpl] Retrieving number of videos with initial A [No_Restriction]
2012-09-09 16:37:46,187 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2012-09-09 16:37:46,228 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2012-09-09 16:37:46,532 DEBUG [WebServer] Incoming connection from /192.168.1.14:56205
2012-09-09 16:37:46,563 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:46,566 DEBUG [ResourceTransportRequestHandler] GET /resource/4/COVER_IMAGE HTTP/1.1, headers = [transferMode.dlna.org: Interactive,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46EX700";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46EX700"; mv="1.7";,Host: 192.168.1.99:8895]]
2012-09-09 16:37:46,591 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:46,617 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.14, Profile=Sony Bravia TV (2010)'
2012-09-09 16:37:46,640 DEBUG [ResourceDeliveryProcessor] Request for resource 4 and type 'COVER_IMAGE' received
2012-09-09 16:37:46,648 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 4)
2012-09-09 16:37:46,652 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 4
2012-09-09 16:37:46,660 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 3604
2012-09-09 16:37:46,663 DEBUG [ResourceDeliveryProcessor] Sending file back
2012-09-09 16:37:46,665 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Content-Length: 3604,Date: Sun, 09 Sep 2012 20:37:46 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.0.1,Cache-control: no-cache,transferMode.dlna.org: Interactive]]
2012-09-09 16:37:46,706 DEBUG [WebServer] Incoming connection from /192.168.1.14:56206
2012-09-09 16:37:46,707 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:46,710 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.14:
2012-09-09 16:37:46,710 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:46,725 DEBUG [ContentDirectory] Browse() called for renderer KDL-46EX700 (profile sony2010) with parameters: objectID = V_T^INI_65, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2012-09-09 16:37:46,725 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2012-09-09 16:37:46,729 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2012-09-09 16:37:46,769 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2012-09-09 16:37:49,870 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-09-09 16:37:49,871 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2012-09-09 16:37:55,553 DEBUG [WebServer] Incoming connection from /192.168.1.14:56212
2012-09-09 16:37:55,555 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:55,560 DEBUG [ResourceTransportRequestHandler] HEAD /resource/10/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-2/ORIGINAL HTTP/1.1, headers = [getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46EX700";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46EX700"; mv="1.7";,Host: 192.168.1.99:8895]]
2012-09-09 16:37:55,561 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:55,566 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.14, Profile=Sony Bravia TV (2010)'
2012-09-09 16:37:55,568 DEBUG [ResourceDeliveryProcessor] Request for resource 10 and type 'MEDIA_ITEM' received
2012-09-09 16:37:55,569 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 10 (local)
2012-09-09 16:37:55,570 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 10)
2012-09-09 16:37:55,575 DEBUG [VideoDAOImpl] Reading a Video (id = 10)
2012-09-09 16:37:55,581 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 10, format AVC_TS_MP_HD_AC3_ISO and profile Sony Bravia TV (2010)
2012-09-09 16:37:55,583 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file movie.mkv
2012-09-09 16:37:55,584 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file movie.mkv: AVC_TS_MP_HD_AC3_ISO
2012-09-09 16:37:55,589 DEBUG [ResourceDeliveryProcessor] Sending HEAD response back
2012-09-09 16:37:55,590 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 09 Sep 2012 20:37:55 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_HD_60_AC3_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2012-09-09 16:37:55,600 DEBUG [WebServer] Incoming connection from /192.168.1.14:56213
2012-09-09 16:37:55,601 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:55,603 DEBUG [ResourceTransportRequestHandler] GET /resource/10/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-2/ORIGINAL HTTP/1.1, headers = [TimeSeekRange.dlna.org: npt=0.000-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46EX700";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46EX700"; mv="1.7";,Host: 192.168.1.99:8895]]
2012-09-09 16:37:55,604 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.14
2012-09-09 16:37:55,607 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.14, Profile=Sony Bravia TV (2010)'
2012-09-09 16:37:55,609 DEBUG [ResourceDeliveryProcessor] Request for resource 10 and type 'MEDIA_ITEM' received
2012-09-09 16:37:55,632 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 10 (local)
2012-09-09 16:37:55,632 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 10)
2012-09-09 16:37:55,635 DEBUG [VideoDAOImpl] Reading a Video (id = 10)
2012-09-09 16:37:55,639 DEBUG [VideoDeliveryEngine] Delivering item '10' for client 'IPAddress=/192.168.1.14, Profile=Sony Bravia TV (2010)'
2012-09-09 16:37:55,640 DEBUG [VideoDeliveryEngine] Delivering file 'movie.mkv' using transcoding
2012-09-09 16:37:55,640 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.14, Profile=Sony Bravia TV (2010)'
2012-09-09 16:37:55,643 DEBUG [MediaItemDAOImpl] Getting file of media item 10
2012-09-09 16:37:55,646 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /home/media/video/movie.mkv
2012-09-09 16:37:55,647 DEBUG [ProcessExecutor] Starting ffmpeg -fflags +genpts -i /home/media/video/movie.mkv -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-10-sony2010-ORIGINAL.stf
2012-09-09 16:37:56,263 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2012-09-09 16:37:56,264 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2012-09-09 16:38:03,171 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-10-sony2010-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-10-sony2010-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:79)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)


Here's the output of the ffmpeg command:
  Code:
server@h0m3s3rv3r:~$ ffmpeg -fflags +genpts -i /home/media/video/movie.mkv -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-10-sony2010-ORIGINAL.stf
[sudo] password for server:
ffmpeg version git-2012-08-25-65b552c Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 25 2012 13:33:44 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.101 /  3. 13.101
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, matroska,webm, from '/home/media/video/movie.mkv':
  Metadata:
    creation_time   : 2012-09-08 12:18:48
  Duration: 02:17:04.38, start: 0.000000, bitrate: 6556 kb/s
    Stream #0:0(fre): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(fre): Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s (default)
    Metadata:
      title           : French AC3 5.1 @384 Kbps
    Stream #0:2(fre): Subtitle: dvd_subtitle (default) (forced)
    Metadata:
      title           : Srt Forced
[mpegts @ 0x1e21120] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-10-sony2010-ORIGINAL.stf':
  Metadata:
    encoder         : Lavf54.25.104
    Stream #0:0(fre): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 90k tbn, 23.98 tbc (default)
    Stream #0:1(fre): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s (default)
    Metadata:
      title           : French AC3 5.1 @384 Kbps
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x1e21120] pts (201600) < dts (202950) in stream 0
av_interleaved_write_frame(): Invalid argument


Here's the MediaInfo for the mkv file:
  Code:
General
Unique ID                                : 224825393303448816211663127003706782275 (0xA923CBB472CE2873B0BD990E46557243)
Complete name                            : movie.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 6.28 GiB
Duration                                 : 2h 17mn
Overall bit rate                         : 6 557 Kbps
Encoded date                             : UTC 2012-08-24 12:25:45
Writing application                      : mkvmerge v4.4.0 ('Die Wiederkehr') built on Oct 31 2010 21:52:48
Writing library                          : libebml v1.0.0 + libmatroska v1.0.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 9 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 17mn
Bit rate                                 : 5 920 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Original frame rate                      : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.257
Stream size                              : 5.79 GiB (92%)
Writing library                          : x264 core 118 r2085 8a62835
Encoding settings                        : cabac=1 / ref=9 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / psy_rd=0.90:0.02 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=150 / rc=2pass / mbtree=1 / bitrate=5920 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 17mn
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 376 MiB (6%)
Title                                    : French AC3 5.1 @384 Kbps
Language                                 : French
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : VobSub
Codec ID                                 : S_VOBSUB
Codec ID/Info                            : The same subtitle format used on DVDs
Title                                    : Srt Forced
Language                                 : French
Default                                  : Yes
Forced                                   : Yes


Can anybody help me with this?

Thanks.

Re: ffmpeg: Invalid argument

PostPosted: Mon Sep 10, 2012 7:38 am
by Illico
Do you enable all ffmpeg build options ?
Use the official ffmpeg package : http://www.serviio.org/download

Re: ffmpeg: Invalid argument

PostPosted: Thu Sep 13, 2012 12:09 pm
by jo343
Problem solved. Recompiled ffmpeg using the source from serviio website.

Thanks.

Re: ffmpeg: Invalid argument

PostPosted: Thu Sep 13, 2012 12:11 pm
by Illico
jo343 wrote:Problem solved. Recompiled ffmpeg using the source from serviio website.

Great, enjoy it!
Topic solved.