Anyone have any luck transcoding m2ts containers?
Here is an example file:
- Code: Select all
D:\video\Movies>c:\subsonic\transcode\ffmpeg.exe -i video.m2ts
FFmpeg version SVN-r21231-Sherpya, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 16 2010 05:42:31 with gcc 4.2.5 20080919 (prerelease) [Sherpya]
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.47. 0 / 52.47. 0
libavformat 52.47. 0 / 52.47. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.15. 0 / 1.15. 0
libswscale 0. 8. 0 / 0. 8. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegts @ 012dbde0]max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/
1001) -> 23.98 (24000/1001)
Input #0, mpegts, from 'video.m2ts':
Duration: 02:28:07.25, start: 599.958311, bitrate: 4867 kb/s
Program 1
Stream #0.0[0x1011](eng): Video: h264, yuv420p, 1920x800 [PAR 1:1 DAR 12:5],
23.97 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0.1[0x1100](eng): Audio: aac, 48000 Hz, 2 channels, s16, 84 kb/s
Stream #0.2[0x1101](eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
At least one output file must be specified
Running ffmpeg manually I have been able to create a stream which I can load up with VLC and watch just fine. However, when I use the transcode settings:
- Code: Select all
ffmpeg -v 0 -ss %o -async 1 -i %s -b %bk -s %wx%h -acodec copy -f flv -
I end up with the dreaded: "Video not found or access denied" error in the flv player.
The log doesn't seem to indicate any errors:
- Code: Select all
[3/23/11 7:51:31 PM PDT] INFO PlaylistInputStream admin listening to "video.m2ts"
[3/23/11 7:51:31 PM PDT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-v] [0] [-ss] [0] [-async] [1] [-i] [D:\Video\video.m2ts] [-b] [1000k] [-s] [480x360] [-acodec] [copy] [-f] [flv] [-]
I'm looking forward to hearing your guy's ideas. Thanks!
