Mailing List Archive

Format woes
Hi All
a while ago I recorded OTA a documentary.
Since my samsung TV chokes on .ts (and others) I used ffmpeg to change
the container to avi keeping the audio and video codecs as copy.
The file plays correctly.

I tried to edit a section and was rewarded with all manner of chaos:

VLC plays the file
avidemux loads it, no complaints, duration is correct but display is blank.
shotcut loads it and plays it but will not edit or transfer to timeline.

sandypit] /home/jam [645]% ffprobe ISB.avi
ffprobe version 3.3 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 4.8 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg
--extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g' --optflags='-fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g' --disable-htmlpages
--enable-pic --disable-stripping --enable-shared --disable-static
--enable-gpl --disable-openssl --enable-avresample --enable-libcdio
--enable-gnutls --enable-ladspa --disable-cuda --disable-cuvid
--enable-libass --enable-libbluray --enable-libcelt --enable-libcdio
--enable-libdc1394 --enable-libfreetype --enable-libgsm
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-netcdf
--enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree
--enable-libmp3lame --enable-libtwolame --enable-libx264
--enable-libx265 --enable-libxvid
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, avi, from 'ISB.avi':
Duration: 00:53:01.36, start: 0.000000, bitrate: 3999 kb/s
Stream #0:0: Video: mpeg2video (Main) (MPEG / 0x4745504D),
yuv420p(tv, bottom first), 720x576 [SAR 64:45 DAR 16:9], 3766 kb/s, 25
fps, 25 tbr, 25 tbn, 50 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo,
s16p, 224 kb/s

[sandypit] /home/jam [646]% mythffprobe ISB.avi
ffprobe version v0.28.1-3-gfc737ff Copyright (c) 2007-2016 the FFmpeg
developers
built with gcc 4.8 (SUSE Linux)
configuration: --enable-libmp3lame --enable-libx264 --enable-libxvid
--enable-libass
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, avi, from 'ISB.avi':
Duration: 00:53:01.36, start: 0.000000, bitrate: 3999 kb/s
Stream #0:0: Video: mpeg2video (Main) (MPEG / 0x4745504D),
yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 3766 kb/s, 25 fps, 25 tbr, 25
tbn, 50 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo,
s16p, 224 kb/s

It may or may not be related but mytharchive hangs for minutes and does
nothing. (I now cannot set archive settings and am not sure if it
relates in any way)

The probe info looks ok to me. Can anybody see anything
Thanks
James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Format woes [ In reply to ]
On 03/06/17 14:00, James Linder wrote:

> Duration: 00:53:01.36, start: 0.000000, bitrate: 3999 kb/s
> Stream #0:0: Video: mpeg2video (Main) (MPEG / 0x4745504D),
> yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 3766 kb/s, 25 fps, 25 tbr, 25
> tbn, 50 tbc
> Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo,
> s16p, 224 kb/s
>
> It may or may not be related but mytharchive hangs for minutes and does
> nothing. (I now cannot set archive settings and am not sure if it
> relates in any way)

The mytharchive hang might be https://code.mythtv.org/trac/ticket/12734
Should show up in the log:
AttributeError: 'Process' object has no attribute 'set_ionice'
and can be patched out in mythburn.py

> The probe info looks ok to me. Can anybody see anything
> Thanks
> James
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org