We're updating the issue view to help you get more done. 

Capture Agents with FPS set to 5/1 fail to be muxed in the prepare AV stage

Steps to reproduce

Steps to reproduce:
Please see for media you can use to reproduce with the newer 1.3 command.

Actual Results:
2012-06-18 12:20:39 INFO (PrepareAVWorkflowOperationHandler:254) - Muxing audio and video only track http://128.233.95.13:8080/files/mediapackage/4955/track-2/vga.mpg to work version
2012-06-18 12:20:43 INFO (ComposerServiceImpl:200) - Muxing audio track track-3 and video track track-2 into 5e0426c6-aef9-4c03-8528-9807ec5e1e55
2012-06-18 12:20:43 INFO (AbstractCmdlineEncoderEngine:233) - Executing encoding command: ffmpeg -strict unofficial -i /opt/matterhorn/felix/work/opencast/workspace/mediapackage/4955/track-2/vga.mpg -i /opt/matterhorn/felix/work/opencast/workspace/mediapackage/4955/track-3/audio.mp2 -sameq -shortest /opt/matterhorn/felix/work/opencast/workspace/mediapackage/4955/track-2/vga_5227da89-d351-4952-8cb0-18097de9f45b-work.mpg
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - [mpeg @ 0x18cb760] max_analyze_duration 5000000 reached at 5000000
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - [NULL @ 0x18cd8a0] start time is not set in av_estimate_timings_from_pts
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - [mp3 @ 0x18c9760] max_analyze_duration 5000000 reached at 5015510
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - [mp3 @ 0x18c9760] Estimating duration from bitrate, this may be inaccurate
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - [buffer @ 0x193d620] w:1024 h:768 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - [mpeg1video @ 0x18ca7e0] MPEG1/2 does not support 5/1 fps
2012-06-18 12:20:44 INFO (FFmpegEncoderEngine:174) - Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
2012-06-18 12:20:44 WARN (AbstractCmdlineEncoderEngine:264) - Error while encoding audio track audio.mp2 and video track vga.mpg using 'mux-av.work': Encoder exited abnormally with status 1
2012-06-18 12:20:44 WARN (ComposerServiceImpl:249) - Error encoding http://128.233.95.13:8080/files/mediapackage/4955/track-2/vga.mpg and http://128.233.95.13:8080/files/mediapackage/4955/track-3/audio.mp2
org.opencastproject.composer.api.EncoderException: Encoder exited abnormally with status 1
at org.opencastproject.composer.impl.AbstractCmdlineEncoderEngine.process(AbstractCmdlineEncoderEngine.java:249)
at org.opencastproject.composer.impl.AbstractCmdlineEncoderEngine.mux(AbstractCmdlineEncoderEngine.java:121)
at org.opencastproject.composer.impl.ComposerServiceImpl.encode(ComposerServiceImpl.java:210)
at org.opencastproject.composer.impl.ComposerServiceImpl.mux(ComposerServiceImpl.java:410)
at org.opencastproject.composer.impl.ComposerServiceImpl.process(ComposerServiceImpl.java:934)
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:184)
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:156)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
2012-06-18 12:20:49 ERROR (WorkflowOperationWorker:157) - Workflow operation 'prepare-av' failed
org.opencastproject.workflow.api.WorkflowOperationException: Muxing video track http://128.233.95.13:8080/files/mediapackage/4955/track-2/vga.mpg and audio track http://128.233.95.13:8080/files/mediapackage/4955/track-3/audio.mp2 failed
at org.opencastproject.workflow.handler.PrepareAVWorkflowOperationHandler.mux(PrepareAVWorkflowOperationHandler.java:263)
at org.opencastproject.workflow.handler.PrepareAVWorkflowOperationHandler.start(PrepareAVWorkflowOperationHandler.java:130)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:217)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:139)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:710)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1528)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1833)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1806)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)

Expected Results:
Valid media would process correctly.

Workaround (if any): Based upon MH-4897:

Index: docs/felix/conf/encoding/matterhorn-movies.properties
===================================================================
— docs/felix/conf/encoding/matterhorn-movies.properties (revision 12114)
+++ docs/felix/conf/encoding/matterhorn-movies.properties (working copy)
@@ -45,7 +45,7 @@
profile.mux-av.work.output = visual
profile.mux-av.work.mimetype = #{in.video.mimetype}
profile.mux-av.work.suffix = -work.#{in.video.suffix}
-profile.mux-av.work.ffmpeg.command = -strict unofficial -i #{in.video.path} -i #{in.audio.path} -sameq -shortest #{out.dir}/#{out.name}#{out.suffix}
+profile.mux-av.work.ffmpeg.command = -i #{in.audio.path} -i #{in.video.path} -sameq -shortest -strict unofficial #{out.dir}/#{out.name}#{out.suffix}

  1. Trim a stream
    profile.trim.work.name = trim track

Status

Assignee

Adam McKenzie

Reporter

Adam McKenzie

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

1.4.0
1.3

Priority

Blocker